+ Responder ao Tópico



  1. #1
    pojucano
    Visitante

    Padrão configuração ppp.conf

    olá galera galera..estou tendo muitas duvidas quanto a configuração do servidor freebsd usando velox..por ex:no meu ppp.conf tenho as seguintes linhas..por favor em ordem alguem poderia me dizer coo ficaria em orgens essas linhas..


    #################################################################
    # PPP Sample Configuration File
    # Originally written by Toshiharu OHNO
    # Simplified 5/14/1999 by [email protected]
    #
    # See /usr/share/examples/ppp/ for some examples
    #
    # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
    #################################################################

    default:
    set log Phase Chat LCP IPCP CCP tun command
    ident user-ppp VERSION (built COMPILATIONDATE)

    # Ensure that "device" references the correct serial port
    # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
    #
    set device /dev/cuaa1

    set speed 115200
    set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
    \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
    set timeout 180 # 3 minute idle timer (the default)
    enable dns # request DNS info (for resolv.conf)

    papchap:
    #
    # edit the next three lines and replace the items in caps with
    # the values which have been assigned by your ISP.
    #

    set phone PHONE_NUM
    set authname USERNAME
    set authkey PASSWORD

    set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
    add default HISADDR # Add a (sticky) default route

    ###############################fim##############

    grato
    leonardo

    msn
    [email protected]

  2. #2

    Padrão Configuração ppp.conf

    Ola amigo!!! Segue abaixo meu ppp.conf (FreeBSD 5.3) Espero ter ajudado.

    #ee /etc/ppp/ppp.conf

    default:
    set log phase tun command
    set ifaddr 10.0.0.1/0 10.0.0.2/0

    provedor:
    set device pppoe:ed0
    set authname [email protected]
    set authkey suasenha
    set dial
    set reconnect 3 5
    set redial 3 10
    set lqrperiod 1
    add default HISADDR
    enable dns

  3. #3
    pojucano
    Visitante

    Padrão Re: Configuração ppp.conf

    Citação Postado originalmente por CEP
    Ola amigo!!! Segue abaixo meu ppp.conf (FreeBSD 5.3) Espero ter ajudado.

    #ee /etc/ppp/ppp.conf

    default:
    set log phase tun command
    set ifaddr 10.0.0.1/0 10.0.0.2/0

    provedor:
    set device pppoe:ed0
    set authname [email protected]
    set authkey suasenha
    set dial
    set reconnect 3 5
    set redial 3 10
    set lqrperiod 1
    add default HISADDR
    enable dns

    valeu irmão...ajudou sim..grato