From: "Gianluca \"acid_burn\" D'Andrea" <acid_burn@x-privat.org>
To: lartc@vger.kernel.org
Subject: [LARTC] Wondershaper Errors
Date: Sat, 16 Sep 2006 20:57:52 +0000 [thread overview]
Message-ID: <450C6550.2020101@x-privat.org> (raw)
-----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\x1504
+ [ -z ]
+ cat /proc/avalanche/avsar_modem_stats
+ grep Connection Rate
+ awk {printf("%d", $4)}
+ UPLINK20
+ 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 ------
+ tc filter add dev ppp0 parent 1:0 protocol ip prio 10 u32 match ip tos
0x10 0xff flowid 1:10
+ tc filter add dev ppp0 parent 1:0 protocol ip prio 10 u32 match ip
protocol 1 0xff flowid 1:10
+ tc filter add dev ppp0 parent 1: protocol ip prio 10 u32 match ip
protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2
match u8 0x10 0xff at 33 flowid 1:10
+ tc filter add dev ppp0 parent 1: protocol ip prio 18 u32 match ip dst
0.0.0.0/0 flowid 1:20
+ tc qdisc add dev ppp0 handle ffff: ingress
+ tc filter add dev ppp0 parent ffff: protocol ip prio 50 u32 match ip
src 0.0.0.0/0 police rate 1504kbit burst 10k drop flowid :1
why?
thanks in advance
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFFDGVPGiBkJr7gM94RAhcMAJ91kpFDlj8vGYtIauglJSoNDSq7YACfUGJ5
A82gL7g8xWxroSI2ohne4+g=J9nc
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2006-09-16 20:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-16 20:57 Gianluca "acid_burn" D'Andrea [this message]
2006-09-17 3:55 ` [LARTC] Wondershaper Errors gypsy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=450C6550.2020101@x-privat.org \
--to=acid_burn@x-privat.org \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.