Skip to contentSkip to conversation

Newbie: Installing Traffic Shaping

LARTC Christian Meier 3 participants 4 messages Nov 24, 2002 – Nov 25, 2002

lore
Share & tools
lore
#0 lore raw

Hello List!

My distribution is SuSE 7.3 Prof. I've successfully installed the iproute2 packet. If I enter some tc-rules the machine returns no errors, but the rules do not affect the bandwidth!

Does this mean that the kernel is not compiled with the necessary options? Where can I see, which options the kernel was compiled with (sorry, but I'm newbie)? I didn't change anything, it's a normal SuSE 7.3 distribution.

If I knew that the modules are working, I could go on trying to install some rules, or could anyone be so kind and post a simple rule that is slowing down my eth0 interface? I'd just like to see if the tc-command and the kernel is working...

Thanks in advance!!

Signature · 7 lines
Yours sincerely,
Christian Meier
mailto:[email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw
Quoted 4 lines · Christian Meier;

Does this mean that the kernel is not compiled with the necessary options? Where can I see, which options the kernel was compiled with (sorry, but I'm newbie)? I didn't change anything, it's a normal SuSE 7.3 distribution.

If it is a default SuSE kernel everything you should be already there. Nevertheless if you want to see the config of the kernel. Note that HTB is not there

zcat /proc/config.gz will show you the config options set. If you want to add things and then recompile the folowing command will make it as a kernel config file

make cloneconfig

You may want to have a look at http://susefaq.sf.net/sectionkernel.html

Signature · 8 lines
Togan Muftuoglu
Unofficial SuSE FAQ Maintainer
http://dinamizm.ath.cx


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Christian Meier
Quoted 5 lines · Christian Meier

Hello List!

My distribution is SuSE 7.3 Prof. I've successfully installed the iproute2 packet. If I enter some tc-rules the machine returns no errors, but the rules do not affect the bandwidth!

If you have no errors, you have all the support in the kernel you need.

Quoted 4 lines

Does this mean that the kernel is not compiled with the necessary options? Where can I see, which options the kernel was compiled with (sorry, but I'm newbie)? I didn't change anything, it's a normal SuSE 7.3 distribution.

Maybe you can find a config file in the /boot directory.

Quoted 4 lines

If I knew that the modules are working, I could go on trying to install some rules, or could anyone be so kind and post a simple rule that is slowing down my eth0 interface? I'd just like to see if the tc-command and the kernel is working...

I have some scripts on www.docm.org. You can also try to add a tvb qdisc as root qdisc. This will limit all outgoing traffic.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw
In reply to Christian Meier

Thanks for your fast answers, Togan and Stef! My sample configuration works now.

Quoted 1 line

Note that HTB is not there

Well, then I'll have to learn howto patch a kernel, because it's too difficult without HTB.

Quoted 1 line

zcat /proc/config.gz will show you the config options set.

Thanks it works

Quoted 3 lines

If you want to add things and then recompile the folowing command will make it as a kernel config file
make cloneconfig

I'll try it.

Quoted 1 line

You may want to have a look at http://susefaq.sf.net/sectionkernel.html

Ok

If I'll have any further questions to htb, I'll ask you again ;-)...

Signature · 7 lines
Yours, sincerely
Christian Meier
mailto:[email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/