Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Gheorghe Marinca" <ghitza@home.ro>
To: lartc@vger.kernel.org
Subject: Re: [LARTC]How to use TIMECHECK tag in htb.init ?
Date: Tue, 15 Mar 2005 07:51:30 +0000	[thread overview]
Message-ID: <00bb01c52933$cce2be50$90abb451@Ghitza> (raw)
In-Reply-To: <00de01c526cb$003c8530$90abb451@Ghitza>


[-- Attachment #1.1: Type: text/plain, Size: 2002 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 3286 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

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

  parent reply	other threads:[~2005-03-15  7:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-12  6:16 [LARTC]How to use TIMECHECK tag in htb.init ? Gheorghe Marinca
2005-03-15  6:05 ` deepak singhal
2005-03-15  7:51 ` Gheorghe Marinca [this message]
2005-03-17  7:21 ` deepak singhal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00bb01c52933$cce2be50$90abb451@Ghitza' \
    --to=ghitza@home.ro \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox