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@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
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@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: 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@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://www.mail.com/?sr=signup _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
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 ----- From: deepak singhal To: lartc@mailman.ds9a.nl 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=detail&aid=739081&group_id=46544&atid=446482 Deepak Singhal ----- Original Message ----- From: "Gheorghe Marinca" 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: 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@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc_______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Try adding a line : PRIO=1 (or a value between 0 to 5) Deepak Singhal ----- Original Message ----- From: "Gheorghe Marinca" To: lartc@mailman.ds9a.nl Subject: Re: [LARTC]How to use TIMECHECK tag in htb.init ? Date: Tue, 15 Mar 2005 09:51:30 +0200 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 ----- From: deepak singhal To: lartc@mailman.ds9a.nl 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=detail&aid=739081&group_id=46544&atid=446482 Deepak Singhal ----- Original Message ----- From: "Gheorghe Marinca" 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: 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@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://www.mail.com/?sr=signup _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc