Difference between revisions of "Limit bandwidth"

(Created page with "Category:Linux Sometimes you might want to block (restrict) your bandwidth. =Install= <syntaxhighlight lang="bash"> sudo apt-get install wondershaper </syntaxhighlight...")
(No difference)

Revision as of 19:09, 17 August 2015


Sometimes you might want to block (restrict) your bandwidth.


Install

sudo apt-get install wondershaper


Set the limit

In terminal find out what is the name of the interface connected to your internet by using ifconfig.

# wondershaper [interface] [downlink] [uplink]

sudo wondershaper eth0 1024 256
  • Download speed 128KB = 1024 Kbits
  • Upload speed 32KB = 256 Kbits

NOTE: That will limit ANYTHING in your PC, for example the torrent downloader, firefox, Samba, etc..

Other values

  • 1024KB = 8192Kbits


Clear settings

sudo wondershaper clear eth0