Skip to contentSkip to conversation

wondershaper problem

LARTC Kristoffer Ottosson 2 participants 2 messages Sep 22, 2002 – Sep 24, 2002

lore
Share & tools
lore
#0 lore raw

Hi

I have two lucent wlancards and one 3com ethernet card running on my box.
I'm running routing tables with iproute2 in order to route all the packets correctly ... Now I wonder, I should be able to use wondershaper on top of this, right?

When I try to run wondershaper, it does nothing, and gives me lots of error messages ... The beginning of them are quoted here (output with -x activated in the beginning of the script):
+ DOWNLINK=1024
+ UPLINK=1024
+ DEV=eth1
+ NOPRIOHOSTSRC=80
+ NOPRIOHOSTDST=
+ NOPRIOPORTSRC=
+ NOPRIOPORTDST=
+ '[' '' = status ']'
+ tc qdisc del dev eth1 root
+ tc qdisc del dev eth1 ingress
+ '[' '' = stop ']'
+ tc qdisc add dev eth1 root handle 1: cbq avpkt 1000 bandwidth 10mbit
RTNETLINK answers: Invalid argument
+ tc class add dev eth1 parent 1: classid 1:1 cbq rate 1024kbit allot 1500 prio 5 bounded isolated RTNETLINK answers: Invalid argument
+ tc class add dev eth1 parent 1:1 classid 1:10 cbq rate 1024kbit allot 1600 prio 1 avpkt 1000 RTNETLINK answers: Invalid argument
+ tc class add dev eth1 parent 1:1 classid 1:20 cbq rate 921kbit allot 1600 prio 2 avpkt 1000 RTNETLINK answers: Invalid argument
+ tc class add dev eth1 parent 1:1 classid 1:30 cbq rate 819kbit allot 1600 prio 2 avpkt 1000 RTNETLINK answers: Invalid argument

and so it continues on every single command-line wondershaper tried to type in. anybody have a clue, I would be grateful

/Snowi3

#1 lore raw
Quoted 6 lines · Kristoffer Ottosson

Hi

I have two lucent wlancards and one 3com ethernet card running on my box. I'm running routing tables with iproute2 in order to route all the packets correctly ... Now I wonder, I should be able to use wondershaper on top of this, right?

Are you sure you have all the needed options in the kernel?

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/