Differences between revisions 1 and 2
Revision 1 as of 2003-04-02 10:04:16
Size: 50
Editor: palcsn01
Comment:
Revision 2 as of 2003-04-02 10:11:15
Size: 1251
Editor: palcsn01
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

IMQ was the solution: http://luxik.cdi.cz/~patrick/imq/index.html

To install the IMQ Patch (from the FAQ):

you don't want to compile iptables: (no, you don't)
Get the combo patch and the precompiled shared libs matching your iptables version (iptables -V).

# cd /usr/src/linux
# patch -p1 <../imq-2.4.18.diff-combo-6
-- find where iptables keeps its shared libraries (/lib/iptables and /usr/lib/iptables is common) --
# tar xvzf libipt_IMQ-1.2.6a.tar.gz -C /lib/iptables


this is common for both methods:
# cd /usr/src/linux
# make menuconfig

You will have three new options:
Networking options ---> IP: Netfilter Configuration --->IMQ target support
Networking options ---> IPv6: Netfilter Configuration --->IMQ target support
Network device support --->IMQ (intermediate queueing device) support

Choose at least one of the targets and the device itself.
Netfilter debugging should be turned off, otherwise cou get lots of annoying messages.

# make dep modules bzImage modules_install
 

Here's my .config file that I used to compile my kernel. It's a pretty stock 2.4.20 kernel, patched with the IMQ patch, as noted here:
http://attachment:config-2.4.20-imq

Here we go loop de loo here we go loop de lai...

IMQ was the solution: http://luxik.cdi.cz/~patrick/imq/index.html

To install the IMQ Patch (from the FAQ):

you don't want to compile iptables: (no, you don't) Get the combo patch and the precompiled shared libs matching your iptables version (iptables -V).

# cd /usr/src/linux # patch -p1 <../imq-2.4.18.diff-combo-6 -- find where iptables keeps its shared libraries (/lib/iptables and /usr/lib/iptables is common) -- # tar xvzf libipt_IMQ-1.2.6a.tar.gz -C /lib/iptables

this is common for both methods: # cd /usr/src/linux # make menuconfig

You will have three new options: Networking options ---> IP: Netfilter Configuration --->IMQ target support Networking options ---> IPv6: Netfilter Configuration --->IMQ target support Network device support --->IMQ (intermediate queueing device) support

Choose at least one of the targets and the device itself. Netfilter debugging should be turned off, otherwise cou get lots of annoying messages.

# make dep modules bzImage modules_install

Here's my .config file that I used to compile my kernel. It's a pretty stock 2.4.20 kernel, patched with the IMQ patch, as noted here: http://attachment:config-2.4.20-imq

BandwidthShaping (last edited 2007-11-23 18:02:45 by localhost)