wondershaper.htb problem
hi there,
this is my 1st message in the list.
I would like to use this wondershaper.htb to limit the bandwith usage at home.
My kernel config is:
# QoS and/or fair queueing
#CONFIG_NET_SCHED=yCONFIG_NET_SCH_CBQ=yCONFIG_NET_SCH_HTB=yCONFIG_NET_SCH_CSZ=yCONFIG_NET_SCH_HFSC=yCONFIG_NET_SCH_PRIO=yCONFIG_NET_SCH_RED=yCONFIG_NET_SCH_SFQ=yCONFIG_NET_SCH_TEQL=yCONFIG_NET_SCH_TBF=yCONFIG_NET_SCH_GRED=yCONFIG_NET_SCH_DELAY=yCONFIG_NET_SCH_DSMARK=yCONFIG_NET_SCH_INGRESS=yCONFIG_NET_QOS=yCONFIG_NET_ESTIMATOR=yCONFIG_NET_CLS=yCONFIG_NET_CLS_TCINDEX=yCONFIG_NET_CLS_ROUTE4=yCONFIG_NET_CLS_ROUTE=yCONFIG_NET_CLS_FW=yCONFIG_NET_CLS_U32=yCONFIG_NET_CLS_RSVP=yCONFIG_NET_CLS_RSVP6=yCONFIG_NET_CLS_POLICE=y
I've got the iproute package (in debian woody according to the changelog, there is support for htb).
When I try to use the wondershaperscript with the -x flag for verbosity I get the following:
+ DOWNLINK00
+ UPLINK00
+ DEV=ppp0
+ NOPRIOHOSTSRC+ NOPRIOHOSTDST+ '[' start = status ']'
+ tc qdisc del dev ppp0 root
+ tc qdisc del dev ppp0 ingress
+ '[' start = stop ']'
+ tc qdisc add dev ppp0 root handle 1: htb default 30
RTNETLINK answers: Invalid argument
+ tc class add dev ppp0 parent 1: classid 1:1 htb rate 300kbit burst 6k RTNETLINK answers: No such file or directory
+ tc class add dev ppp0 parent 1:1 classid 1:10 htb rate 300kbit burst 6k prio 1 RTNETLINK answers: No such file or directory
+ tc class add dev ppp0 parent 1:1 classid 1:20 htb rate 150kbit ceil 80kbit burst 6k prio 2
and more lines similar to those ones. So most things go ok but I do not understand the RTNETLINK lines. Is that ok? I could not find an answer in google.
I also see in dmsg this:
HTB init, kernel part version 3.16
HTB: need tc/htb version 3 (minor is 16), you have 10
And I do not know where I can get another version of this for debian woody.
I am sure this is a FAQ, but I could not find the answer, I am sorry :(
Greetings,
N.Asenjo
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Am Thursday 13 May 2004 19:38 schrieb Natxo Asenjo:
Quoted 2 lines
+ tc qdisc add dev ppp0 root handle 1: htb default 30 RTNETLINK answers: Invalid argument
Wrong tc.
Quoted 5 lines
HTB init, kernel part version 3.16
HTB: need tc/htb version 3 (minor is 16), you have 10And I do not know where I can get another version of this for debian woody.
From the HTB homepage. Both patch and binary are available.
http://luxik.cdi.cz/~devik/qos/htb/
HTH
Andreas
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 5 lines · Andreas Klauer
Am Thursday 13 May 2004 19:38 schrieb Natxo Asenjo:
Quoted 2 lines
+ tc qdisc add dev ppp0 root handle 1: htb default 30 RTNETLINK answers: Invalid argument
Wrong tc.
yes, I thought so :)
Quoted 8 lines
Quoted 7 lines
HTB init, kernel part version 3.16
HTB: need tc/htb version 3 (minor is 16), you have 10And I do not know where I can get another version of this for debian woody.
From the HTB homepage. Both patch and binary are available.
ok, I had already tried the tc binary for htb2 code, but it obviously did not work. Now I have the good one for htb3, all is fine.
Thanks,
N.Asenjo
Quoted 6 lines
HTH
Andreas
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/