From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gheorghe Marinca" Date: Tue, 15 Mar 2005 07:51:30 +0000 Subject: Re: [LARTC]How to use TIMECHECK tag in htb.init ? Message-Id: <00bb01c52933$cce2be50$90abb451@Ghitza> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0959069097==" List-Id: References: <00de01c526cb$003c8530$90abb451@Ghitza> In-Reply-To: <00de01c526cb$003c8530$90abb451@Ghitza> To: lartc@vger.kernel.org This is a multi-part message in MIME format. --===============0959069097== Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B8_01C52944.90532450" This is a multi-part message in MIME format. ------=_NextPart_000_00B8_01C52944.90532450 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=20 ----- Original Message -----=20 From: deepak singhal=20 To: lartc@mailman.ds9a.nl=20 Sent: Tuesday, March 15, 2005 8:05 AM Subject: Re: [LARTC]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=3Ddetail&aid=3D739081&group= _id=3D46544&atid=3D446482 Deepak Singhal ----- Original Message ----- From: "Gheorghe Marinca"=20 To: lartc@mailman.ds9a.nl Subject: [LARTC]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:=20 LEAF=3Dsfq RULE=3Dxx.xx.xx.xx TIME=3D06:00-18:00;128Kbit TIME=3D18:00-06:00;256Kbit RATE=3D196Kbit > >=20 > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc ------=_NextPart_000_00B8_01C52944.90532450 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I've downloaded the patch for htb.init = timecheck=20 problem, an still receive the following problem when I rum ./htb = timecheck=20 :
TC HTB version = 3.3
**HTB:  9:27:=20 change on eth1:1010 (196Kbit/256Kbit -> 16Kbit/128Kbit)
Illegal=20 "prio"
Usage: ... qdisc add ... htb [default N] [r2q=20 N]
 default  minor id of class to which unclassified = packets are=20 sent {0}
 r2q      DRR quantums are = computed as=20 rate in Bps/r2q {10}
 debug    string of 16 = numbers each=20 0-3 {0}
Can anyone give me a hint because it's getting = really=20 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=20 htb.init script doesn't know how to use that tag. I've tried using v = 0.8.4=20 as well as v 0.8.5 
 
 
----- Original Message -----
From: deepak singhal
To: lartc@mailman.ds9a.nl
Sent: Tuesday, March 15, 2005 = 8:05 AM
Subject: Re: [LARTC]How to use = TIMECHECK=20 tag in htb.init ?

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

http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D= 739081&group_id=3D46544&atid=3D446482

Deepak Singhal

----- Original Message -----
From: "Gheorghe = Marinca"
To: lartc@mailman.ds9a.nl
Subject: = [LARTC]How to=20 use TIMECHECK tag in htb.init ?
Date: Sat, 12 Mar 2005 08:16:17=20 +0200

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

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

------=_NextPart_000_00B8_01C52944.90532450-- --===============0959069097== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0959069097==--