Hi Simon I just finished my Dachstein QoS Add-On script. I'm did a lot of "research" in this topic. I'm still developing the final .lrp package but the core script (without a package arround it) is finished. I didn't announce it because I want to finish my advanced script and the package before I publish it.
My script runs only on Dachstein/Eigerstein without changes because it uses variables from /etc/network.conf to make it "Plug&Play". The script can be found at: http://leaf.sourceforge.net/devel/sminola/files/scripts/qos1.sh This script does REALLY work! Please note that this is only my already finished script for home users. There isn't any possiblity to define which traffic should be priorized, but it removes most problems like lagging SSH session while downloading or slow downloads while uploading. Please read the comments in the script for further information. You may tune the rate of the bulk class. Edit the "95" in the following line (in both sections, Upstream and Downstream) # bulk - everything that don't match tc class add dev $EXTERN_IF parent 1:1 classid 1:30 cbq rate $(( 95 * $UPLINK / 100 ))kbit allot 1600 prio 3 avpkt 1000 ^^ I noticed that decreasing this value gives you better effect. I noticed that after uploading the script and because I didn't announce it yet I didn't correct it. I recommend a value between 85 and 90. If you have any problems or questions, please let me know. You'll be my first BETA-tester... --- Sandro Minola | LEAF Developer (http://leaf.sourceforge.net) mailto:[EMAIL PROTECTED] | mailto:[EMAIL PROTECTED] http://www.minola.ch | http://leaf.sourceforge.net/devel/sminola > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Simon Bolduc > Sent: Saturday, March 23, 2002 12:16 AM > To: [EMAIL PROTECTED] > Subject: [Leaf-user] Traffic Shaping using TC > > > Well I Couldn't get cbq.init to work - possibly because of the > busybox find > command, or because I'm not "getting" something. Either way I decided to > give up that dream and look at trying to create a script that > would just use > tc. What I'd like my end result to be is to limit the outgoing bandwidth > that is used by my ftp server to 16 K/s. From what I read I > should be able > to use tc, assuming all proper modules are loaded, without having > to change > anything else. I realize that this would probably be easier if > implemented > using network.conf but as I use seawall thats not really an option. > > Here is what I've got - but I could be (and quite likely am) hopelessly > confused. > > #!/bin/sh > > tc qdisc del dev eth0 root > tc qdisc add dev eth0 root handle 10: cbq bandwidth 10mbit avpkt 1000 > tc class add dev eth0 parent 10: classid 10:1 cbq bandwidth 10mbit / > rate 128kbit allot 1514 maxburst 20 avpkt 1000 bounded prio 3 > tc filter add dev eth0 parent 10: protocol ip prio 100 u32 match / > ip dport 21 0xffff flowid 10:10 > > #end script > > I have no idea whether this will work - and before I throw it on my box I > figured I might as well ask - can't be any harm in asking first. > Any help > would be greatly appreciated. > > S > > > _________________________________________________________________ > Join the world’s largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > _______________________________________________ > Leaf-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user