Eu tentei instala akele  shapecfg mas ele dah conflito com o iproute.

O CBQ está aparecendo o seguinte erro:

[EMAIL PROTECTED] 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
[EMAIL PROTECTED] cbq]#               


Quando tenta start nele dá esse erro:

[EMAIL PROTECTED] 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!




---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a