Skip to contentSkip to conversation

How do i check HTB enabled or not

LARTC hare ram 3 participants 3 messages Nov 27, 2002

lore
Share & tools
lore
#1 lore raw
Quoted 10 lines · hare ram

Hi

i have Redhat Linux 8.0
when iam trying to configure htb
iam getting following error
any clue

[root@pdn root]# tc qdisc add dev eth0 root handle 1: htb default 12 Unknown qdisc "htb", hence option "default" is unparsable

I'm running 8.0 with kernel 2.4.18-18 htb is ok in the kernel, but the tc command isn't the correct version.
Have you got the kernel source installed?

/usr/src/linux-2.4.18-18.8.0/net/sched/sch_htb.c has the following version stamp.
* $Id: sch_htb.c,v 1.13 2002/05/25 09:04:50 devik Exp $

Grab an updated version of the "tc" binary from
http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz

I was expecting a recompile but it wasn't necessary.

Signature · 6 lines
NAME    :	Adam Allen.
EMAIL   :	[email protected]

COMMENT :	~~~~ insert your favourite signature comment here ~~~~

PGP     :	http://search.keyserver.net:11371/pks/lookup?op=vindex&search=adam%40dynamicinteraction.co.uk
#2 lore raw
In reply to hare ram
Quoted 9 lines · hare ram

Hi

i have Redhat Linux 8.0
when iam trying to configure htb
iam getting following error
any clue

[root@pdn root]# tc qdisc add dev eth0 root handle 1: htb default 12 Unknown qdisc "htb", hence option "default" is unparsable

Redhat has htb support in the kernel, but not in the tc command. So download the one from the htb webpage, or download the iproute2 code, patch it and compile it.

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/