[Fedora-users-br] problema com CBQ

Fabio Aragao duvidaslinux em yahoo.com.br
Domingo Junho 24 06:02:53 UTC 2007


Amigo, tenta pelo yum que ele vai resolver todas as
dependencias pra vc.


--- PaTricK <patrick_rsl em yahoo.com.br> escreveu:

> 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!
> 
> 
> 
> --
> Fedora-users-br mailing list
> Fedora-users-br em redhat.com
>
https://www.redhat.com/mailman/listinfo/fedora-users-br
> 



       
____________________________________________________________________________________
Novo Yahoo! Cadê? - Experimente uma nova busca.
http://yahoo.com.br/oqueeuganhocomisso 




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