I'm using firestarter together with wondershaper. Nothing has to be changed to firestarter.

So here we go :
sudo apt-get install wondershaper

use ifconfig to determine which of your networkcards is the one that is connected to your modem (and thus the internet).

$ifconfig

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 www.speedtest.nl if you live in the netherlands) and determine your average upload and download speed. Use these speeds as a guide.

$sudo wondershaper eth1 downspeed upspeed

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 :

$sudo wondershaper eth1 downspeed upspeed

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 :

$ sudo pico /etc/network/interfaces

add these lines under eth1 if eth1 is your internetconnection. Change eth1,upspeed and downspeed to your settings.

Re: HOWTO improving your internet connection using wondershaper

I just installed that on my suse gateway and I found that the suse package is much more complete as usual (sadly) it has a /etc/sysconfig/wondershaper config file and an /etc/init.d/wondershaper. You edit the config and add the service.
I think ubuntu should learn (and copy) this way of packaging stuff.

Re: HOWTO improving your internet connection using wondershaper

Originally Posted by soul_rebel

I just installed that on my suse gateway and I found that the suse package is much more complete as usual (sadly) it has a /etc/sysconfig/wondershaper config file and an /etc/init.d/wondershaper. You edit the config and add the service.
I think ubuntu should learn (and copy) this way of packaging stuff.

any chance to define the upload speed for a specific application?
I found a tool for doing it, it's called trickle. But somehow it consumed too much ressource with some p2p tools

Re: HOWTO improving your internet connection using wondershaper

any chance to define the upload speed for a specific application?
I found a tool for doing it, it's called trickle. But somehow it consumed too much ressource with some p2p tools

wondershaper is nice because it's very easy

The best solution is writing your own rules. (A script to set up iptables filter+mangler and using tc do traffic shaping just like you want it) It isn't very hard. I'm reading about it and if I have succeeded I'll probably make an HOWTO.

Re: HOWTO improving your internet connection using wondershaper

Maybe I'll write my own Ubuntu howto in the future. I first need to learn about it

I agree with demon, that is one brillaint HOWTO. Also been scouring for a while to find a good one and thats so far the best. As long as you get all the software installed it's doesn't matter if it's gentoo or not, will work on all distros. Thanks for the link!

Re: HOWTO improving your internet connection using wondershaper

Originally Posted by psypher

I agree with demon, that is one brillaint HOWTO. Also been scouring for a while to find a good one and thats so far the best. As long as you get all the software installed it's doesn't matter if it's gentoo or not, will work on all distros. Thanks for the link!