Hi,
I have the same problem with shaper as discussed in
http://lists.debian.org/debian-isp/2002/debian-isp-200210/msg00124.html
The solution to the problem was adding
2>/dev/null
after
tc qdisc del dev eth1 root
But this is actually done in the script itself,
strange thing is, it doesn't show up in the cbq-init file.
I'm using version shaper 2.2.12-0.7-2 and this is in the
script:
### Remove root class from device
$1
cbq_device_off () { tc qdisc del dev $1 root 2>/dev/null } # cbq_device_off but the result of this in the cbq-init file is
this:
tc qdisc add dev eth0 root
without the 2>/dev/null
So I looked in the older version, 2.2.12-0.6 and
there the same thing is handeled with this code:
### Remove root class from device
$1
cbq_device_off () { tc qdisc del dev $1 root &>/dev/null return } # cbq_device_off This is what I did in the /etc/init.d/shaper script
version 2.2.12-0.7-2,
### Remove root class from device
$1
cbq_device_off () { tc qdisc del dev $1 root &>/dev/null } # cbq_device_off ^^^^ and now it works without warnings, but I don't know if this is a good
solution, or a solution at all, because $/dev/null doesn't show up in the
cbq-init file as well.
Hope somebody can help me, Thanks
R. Sijrier
|
- shaper problem Héctor Castillo
- Re: shaper problem statu_nascendi
- Remon Sijrier