Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wondershaper script
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
spinez
n00b
n00b


Joined: 30 Mar 2003
Posts: 58

PostPosted: Tue Aug 05, 2003 8:49 pm    Post subject: Wondershaper script Reply with quote

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
View user's profile Send private message
koala
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2002
Posts: 91
Location: Barcelona, Spain

PostPosted: Wed Aug 06, 2003 5:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Wed Aug 06, 2003 5:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum