View previous topic :: View next topic |
Author |
Message |
spinez n00b
Joined: 30 Mar 2003 Posts: 58
|
Posted: Tue Aug 05, 2003 8:49 pm Post subject: Wondershaper script |
|
|
I'm having some serious problems that I've spent hours googling/trying to fix and just cannot figure this crap out.
From the "wshaper" script:
Code: | tc qdisc add dev $DEV handle ffff: ingress
tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1
|
I get this error on those two lines of code:
Code: | RTNETLINK answers: Invalid argument |
I'm using gs-sources with the 2.4.22 kernel. I had to compile iproute2 against the gentoo-sources 2.4.20 kernel because it doesnt like compiling against gs-sources. I've tried r1, r2, and r3 of iproute, tried the compiled tc binary and also the binary from htb's website.
I've googled for countless hours and done everything I know how to do. I'm just at a loss. Compiling gentoo-sources kernel is not an option because my computer will not boot with it (same exact config as using now too). I could try it with a vanilla kernel, but I'd rather not. Anyone help, please? |
|
Back to top |
|
|
koala Tux's lil' helper
Joined: 15 Aug 2002 Posts: 91 Location: Barcelona, Spain
|
Posted: Wed Aug 06, 2003 5:46 pm Post subject: |
|
|
Don't know the exact setup of the Gentoo kernels, but you need to compile in quite a few things to get traffic shaping working. Check the lartc faqs... |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Wed Aug 06, 2003 5:50 pm Post subject: |
|
|
Im useing Pfeifer-sources with the wondershaper.
and it works.
so maby you should try pfeifer-sources. _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
|