View previous topic :: View next topic |
Author |
Message |
jcostom n00b
Joined: 17 Jul 2002 Posts: 28 Location: NJ
|
Posted: Wed Sep 04, 2002 7:33 am Post subject: QoS/HTB difficulties.. |
|
|
I just rebuilt my firewall this evening using the 1.4 image. I was using RH 7.2 with a custom kernel previously. That kernel had the HTB QoS patch applied, and I was using it to prioritize my VoIP traffic. I'm using the crypto-sources package, which also had the HTB scheduler available.
I'm having a lot of trouble moving over my previous QoS configuration from the previous firewall. Here's what I'm seeing:
Code: | # tc qdisc add dev eth0 root handle 1: htb default 11
RTNETLINK answers: Invalid argument |
BTW - this matches what appears in the tc-htb man page *exactly*... Any help out there? |
|
Back to top |
|
|
psp Tux's lil' helper
Joined: 06 Aug 2002 Posts: 120 Location: Cape Town, South Africa
|
Posted: Thu Sep 05, 2002 12:03 pm Post subject: |
|
|
I have not tried htb with gentoo yet.
Running... Code: | strings $( which tc ) | grep htb | ...indicates that the tc binary seems to support htb - I had to patch mine on the redhat box. I unforunately I don't have QOS and/or fair queuing enabled in the kernel config - although the modules have been built(?). If I try your command (which has the correct syntax) I get the exact same error message. Perhaps you should check that everything is enabled in the kernel as it should be?
btw: I'm using gentoo-1.2 |
|
Back to top |
|
|
jcostom n00b
Joined: 17 Jul 2002 Posts: 28 Location: NJ
|
Posted: Fri Sep 20, 2002 3:49 pm Post subject: Had to get off of crypto-sources, but resolved! |
|
|
Seems the HTB patch included in crypto-sources isn't the same as what's built into the /usr/sbin/tc executable. I grabbed the HTB 3.6-020525 patch and massaged it into the xfs-r1 sources. Now my QoS works like a champ. |
|
Back to top |
|
|
|