* [LARTC] Kernel config for HTB
@ 2002-11-22 17:00 Benjamin Goedeke
2002-11-22 17:07 ` Marc-Christian Petersen
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Benjamin Goedeke @ 2002-11-22 17:00 UTC (permalink / raw)
To: lartc
Hello all,
Reading through the list I realize that most of what you people talk
about is way over my head... But I'm trying. I'm new to all this traffic
shaping thing and I'm stuck at the very beginning: I'm trying to
configure my kernel so I can set up a HTB on my ppp0 interface.
I'm running Debian sarge and have iproute2 installed (2.4.7). I
downloaded kernel 2.4.20-rc2 which includes the HTB code. Now I gathered
that I need to enable CONFIG_NETLINK and CONFIG_RTNETLINK among other
options. However, for the life of mine I can't find these options. Even
when I grep through the .config file they don't show up. I see
CONFIG_NETLINK_DEV but that's it. And when I want to set up a qdisc on
ppp0, for instance
tc qdisc add dev ppp0 root handle 1:0 htb default 5
all I get is
HTB init, kernel part version 3.7
HTB: need tc/htb version 3 (minor is 7), you have 10
"RTNETLINK answers: Invalid argument"
Can anyone please point me to the relevant section in menuconfig to
enable the CONFIG_*NETLINK options
Thanks,
Ben
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Kernel config for HTB
2002-11-22 17:00 [LARTC] Kernel config for HTB Benjamin Goedeke
@ 2002-11-22 17:07 ` Marc-Christian Petersen
2002-11-22 17:39 ` Stef Coene
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Marc-Christian Petersen @ 2002-11-22 17:07 UTC (permalink / raw)
To: lartc
On Friday 22 November 2002 18:00, Benjamin Goedeke wrote:
Hi Benjamin,
> tc qdisc add dev ppp0 root handle 1:0 htb default 5
> all I get is
> HTB init, kernel part version 3.7
> HTB: need tc/htb version 3 (minor is 7), you have 10
> "RTNETLINK answers: Invalid argument"
wrong tc version :)
> Can anyone please point me to the relevant section in menuconfig to
> enable the CONFIG_*NETLINK options
CONFIG_NETLINK does not exist anylonger on any 2.4 kernel. 2.2 have this
config option.
Download this: http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz
extract it, you'll see a "tc" binary. Do a "mv ./tc /sbin" and try the above
again and you'll see that it works :) ... That binary has the needed patches
for tc already applied to use HTB.
have fun :)
--
Kind regards
Marc-Christian Petersen
http://sourceforge.net/projects/wolk
PGP/GnuPG Key: 1024D/569DE2E3DB441A16
Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16
Key available at www.keyserver.net. Encrypted e-mail preferred.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Kernel config for HTB
2002-11-22 17:00 [LARTC] Kernel config for HTB Benjamin Goedeke
2002-11-22 17:07 ` Marc-Christian Petersen
@ 2002-11-22 17:39 ` Stef Coene
2002-11-22 17:49 ` Benjamin Goedeke
2002-11-23 8:57 ` Ivo De Decker
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2002-11-22 17:39 UTC (permalink / raw)
To: lartc
On Friday 22 November 2002 18:00, Benjamin Goedeke wrote:
> Hello all,
>
> Reading through the list I realize that most of what you people talk
> about is way over my head... But I'm trying. I'm new to all this traffic
> shaping thing and I'm stuck at the very beginning: I'm trying to
> configure my kernel so I can set up a HTB on my ppp0 interface.
>
> I'm running Debian sarge and have iproute2 installed (2.4.7). I
> downloaded kernel 2.4.20-rc2 which includes the HTB code. Now I gathered
> that I need to enable CONFIG_NETLINK and CONFIG_RTNETLINK among other
> options. However, for the life of mine I can't find these options. Even
> when I grep through the .config file they don't show up. I see
> CONFIG_NETLINK_DEV but that's it. And when I want to set up a qdisc on
> ppp0, for instance
You need to enable CONFIG_NETLINK_DEV option. And all the options under "QoS
and/or fair queueing" menu.
> tc qdisc add dev ppp0 root handle 1:0 htb default 5
>
> all I get is
>
> HTB init, kernel part version 3.7
> HTB: need tc/htb version 3 (minor is 7), you have 10
> "RTNETLINK answers: Invalid argument"
Have you patched tc so you have htb support? I don't know if the tc command
that comes with debian has htb support.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Kernel config for HTB
2002-11-22 17:00 [LARTC] Kernel config for HTB Benjamin Goedeke
2002-11-22 17:07 ` Marc-Christian Petersen
2002-11-22 17:39 ` Stef Coene
@ 2002-11-22 17:49 ` Benjamin Goedeke
2002-11-23 8:57 ` Ivo De Decker
3 siblings, 0 replies; 5+ messages in thread
From: Benjamin Goedeke @ 2002-11-22 17:49 UTC (permalink / raw)
To: lartc
On Fri, 2002-11-22 at 18:07, Marc-Christian Petersen wrote:
> Download this: http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz
>
> extract it, you'll see a "tc" binary. Do a "mv ./tc /sbin" and try the above
> again and you'll see that it works :) ... That binary has the needed patches
> for tc already applied to use HTB.
Yes, it works indeed.
>
> have fun :)
>
I will.
Thanks a bunch,
Ben
--
Your fortune cookie for today:
BOFH excuse #271:
The kernel license has expired
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Kernel config for HTB
2002-11-22 17:00 [LARTC] Kernel config for HTB Benjamin Goedeke
` (2 preceding siblings ...)
2002-11-22 17:49 ` Benjamin Goedeke
@ 2002-11-23 8:57 ` Ivo De Decker
3 siblings, 0 replies; 5+ messages in thread
From: Ivo De Decker @ 2002-11-23 8:57 UTC (permalink / raw)
To: lartc
On Fri, Nov 22, 2002 at 06:39:09PM +0100, Stef Coene wrote:
> Have you patched tc so you have htb support? I don't know if the tc command
> that comes with debian has htb support.
The tc command that comes with debian woody (the current stable distribution)
has htb support, but unfortunately it is for the old htb version.
It seems unlikely that this will change soon (new version are normally not
introduced in stable).
This has allready been reported:
http://bugs.debian.org/167149
The unstable distribution could include an updated version in the near future
(but as far as I can tell, this isn't the case yet).
Greetings,
Ivo De Decker
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-11-23 8:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-22 17:00 [LARTC] Kernel config for HTB Benjamin Goedeke
2002-11-22 17:07 ` Marc-Christian Petersen
2002-11-22 17:39 ` Stef Coene
2002-11-22 17:49 ` Benjamin Goedeke
2002-11-23 8:57 ` Ivo De Decker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.