Backtrack Interface Slowdown

Found this over here -> http://moonpie.org/?p=36
This little tidbit of information may not ever be used in the days of ever expanding bandwidth.  On the other hand, this can be the difference between an accidental DoS, and a happy client.

  • tc qdisc add dev eth0 root tbf rate 128kbps latency 50ms burst 1540

Lets take a look at it working!  The connection I am currently on:

Full Speed Ahead!

Now lets run our command, and slow our connection down to the 128kbps listed above.

Going the speed limit

Notice the large drop in upload speed.  Now lets do it again, but lets go down from 128 to 56kbps.
SLOOOOOW

I tried to slow down to 28kbps, but speedtest.net failed to run at that speed.

Reverting


To switch your connection back to full speed, use the following command: tc qdisc del dev eth0 root

Comments are closed