Check if you have HTB support in your kernel. it must be in kernel/net/sched ----- Original Message ----- From: "Antonin Karasek" <lists@ceskyserver.cz> To: <lartc@mailman.ds9a.nl> Sent: Thursday, July 22, 2004 6:58 PM Subject: [LARTC] HTB & tc> Hi, > I''m trying to make run a simple shaping *through HTB*. I have compiled a > new kernel 2.4.21. > > First command from > http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm > said: > # tc qdisc add dev eth0 root handle 1: htb default 12 > RTNETLINK answers: Invalid argument > > I tryed both standard tc from Debian stable and > http://luxik.cdi.cz/~devik/qos/htb/v2/tc.gz > this one... > > I tryed htb.init-v0.8.5 from SourceForge with htb-lartc.tar.gz > configuration from the same site. The script doesn''t report any error, but:> skatach:~/bin# ./htb.init-v0.8.5 start > skatach:~/bin# tc filter show dev eth0 > skatach:~/bin# tc class show dev eth0 > skatach:~/bin# tc qdisc show > > As I guess, it means, that there isn''t any class. It isn''t, what I want :( > > Any ideas, where the problem can be? > > Many thanks. > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi, I''m trying to make run a simple shaping *through HTB*. I have compiled a new kernel 2.4.21. First command from http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm said: # tc qdisc add dev eth0 root handle 1: htb default 12 RTNETLINK answers: Invalid argument I tryed both standard tc from Debian stable and http://luxik.cdi.cz/~devik/qos/htb/v2/tc.gz this one... I tryed htb.init-v0.8.5 from SourceForge with htb-lartc.tar.gz configuration from the same site. The script doesn''t report any error, but : skatach:~/bin# ./htb.init-v0.8.5 start skatach:~/bin# tc filter show dev eth0 skatach:~/bin# tc class show dev eth0 skatach:~/bin# tc qdisc show As I guess, it means, that there isn''t any class. It isn''t, what I want :( Any ideas, where the problem can be? Many thanks. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
OT: Dudes, why i have to reedit To field and delete CC field, gmail see this as spam Now, make sure you compiled the kernel with htb, latest stable kernel is 2.4.26 or 2.6.7 On Thu, 22 Jul 2004 19:58:40 +0200, Antonin Karasek <lists@ceskyserver.cz> wrote:> Hi, > I''m trying to make run a simple shaping *through HTB*. I have compiled a > new kernel 2.4.21. > > First command from > http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm > said: > # tc qdisc add dev eth0 root handle 1: htb default 12 > RTNETLINK answers: Invalid argument > > I tryed both standard tc from Debian stable and > http://luxik.cdi.cz/~devik/qos/htb/v2/tc.gz > this one... > > I tryed htb.init-v0.8.5 from SourceForge with htb-lartc.tar.gz > configuration from the same site. The script doesn''t report any error, but : > skatach:~/bin# ./htb.init-v0.8.5 start > skatach:~/bin# tc filter show dev eth0 > skatach:~/bin# tc class show dev eth0 > skatach:~/bin# tc qdisc show > > As I guess, it means, that there isn''t any class. It isn''t, what I want :( > > Any ideas, where the problem can be? > > Many thanks. > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/