Heya A little quick question: Downloaded the wonder shaper script HTB version--> /etc/shorewall/tcstart , set TC_ENABLED = Yes, mangle is set to yes as well. I have the tc tool, but I didn''t switch to "run_tc" in the script ( that wasn''t necessary according to the docs). When I restart shorewall I get these errors Processing /etc/shorewall/tcstart ... RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument Activating Rules... I''m using debian woody (3.0rc1) with the 2.4.18-bf2.4 kernel and since ''tc'' is installed, i think (hope) that the necessary kernel options are set =) Shorewall 1.4.2 Thanks for a wonderful fw Tom! Ola J?nsson
On Wed, 14 May 2003 20:09:17 +0200, Ola J?nsson <ola@alien.se> wrote:> Downloaded the wonder shaper script HTB version--> /etc/shorewall/tcstart > , set TC_ENABLED = Yes, mangle is set to yes as well. > I have the tc tool, but I didn''t switch to "run_tc" in the script ( that > wasn''t necessary according to the docs). > When I restart shorewall I get these errors > Processing /etc/shorewall/tcstart ... > RTNETLINK answers: Invalid argument. .> RTNETLINK answers: Invalid argument > Activating Rules... > > I''m using debian woody (3.0rc1) with the 2.4.18-bf2.4 kernel and since > ''tc'' is installed, i think (hope) that the necessary kernel options are > set =) > Shorewall 1.4.2Are the required modules loaded? For the HTB version: sch_ingress 2848 1 (autoclean) cls_u32 6300 5 (autoclean) sch_htb 22304 1 (autoclean) It sure looks like you are missing required kernel functionality... -Tom -- Tom Eastep \ Shorewall - iptables made easy Shoreline, \ http://www.shorewall.net Washington USA \ teastep@shorewall.net
Dennis Borngraeber wrote:>Hi Ola, > > > >>Heya >> >>A little quick question: >>Downloaded the wonder shaper script HTB version--> >>/etc/shorewall/tcstart , set TC_ENABLED = Yes, mangle is set to yes as >>well. >>I have the tc tool, but I didn''t switch to "run_tc" in the script ( that >>wasn''t necessary according to the docs). >>When I restart shorewall I get these errors >>Processing /etc/shorewall/tcstart ... >>RTNETLINK answers: Invalid argument >> >> >[...] > > >>I''m using debian woody (3.0rc1) with the 2.4.18-bf2.4 kernel and since >>''tc'' is installed, i think (hope) that the necessary kernel options are >>set =) >>Shorewall 1.4.2 >> >> > >since you are using the standard woody kernel, you don''t have any HTB >support in it. You need to patch the kernel or get 2.4.20, which includes >HTB. > >Hope that helps... > >Dennis > > > >Ok that was my guess too, by the errors didn''t help me and debian doesn''t leave any kernel compilation info in /usr/src so I didn''t know how to check if I had HTB support or not ;) Do you know any good help page for patching/upgrading the kernel in debian? I''ve never done it the "debian way" before, haven''t used debian for more than a few months. And just to make sure, I wanted to be able to use packet prioritys ( i.e. I want to give udp traffic a higher priority for online gaming). I need traffic shaping to do that right? If not, forgive me for not RTFM => Thanks Tom and Dennis Ola
Hi Ola, On Wed, 14 May 2003, Ola J?nsson wrote:>Do you know any good help page for patching/upgrading the kernel in >debian? I''ve never done it the "debian way" before, haven''t used debian >for more than a few months.These links ought to help regarding building kernls "the Debian way". http://www.debian.org/releases/stable/i386/ch-post-install.en.html#s-kernel-baking http://www.debian.org/doc/manuals/reference/ch-kernel.en.html http://www.debian.org/doc/manuals/reference/ch-system.en.html#s-kernel-details Jason
On Thu, 2003-05-15 at 04:56, Ola J?nsson wrote:> Dennis Borngraeber wrote:[...]> >>I''m using debian woody (3.0rc1) with the 2.4.18-bf2.4 kernel and since > >>''tc'' is installed, i think (hope) that the necessary kernel options are > >>set =)The -bf2.4 kernel is a cut down kernel for the "boot floppy" installer. install a full featured kernel by doing ''apt-get kernel-image-2.4.18-<xxx>'' where <xxx> is you CPU type (386, k6, 586tsc, 686, etc). I''m not sure of 2.4.18 has HTB stuff in it... I''m running a stock sarge 2.4.20 which has everything except the "ingress" support (but it works OK with wondershaper unmodified). There is a bug report requesting ingress support that will aparently be in the next kernel-image packages.> Ok that was my guess too, by the errors didn''t help me and debian > doesn''t leave any kernel compilation info in /usr/src so I didn''t knowDebian kernel packages include the config in /boot/config-2.4.XX-<xxx>> Do you know any good help page for patching/upgrading the kernel in > debian? I''ve never done it the "debian way" before, haven''t used debian > for more than a few months.My advice is to get a stock kernel-image-2.4.20 out of "testing"... and if that has too many "testing" dependancies, then re-build it on woody as close to the stock config as you can using "kernel-package". -- ---------------------------------------------------------------- Donovan Baarda http://minkirri.apana.org.au/~abo/ ----------------------------------------------------------------
On Wed, 14 May 2003 20:56:41 +0200, Ola J?nsson <ola@alien.se> wrote:>>> >> >> since you are using the standard woody kernel, you don''t have any HTB >> support in it. You need to patch the kernel or get 2.4.20, which >> includes >> HTB.The alternative is to use the CBQ version of Wonder Shaper if the Debian kernel supports CBQ...>> > Ok that was my guess too, by the errors didn''t help me and debian doesn''t > leave any kernel compilation info in /usr/src so I didn''t know how to > check if I had HTB support or not ;) > Do you know any good help page for patching/upgrading the kernel in > debian? I''ve never done it the "debian way" before, haven''t used debian > for more than a few months.Sorry -- I only run Debian under Vmware and that is only for Shorewall testing; I don''t test traffic control/shaping in that environment.> > And just to make sure, I wanted to be able to use packet prioritys ( i.e. > I want to give udp traffic a higher priority for online gaming). I need > traffic shaping to do that right? If not, forgive me for not RTFM =>Yes. -Tom -- Tom Eastep \ Shorewall - iptables made easy Shoreline, \ http://www.shorewall.net Washington USA \ teastep@shorewall.net