Re: How to use TIMECHECK tag in htb.init ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've downloaded the patch for htb.init timecheck problem, an still receive the following problem when I rum ./htb timecheck :
TC HTB version 3.3
**HTB:  9:27: change on eth1:1010 (196Kbit/256Kbit -> 16Kbit/128Kbit)
Illegal "prio"
Usage: ... qdisc add ... htb [default N] [r2q N]
 default  minor id of class to which unclassified packets are sent {0}
 r2q      DRR quantums are computed as rate in Bps/r2q {10}
 debug    string of 16 numbers each 0-3 {0}
Can anyone give me a hint because it's getting really annoying and I really must implement this ... Thanks in advance
 
I also get that error if I use only one TIMECHECK rule. It seems that my htb.init script doesn't know how to use that tag. I've tried using v 0.8.4 as well as v 0.8.5 
 
 
----- Original Message -----
Sent: Tuesday, March 15, 2005 8:05 AM
Subject: Re: How to use TIMECHECK tag in htb.init ?

There is a bug in current HTB.init  if  Time span over midnight. I have already submitted a patch for this which was by mistake not included in the current release and is scheduled to be included in next release. If you want you can view the bug listing at following URL :

http://sourceforge.net/tracker/index.php?func=detail&aid=739081&group_id=46544&atid=446482

Deepak Singhal

----- Original Message -----
From: "Gheorghe Marinca"
To: lartc@xxxxxxxxxxxxxxx
Subject: How to use TIMECHECK tag in htb.init ?
Date: Sat, 12 Mar 2005 08:16:17 +0200

Does anyone use tb.init TIMECHECK to change rate/ceil for classes based on periods over the day ? I had problems setting the right syntax. Can anyone help me with a quick example. I have tried the following with no success:
LEAF=sfq
RULE=xx.xx.xx.xx
TIME=06:00-18:00;128Kbit
TIME=18:00-06:00;256Kbit
RATE=196Kbit

>
>
> _______________________________________________
> LARTC mailing list
> LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux