Gianluca \"acid_burn\" D'Andrea wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all! > > when I activate wondershaper on my dsl connection (pppoa vc mux), i get > three errors: > > # sh -x /usr/sbin/wshaper ppp0 > + /usr/sbin/xmlstarter setenv tc_downlink > + DOWNLINK= > + /usr/sbin/xmlstarter setenv tc_uplink > + UPLINK= > + [ -z ] > + cat /proc/avalanche/avsar_modem_stats > + grep Connection Rate > + awk {printf("%d", $8)} > + DOWNLINK=1504 > + [ -z ] > + cat /proc/avalanche/avsar_modem_stats > + grep Connection Rate > + awk {printf("%d", $4)} > + UPLINK=320 > + DEV=ppp0 > + /usr/sbin/xmlstarter setenv tc_hipriohostsrc > + HIPRIOHOSTSRC= > + /usr/sbin/xmlstarter setenv tc_hipriohostdst > + HIPRIOHOSTDST= > + /usr/sbin/xmlstarter setenv tc_hiprioportsrc > + HIPRIOPORTSRC= > + /usr/sbin/xmlstarter setenv tc_hiprioportdst > + HIPRIOPORTDST= > + /usr/sbin/xmlstarter setenv tc_nopriohostsrc > + NOPRIOHOSTSRC= > + /usr/sbin/xmlstarter setenv tc_nopriohostdst > + NOPRIOHOSTDST= > + /usr/sbin/xmlstarter setenv tc_noprioportsrc > + NOPRIOPORTSRC= > + /usr/sbin/xmlstarter setenv tc_noprioportdst > + NOPRIOPORTDST= > + [ ppp0 = status ] > + [ ppp0 = stop ] > + tc qdisc del dev ppp0 root > + tc qdisc del dev ppp0 ingress > + tc qdisc add dev ppp0 root handle 1: htb default 20 > + tc class add dev ppp0 parent 1: classid 1:1 htb rate 320kbit burst 6k > + tc class add dev ppp0 parent 1:1 classid 1:10 htb rate 320kbit burst > 6k prio 1+ tc class add dev ppp0 parent 1:1 classid 1:20 htb rate > 288kbit burst 6k prio 2+ tc class add dev ppp0 parent 1:1 classid 1:30 > htb rate 256kbit burst 6k prio 2+ tc qdisc add dev ppp0 parent 1:10 > handle 10: sfq perturb 10 > RTNETLINK answers: Invalid argument <----- 1'st error ------ > + tc qdisc add dev ppp0 parent 1:20 handle 20: sfq perturb 10 > RTNETLINK answers: Invalid argument <----- 2'nd error ------ > + tc qdisc add dev ppp0 parent 1:30 handle 30: sfq perturb 10 > RTNETLINK answers: Invalid argument <----- 3'rd error ------ It looks like you don't have sfq. Check your kernel config and /lib/modules/$VERSION/net/sched/sch_sfq.o since sfq is normally built as a module. tc needs sfq too. -- gypsy _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc