All of lore.kernel.org
 help / color / mirror / Atom feed
From: foxy 202 <foxy202@gmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] linux tc + contab
Date: Mon, 23 May 2005 13:50:34 +0000	[thread overview]
Message-ID: <a763a15b050523065052d8e111@mail.gmail.com> (raw)

Hi I have strange problem. 
  same traffic control rules when i started it manual they work OK,
but when i started it from crontab  / twice per day / doesn't work
correctly ... look like  delete rules doesn't work
  ... any ideas where to look for problem ?
i use debian sarge  Linux  2.6 kernel , 




#!/bin/bash

TC=/sbin/tc
DEV=eth1

echo "Delete all rules"
$TC qdisc del dev $DEV root
echo "Add new root rule"
$TC qdisc add dev $DEV root handle 1: htb default 101

echo "lavel I - main tc rules"
$TC class add dev $DEV parent 1: classid 1:2 htb rate 1mbit ceil 1mbit
  prio   3
$TC class add dev $DEV parent 1: classid 1:3 htb rate 1mbit ceil 1mbit prio   1
$TC class add dev $DEV parent 1: classid 1:4 htb rate 10mbit ceil
10mbit prio   4
$TC class add dev $DEV parent 1: classid 1:101 htb rate 1kbit ceil 1kbit prio 4
................................
.......................


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

             reply	other threads:[~2005-05-23 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-23 13:50 foxy 202 [this message]
2005-05-23 14:07 ` [LARTC] linux tc + contab Arkadiusz Binder

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=a763a15b050523065052d8e111@mail.gmail.com \
    --to=foxy202@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.