To limit internet bandwidth on a Ubuntu machine install wondershaper. For this open a terminal and type following command:
sudo apt-get install wondershaperNow use ifconfig command to find out the name of interface connected to internet. The name will be something like eth0, eth1, wlan0 or something similar. In my case it is eth0
Now issue a command similar to follwoing (relpacing eth0 with your interface name):
sudo wondershaper eth0 1024 256this will limit the download speed to 1024 Kbps and upload to 256 Kbps. Remember that this limit is for all internet traffic i.e torrent, ftp, browsing and any thing else.
If you want to remove these limits use
sudo wondershaper clear eth0again replacing eth0 with your interface name
1 comment:
Aslaam o alaikum bhai g how can we block torrent on network.
internet is shared from my pc.
And second thin, i am using kubuntu 11.04 and using ptcl evo, it installs the device make the connectin but don't connect it.
Please guide me about that why the device is not connected.
Post a Comment