On Monday 21 October 2002 22:59, Ciprian Niculescu wrote:
> Stef Coene wrote:
> > On Monday 21 October 2002 00:52, Ciprian Niculescu wrote:
> >>i compile the $subj, and found the htb qdisc in it, what version is it??
> >
> > I don't use redhat, but I'm sure there is a sch_sfq.s file in the kernel
> > tree where you can find the version information (HTB_VER). If you load
> > the module or compile htb in the kernel and use it, there is also a
> > report in dmesg about the htb version.
>
> * $Id: sch_htb.c,v 1.13 2002/05/25 09:04:50 devik Exp $
>
> #define HTB_VER 0x30006 /* major must be matched with number suplied by
> TC as version */
That's version 3.6, the latest version.
> no mesage in dmesg
>
> >>the tc from redhat knows about htb???
> >
> > Don't know, but if they have support in the kernel for htb, tc will have
> > it too.
>
> tc qdisc add dev eth0 handle 1: root htb default 6
> Unknown qdisc "htb", hence option "default" is unparsable
>
> and it's compiled in kernel, not module
You miss support for htb in the tc command. There is a binary on the homepage
of htb, or you can download the iproute2 src + the patch from the homepage of
htb and create your own binary.
Stef
--
[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/