lartc.org : Linux Advanced Routing & Traffic Control
(Answer) (Category) lartc.org FAQ :
Getting everything you need for htb support
You need a tc binary with htb support (you can use this one if you don't want to compile your own.) This is compiled with kernel 2.4.19, iproute2-2.4.7-now-ss020116-try.tar.gz and htb 3.6. If also works with kernel 2.4.20. You can also compile your own tc binary if you download the iproute2 source and the needed htb patches

Htb is included in kernel 2.4.20. If you use an older kernel, you have to patch the kernel souce. Patches can be found on the HTB homepage.
htb homepage


Check to see if you have an HTB enabled kernel:

grep htb_qdisc_ops /proc/ksyms
Executed on my router :
$ grep htb_qdisc_ops /proc/ksyms
d0aa8e00 htb_qdisc_ops  [sch_htb]

stef.coene@docum.org
For help obtaining and building iproute2, see http://www.linuxgrill.com/iproute2.doc.html#ss9.0
[Append to This Answer]
Previous: (Answer) What do I need to shape traffic ?
Next: (Answer) General shaping rules
This document is: http://qos.dyndns.org:3389/cgi-bin/fom?file=8
[Search] [Appearance]
This is a Faq-O-Matic 2.719.