On 3/22/07, Alessandro de Souza Rocha <[EMAIL PROTECTED]> wrote: > Em 22/03/07, Rivanor P. Soares<[EMAIL PROTECTED]> escreveu: > > On 3/22/07, Nenhum_de_Nos <[EMAIL PROTECTED]> wrote: > > > olá, > > > > > > 2. não achei em breve busca o que faz "set speed sync". mas, > > > disconfiaria desta opção pois Adsl, tem o A = Asynchronous ! > > > normalmente síncrona seria upload = download e num conheço serviço de > > > DSL no Brasil que seja assim (talvez até exista e seja o seu, isso num > > > sei). Já tentou o config mostrado em [2] ? bem simples, mas é > > > basicamente o que tenho aqui e funciona blz há muito tempo :) > > > > > > qquer coisa, > > > > > > matheus > > > > > > -- > > > We will call you cygnus, > > > The God of balance you shall be > > > > > > > Obrigado Matheus e Ricardo Sanchesz (!), > > > > Funcionou com o seguinte arquivo ppp.conf: > > > > default: > > set log Phase tun command > > speedy: > > set device PPPoE:ste0 > > set authname [EMAIL PROTECTED] > > set authkey *********** > > set dial > > set login > > nat enable yes > > add default HISADDR > > > > O curioso é que depois de subir o link, não foi adicionada uma rota > > default na tabela de roteamento. Isso deveria acontecer, certo? > > > > Abs, > > -- > > Rivanor > > ------------------------- > > > > olha eu nao sei como funciona speed mais as configuracoes para usa o > velox eu deixo assim da uma olhada ver se te ajuda em alguma coisa > default: > > set device PPPoE:rl0:ISP > > enable lqr > > enable tcpmssfixup > > set lqrperiod 6 > > set mru 1492 > > set mtu 1492 > > set timeout 0 > > set log phase tun0 > > add default HISADDR > > enable dns > > set authname [EMAIL PROTECTED] > > set authkey XXXXXX > > -- > Alessandro de Souza Rocha > Administrador de Redes e Sistemas > Freebsd-BR User #117 > ------------------------- >
Valeu Alessandro, Cara, é tudo uma questão de ler a man page. Fui analisando cada entrada diferente que tinha no seu arquivo de conf e lendo sobre, na man page do ppp. Olha o que fala sobre 'add default HISADDR' : At this point, your machine has a host route to the peer. This means that you can only make a connection with the host on the other side of the link. If you want to add a default route entry (telling your machine to send all packets without another routing entry to the other side of the PPP link), enter the following command: PPP ON awfulhak> add default HISADDR The string `HISADDR' represents the IP address of the connected peer. If the ``add'' command fails due to an existing route, you can overwrite the existing route using: PPP ON awfulhak> add! default HISADDR This command can also be executed before actually making the connection. If a new IP address is negotiated at connection time, ppp will update your default route accordingly. Ou seja, ele é reponsável por atualizar a tabela de roteamento, adicionando o IP da outra ponta PPP como a saída padrão pra todos os pacotes. E usando o ponto de exclamação (!) antes do 'add' ainda dá pra sobrescrever caso já exista uma rota default. Valeu, -- Rivanor ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd