+ Responder ao Tópico



  1. #1
    fisiconuclear18
    Visitante

    Padrão CBQ viajando, por favor me ajudem...

    Pessoal coloquei o cbq aqui numa máquina ( segue abaixo as configurações ) e nao sei se deu certo pois deu esse erro a seguir.
    DEVICE=eth0,100Mbit,10Mbit
    RATE=10Mbps
    WEIGHT=1Mbps
    PRIO=1
    RULE=192.168.2.10/24:21
    BOUNDED=yes
    ISOLATED=yes
    # --------------------------------------------------------------------------
    #
    # cbq-128.client-backbone
    # --------------------------------------------------------------------------
    DEVICE=eth0,100Mbit,10Mbit
    RATE=10Mbps
    WEIGHT=1Mbps
    PRIO=5
    RULE=192.168.2.10/24:21
    BOUNDED=yes
    ISOLATED=yes


    Acima as conf, queria deixar 3 megas de conexao para esse ip e abaixo segue o erro:
    find: warning: you have specified the -maxdepth option after a non-option argument -type, 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 -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

    Alguem poderia me ajduar, ou sabe que erro é esse?
    Desde ja eu agradeço
    Um abraço
    André

  2. #2

    Padrão Re: CBQ viajando, por favor me ajudem...

    Se o nome do arquivo com a regra é cbq-128.client-backbone, pode ser isso, pois o nome do arquivo de regra sempre tem 4 números...
    tipo cbq-0128.cliente-backbone
    tenta alterar o nome do arquivo, se não funcionar avisa...

    Jorge R. Tomazeli

  3. #3

    Padrão Re: CBQ viajando, por favor me ajudem...

    cbq-0128.client-backbone
    DEVICE=eth0,100Mbit,10Mbit
    RATE=10Mbps
    WEIGHT=1Mbps
    PRIO=1
    RULE=192.168.2.10:21
    BOUNDED=yes
    ISOLATED=yes

    cbq-0128.backbone-client
    DEVICE=eth0,100Mbit,10Mbit
    RATE=10Mbps
    WEIGHT=1Mbps
    PRIO=1
    RULE=192.168.2.10:21,
    BOUNDED=yes
    ISOLATED=yes


  4. #4

    Padrão Re: CBQ viajando, por favor me ajudem...

    Abre o cbq.init no vi, e procura pelo parametro "maxdepth"... vai cair em um comando usando "find" enorme, o maxdepth vai estar no final do comando, se não me engano resolvi colocado o maxdepth ao lado do "path" ou seja, depois do primeiro argumento do comando find...

    ficaria algo do tipo:
    find . --maxdepth X --blabla1 --blabla2 --blabla3
    invés de
    find . --blabla1 --blabla2 --blabla3 --maxdepth X

    Ok? Avise se der certo.