HOWTO: The Wonder Shaper + Netmeter
Postat: 08 jul 2007, 11:49
The Wonder Shaper
http://packages.ubuntu.com/feisty/net/wondershaper
Gammalt som gatan, men funkar nog ändå. Här är en guide:
wondershaper is an easy to use traffic shaping script that provides these improvements:
* Low latency for interactive traffic (and pings) at all times
* Allow websurfing at reasonable speeds while uploading / downloading
* Make sure uploads don't hurt downloads
* Make sure downloads don't hurt uploads
official webpage :
http://lartc.org/wondershaper
about the ubuntu package :
http://packages.ubuntu.com/feisty/net/wondershaper
/usr/share/doc/wondershaper contains readme files. You might want to read these also.
I'm using firestarter together with wondershaper. Nothing has to be changed to firestarter.
So here we go :
use ifconfig to determine which of your networkcards is the one that is connected to your modem (and thus the internet).
the networkcard that has your normal ip adress is the one (not 192.168.x.x)
Go to a speedtesting website (for example a speedtesting website by your internet provider or <a class="postlink" href="http://www.speedtest.nl">http://www.speedtest.nl</a> if you live in the netherlands) and determine your average upload and download speed. Use these speeds as a guide.
Speeds are in kilobits per second
download a big and uncompressable file while pinging to a fast and stable server on the internet or to your modem and adjust your downspeed until you are satisfied :
Now do the same with uploading a big and uncompressable file.
You have to tweak these settings a while until you are satisfied. When you are ready you can make these connection settings permanent by :
add these lines under eth1 if eth1 is your internetconnection. Change eth1,upspeed and downspeed to your settings.
And we are done!
Netmeter:
Installera WineHQ (hjälp här)
ta hem netmeter
installera netmeter med Wine och programmet ska funka.
här ser du vad som har testat:
http://appdb.winehq.org/appview.php?iVersionId=5626
http://packages.ubuntu.com/feisty/net/wondershaper
Gammalt som gatan, men funkar nog ändå. Här är en guide:
wondershaper is an easy to use traffic shaping script that provides these improvements:
* Low latency for interactive traffic (and pings) at all times
* Allow websurfing at reasonable speeds while uploading / downloading
* Make sure uploads don't hurt downloads
* Make sure downloads don't hurt uploads
official webpage :
http://lartc.org/wondershaper
about the ubuntu package :
http://packages.ubuntu.com/feisty/net/wondershaper
/usr/share/doc/wondershaper contains readme files. You might want to read these also.
I'm using firestarter together with wondershaper. Nothing has to be changed to firestarter.
So here we go :
Kod: Markera allt
sudo apt-get install wondershaper
Kod: Markera allt
ifconfig
Go to a speedtesting website (for example a speedtesting website by your internet provider or <a class="postlink" href="http://www.speedtest.nl">http://www.speedtest.nl</a> if you live in the netherlands) and determine your average upload and download speed. Use these speeds as a guide.
Speeds are in kilobits per second
Kod: Markera allt
sudo wondershaper eth1 downspeed upspeed
Kod: Markera allt
sudo wondershaper eth1 downspeed upspeed
You have to tweak these settings a while until you are satisfied. When you are ready you can make these connection settings permanent by :
Kod: Markera allt
sudo pico /etc/network/interfaces
Kod: Markera allt
up /sbin/wondershaper eth1 downspeed upspeed
down /sbin/wondershaper clear eth1
Netmeter:
Installera WineHQ (hjälp här)
ta hem netmeter
installera netmeter med Wine och programmet ska funka.
här ser du vad som har testat:
http://appdb.winehq.org/appview.php?iVersionId=5626