--On Monday, December 30, 2002 11:36:37 AM -0700 "Bryan T. Schmidt" <[EMAIL PROTECTED]> wrote:

Gotcha.  Thanks.  I already had "tc.lrp".

Now it seems to barf on anything related to a "qdisc".  Am i missing a
module yet? S. Mohan referred to an "imq" but I cannot find it.  The
documentation at lartc.org is pretty greek to me... here is output after
running "wshaper.htb" with -x:   (Note "Illegal Rate")

barricade: -root-
# ./wshaper.htb start
+ DOWNLINK=640
+ UPLINK=600
+ DEV=eth0
+ NOPRIOHOSTSRC=
+ NOPRIOHOSTDST=
+ NOPRIOPORTSRC=
+ NOPRIOPORTDST=
+ [ start = status ]
+ tc qdisc del dev eth0 root
+ tc qdisc del dev eth0 ingress
+ [ start = stop ]
+ tc qdisc add dev eth0 root handle 1: htb default 20
+ tc class add dev eth0 parent 1: classid 1:1 htb rate 600kbit burst 6k
+ tc class add dev eth0 parent 1:1 classid 1:10 htb rate 600kbit burst 6k
prio 1 + tc class add dev eth0 parent 1:1 classid 1:20 htb rate
$[9*600/10]kbit burst 6 k prio 2
Illegal "rate"
That looks like an incompatibility between the wonder shaper script and ash. I suspect that you will need to change all occurences of '$[...]' with '$((...))'

The joys of LEAF...

-Tom
--
Tom Eastep \ Shorewall - iptables made easy
Shoreline, \ http://shorewall.sf.net
Washington USA \ [EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to