Skip to contentSkip to conversation

HTB & tc

LARTC [email protected] 3 participants 3 messages Jan 22, 2003 – Jul 22, 2004

lore
Share & tools
lore
#0 lore raw

Check if you have HTB support in your kernel.
it must be in kernel/net/sched
----- Original Message -----
From: "Antonin Karasek" <[email protected]>
To: <[email protected]>
Sent: Thursday, July 22, 2004 6:58 PM
Subject: [LARTC] HTB & tc

Quoted 10 lines

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
Quoted 6 lines

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

:

Quoted 5 lines
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
Quoted 8 lines

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 / [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/

#1 lore raw

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to [email protected]

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

Quoted 21 lines · Antonin Karasek

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
Quoted 9 lines

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 / [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/