Re: [LARTC] Kernel config for HTB

2002-11-23 Thread Ivo De Decker
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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



Re: [LARTC] Kernel config for HTB

2002-11-22 Thread Marc-Christian Petersen
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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



Re: [LARTC] Kernel config for HTB

2002-11-22 Thread Stef Coene
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

-- 

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



Re: [LARTC] Kernel config for HTB

2002-11-22 Thread Benjamin Goedeke
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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/