Skip to contentSkip to conversation

CBQ and HTB Support

LARTC Fahad 6 participants 7 messages May 22, 2003

lore
Share & tools
lore
#1 lore raw
Quoted 2 lines · Fahad

Hi all , does Kernel 2.4 supports CBQ and HTB by default or we have to recompile it.

you've got to have 2.4.20 to have htb in stock kernel. CBQ is available since a long time.

Signature · 2 lines
Eric Leblond <[email protected]>
Regit.org
#2 lore raw
In reply to Fahad

You HAVE to recompile it, this is recommended man.

-----Original Message-----
From: Fahad [mailto:[email protected]]
Sent: Thursday, May 22, 2003 5:53 PM
To: [email protected]
Subject: [LARTC] CBQ and HTB Support

Hi all , does Kernel 2.4 supports CBQ and HTB by default or we have to recompile it.

Regards
Fahad Khan

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

author
#3 lore raw
In reply to Fahad

Any straight forward procedure or any website where i can find necessary procedure to recompile , which modules to select etc ...

----- Original Message -----
From: "Blagoy Genadiev" <[email protected]>
To: "Fahad" <[email protected]>; <[email protected]>
Sent: Thursday, May 22, 2003 8:01 PM
Subject: RE: [LARTC] CBQ and HTB Support

You HAVE to recompile it, this is recommended man.

-----Original Message-----
From: Fahad [mailto:[email protected]]
Sent: Thursday, May 22, 2003 5:53 PM
To: [email protected]
Subject: [LARTC] CBQ and HTB Support

Hi all , does Kernel 2.4 supports CBQ and HTB by default or we have to recompile it.

Regards
Fahad Khan

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#4 lore raw
In reply to Fahad
Quoted 2 lines · Fahad

Any straight forward procedure or any website where i can find necessary procedure to recompile , which modules to select etc ...

There is an excellent kernel howto. Just do a google search for it. For the needed options, enable everything in the QOS menu. You can use modules or compile everything in the kernel.
But it's possible that your distribution has a precompiled kernel for you with all needed options.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#5 lore raw
In reply to Fahad

Hi Fahad.

Its very easy, Download (if you dont have it allready) Linux Kernel
2.4.20
get it here:
http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.gz

and Uncompress at /usr/src with :
#tar zxvf Linux-kernel-2.4.20

Install Woody Package Iproute2 (on Debian/linux)
#apt-get install iproute

Replace your command /sbin/tc
with the one from Stefs page
http://www.docum.org/stef.coene/qos/download/tc
->Which has htb3 support compiled within

Patch the kernel with the following : BUT ONLY!! if you want to make use of the ESFQ:
Youe can get it here http://www.ssi.bg/~alex/esfq/esfq-0.2-2.4.18.tar.gz

Choos the following options in the kernel Menue :

Networking options --->
Kernel/User netlink socket
Network packet filtering (replaces ipchains)
IP: Netfilter Configuration --->
IP tables support (required for filtering/masq/NAT) LENGTH match support
MARK target support
QoS and/or fair queueing --->
SELECT EVERYTHING HERE

Then do a
#make modules;make modules_install;make dep;make clean;make bzlilo

reboot and your done!

Good luck

Osgaldo

----- Original Message -----
From: "Fahad" <[email protected]>
To: "Blagoy Genadiev" <[email protected]>; <[email protected]>
Sent: Thursday, May 22, 2003 5:11 PM
Subject: Re: [LARTC] CBQ and HTB Support

Quoted 28 lines

Any straight forward procedure or any website where i can find necessary procedure to recompile , which modules to select etc ...

----- Original Message -----
From: "Blagoy Genadiev" <[email protected]>
To: "Fahad" <[email protected]>; <[email protected]>
Sent: Thursday, May 22, 2003 8:01 PM
Subject: RE: [LARTC] CBQ and HTB Support

You HAVE to recompile it, this is recommended man.

-----Original Message-----
From: Fahad [mailto:[email protected]]
Sent: Thursday, May 22, 2003 5:53 PM
To: [email protected]
Subject: [LARTC] CBQ and HTB Support

Hi all , does Kernel 2.4 supports CBQ and HTB by default or we have to recompile it.

Regards
Fahad Khan

Quoted 7 lines

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#6 lore raw
In reply to Fahad
Quoted 10 lines · Osgaldo Suanzes

Hi Fahad.

Its very easy, Download (if you dont have it allready) Linux Kernel
2.4.20
get it here:
http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.gz

and Uncompress at /usr/src with :
#tar zxvf Linux-kernel-2.4.20

Quoted 7 lines

Install Woody Package Iproute2 (on Debian/linux)
#apt-get install iproute

Replace your command /sbin/tc
with the one from Stefs page
http://www.docum.org/stef.coene/qos/download/tc
->Which has htb3 support compiled within

If using testing/sid ... iproute2 is already ok for HTB 3.x

Luc
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/