[Fedora-users-br] problema com CBQ

PaTricK patrick_rsl em yahoo.com.br
Qui Jun 21 06:25:34 UTC 2007


O CBQ está aparecendo o seguinte erro:

[root em localhost cbq]# /etc/init.d/cbq compile
find: warning: you have specified the -maxdepth option after a 
non-option argument (, but options are not positional (-maxdepth affects 
tests specified before it as well as those specified after it).  Please 
specify options before other arguments.

find: warning: you have specified the -maxdepth option after a 
non-option argument (, but options are not positional (-maxdepth affects 
tests specified before it as well as those specified after it).  Please 
specify options before other arguments.

/sbin/tc qdisc del dev eth0 root
/sbin/tc qdisc add dev eth0 root handle 1 cbq bandwidth 256Kbit avpkt 
1000 cell 8
/sbin/tc class change dev eth0 root cbq weight 26Kbit allot 1514

/sbin/tc qdisc del dev eth1 root
/sbin/tc qdisc add dev eth1 root handle 1 cbq bandwidth 256Kbit avpkt 
1000 cell 8
/sbin/tc class change dev eth1 root cbq weight 26Kbit allot 1514

**CBQ: class ID of cbq-0000.example must be in range <0002-FFFF>!
/sbin/tc qdisc del dev lo root
/sbin/tc qdisc del dev eth0 root
/sbin/tc qdisc del dev eth1 root
[root em localhost cbq]#                



Quando tenta start nele dá esse erro:

[root em localhost cbq]# /etc/init.d/cbq start
find: warning: you have specified the -maxdepth option after a 
non-option argument (, but options are not positional (-maxdepth affects 
tests specified before it as well as those specified after it).  Please 
specify options before other arguments.

find: warning: you have specified the -maxdepth option after a 
non-option argument (, but options are not positional (-maxdepth affects 
tests specified before it as well as those specified after it).  Please 
specify options before other arguments.

**CBQ: failed to compile CBQ configuration!


Esses sao meus dois scripts:



cbq-0001.controle.eth0
------------------------------------------------

DEVICE=eth0,256Kbit,26Kbit
RATE=10Kbit
WEIGHT=1Kbit
PRIO=5
RULE=192.168.1.11/24:80,

o outro:

cbq-0001.controle.eth1
------------------------------------------------

DEVICE=eth0,256Kbit,26Kbit
RATE=10Kbit
WEIGHT=1Kbit
PRIO=5
RULE=192.168.1.11/24:80,

alguém aí pode me ajuda? obrigado!






Mais detalhes sobre a lista de discussão Fedora-users-br