First install wondershper before using any of the command mentioned below also, you need to be root.
1) Use ifconfig to determine which of your networkcards is connected to internet.
# ifconfig
2) Time to shape the bandwidth--
# wondershaper
Where interface name is your network interface name like eth0 or eth1 or wifi0 and down speed , up speed are specified in kilo bits per second.
So sample command will look like
# wondershaper eth0 128 64
3) To disable wondershaper from controlling particular interface use following command.
# wondershaper clear eth0
4) To make these changes permanent add following lines to network file
up /sbin/wondershaper
down /sbin/wondershaper clear





1 comments:
Post a Comment