Skip to contentSkip to conversation

tc on slackware

LARTC Zealous 3 participants 3 messages May 30, 2003

lore
Share & tools
lore

Zealous

author
#0 lore raw

Hi friends
I was using redhat bfore and tc was working fine
but when i migrated to slackware
my verison is slackware 8.1

when i m giving below command.

root@Rock:~# tc qdisc add dev eth1 
RTNETLINK answers: Invalid argument

Y it is giving me this error RTNETLINK ANSWERS: INVALID ARGUMENT ...

where m i wrong?
plz help
joel

#1 lore raw

Hello Zealous Joel!

: I was using redhat bfore and tc was working fine : but when i migrated to slackware
: my verison is slackware 8.1

What release of iproute2 are you using? (I like the most current release, now-020116-try [1], and have had good luck with it.)

: when i m giving below command.
: root@Rock:~# tc qdisc add dev eth1
: RTNETLINK answers: Invalid argument

This looks like a rather incomplete command to me. What sort of qdisc are you adding? If you are attempting to use HTB and are using the stock iproute2 distribution (see [1]), then you'll need Devik's patch. You can find this patch in the HTB distribution [2].

: Y it is giving me this error RTNETLINK ANSWERS: INVALID ARGUMENT ...

Probably because you didn't feed it enough boiled brambles. Software is terribly willful despite its inanimateness, you know.

Ciao for now,

-Martin

[1] ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.4.7-now-ss020116-try.tar.gz
[2] http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz

Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Zealous
Quoted 8 lines · Zealous

Hi friends
I was using redhat bfore and tc was working fine
but when i migrated to slackware
my verison is slackware 8.1
when i m giving below command.

root@Rock:~# tc qdisc add dev eth1
RTNETLINK answers: Invalid argument
Y it is giving me this error RTNETLINK ANSWERS: INVALID ARGUMENT ...

I bet you havent insert QoS modules in your kernel, because you are using default kernel from slackware instalation disc.

Please make sure QoS modules loaded first..

Regards,
Rio Martin.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/