Skip to contentSkip to conversation

HTB on kernel 2.4.20

LARTC Rimas 2 participants 6 messages Dec 5, 2002

lore
Share & tools
lore

Rimas

author
#0 lore raw

Hi,

I have a Linux box with kernel-2.4.20 HTB, IMQ patch + iptables-1.2.7a with IMQ and patched tc.
I tried to use htb.init script, wondershaper and myshaper
(http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/ADSL-
Bandwidth-Management-HOWTO.html).
And seems to be the htb doesn't work (doesn't shape a trafic at all) I get no error messages.

How I may check it what is wrong?

Thank you in advance

Rimas

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

#1 lore raw
Quoted 11 lines · Rimas

Hi,

I have a Linux box with kernel-2.4.20 HTB, IMQ patch + iptables-1.2.7a with IMQ and patched tc.
I tried to use htb.init script, wondershaper and myshaper
(http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/ADSL
- Bandwidth-Management-HOWTO.html).
And seems to be the htb doesn't work (doesn't shape a trafic at all) I get no error messages.

Quoted 1 line

How I may check it what is wrong?

You can do tc -s -d class show dev eth0 and examine the sent counters. Are they increasing ???

Stef

Signature · 9 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/
author
#2 lore raw
In reply to Rimas

Stef,

Then I use tc -s -d class show dev eth0 - yes the sent counters are increasing.
myshaper script have missed ( iptables -t mangle -A MYSHAPER-IN -j IMQ "this part --todev 1") and so I can shape incooming and outgoing trafic without any problems.
Thank you for the command tc -s -d class show dev eth0.

But I still cannot use htb.init script (like you know it is much easer to use it, write rules)
How I may check that problem?

Best Regards

Rimas

----- Original Message -----
From: "Stef Coene" <[email protected]>
To: "Rimas" <[email protected]>; <[email protected]>
Sent: Thursday, December 05, 2002 5:04 PM
Subject: Re: [LARTC] HTB on kernel 2.4.20

Quoted 5 lines · Rimas
Quoted 4 lines

Hi,

I have a Linux box with kernel-2.4.20 HTB, IMQ patch + iptables-1.2.7a

with

Quoted 3 lines
Quoted 3 lines

IMQ and patched tc.
I tried to use htb.init script, wondershaper and myshaper

(http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/ADSL

Quoted 6 lines
Quoted 5 lines

- Bandwidth-Management-HOWTO.html).
And seems to be the htb doesn't work (doesn't shape a trafic at all) I get no error messages.

How I may check it what is wrong?

You can do tc -s -d class show dev eth0 and examine the sent counters.

Are

Quoted 17 lines

they increasing ???

Stef

Signature · 9 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/

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

#3 lore raw
In reply to Rimas
Quoted 9 lines · Rimas

Stef,

Then I use tc -s -d class show dev eth0 - yes the sent counters are increasing.
myshaper script have missed ( iptables -t mangle -A MYSHAPER-IN -j IMQ "this part --todev 1") and so I can shape incooming and outgoing trafic without any problems.
Thank you for the command tc -s -d class show dev eth0.

Quoted 3 lines

But I still cannot use htb.init script (like you know it is much easer to use it, write rules)
How I may check that problem?

If you use the htb.init script and execute that show command, are the counters increasing ??
I think it's more a bad configuration then a htb problem :)

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/
author
#4 lore raw
In reply to Rimas

Stef,

When I tried to use htb.init script I just took example files:
eth0, eth0-2.root, eth0-2:10.www, eth0-2:20.smtp, eth0-2:30.dfl But htb.init makes nothing.
If I use the htb.init script and execute that show command, the counters not increasing.
Because there are no created classes.

Best regards

Rimas

----- Original Message -----
From: "Stef Coene" <[email protected]>
To: "Rimas" <[email protected]>; <[email protected]>
Sent: Thursday, December 05, 2002 8:03 PM
Subject: Re: [LARTC] HTB on kernel 2.4.20

Quoted 11 lines · Rimas
Quoted 10 lines

Stef,

Then I use tc -s -d class show dev eth0 - yes the sent counters are increasing.
myshaper script have missed ( iptables -t mangle -A MYSHAPER-IN -j IMQ "this part --todev 1") and so I can shape incooming and outgoing trafic without any problems.
Thank you for the command tc -s -d class show dev eth0.

But I still cannot use htb.init script (like you know it is much easer

to

Quoted 3 lines
Quoted 2 lines

use it, write rules)
How I may check that problem?

If you use the htb.init script and execute that show command, are the

counters

Quoted 16 lines

increasing ??
I think it's more a bad configuration then a htb problem :)

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/

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

#5 lore raw
In reply to Rimas
Quoted 8 lines · Rimas

Stef,

When I tried to use htb.init script I just took example files:
eth0, eth0-2.root, eth0-2:10.www, eth0-2:20.smtp, eth0-2:30.dfl But htb.init makes nothing.
If I use the htb.init script and execute that show command, the counters not increasing.
Because there are no created classes.

I think you have a htb.init configuration problem and I can't help you with that. Try to contact the author and/or read the docs again. Maybe there is a special htb.init mailing list.

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/