All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] linux tc + contab
@ 2005-05-23 13:50 foxy 202
  2005-05-23 14:07 ` Arkadiusz Binder
  0 siblings, 1 reply; 2+ messages in thread
From: foxy 202 @ 2005-05-23 13:50 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-23 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-23 13:50 [LARTC] linux tc + contab foxy 202
2005-05-23 14:07 ` Arkadiusz Binder

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.