RE: ppp.conf PPPoE Errors

bob_at_a1poweruser.com
Date: 03/25/05

  • Next message: Matt Juszczak: "Re: Pico & Bash2 ports wont install, others also affected"
    To: "JP" <jprez1980@yahoo.com>, <freebsd-questions@freebsd.org>
    Date: Thu, 24 Mar 2005 23:48:01 -0500
    
    

    You used outdated example for your for ppp.conf.
    Try this from http://freebsd.packards-home.net/Free_guide_index.html

    PPPoE, ppp.conf statements for DSL connection
    Edit the ppp.conf file and add the following so this is all that is
    in the file.
    Read the comments and do what they say.
    cd /etc/ppp/ # move into directory
    cp ppp.conf ppp.conf.org # Save copy of original
    ee ppp.conf # Edit file add following

    #################### start of DSL ppp.conf ###################
    default:

     set log Phase tun #use to avoid excessive log sizes
     set timeout 0 # no idle time out, will not
    disconnect

    dialisp:
     set device PPPoE:XXX # replace xxx with your NIC device
    name
     set authname YOURLOGINNAME # Replace with your ISP account
    username
     set authkey YOURPASSWORD # Replace with your ISP account
    password
     add default HISADDR # Add a (sticky) default route
    (Mandatory)
     enable dns # Gets the ISP's DNS IP address &
    places them
                                   # in resolv.conf for reference by
    FBSD box.

    ############### End of DSL ppp.conf
    #################################

    Replace the XXX in the [set device PPPoE:XXX] statement with the
    NIC's FBSD interface name. Sometimes it will be necessary to use a
    service tag to establish your connection depending on how your ISP
    and/or the phone company has its DSL network configured. Service
    tags are used to distinguish between different PPPoE servers
    attached to a given network. You should have been given any required
    service tag information in the documentation provided by your ISP.
    If you cannot locate it there, ask your ISP's tech support
    personnel. This is the format of the command with the service tag
    added:

    set device PPPoE:xxxx:service_tag

    The xxxx is the FBSD interface name used by PPPoE. The interface
    must be UP (IE: enabled). It is only used as a transport, and does
    not need to be assigned an IP address. This can be done
    automatically at boot time by updating the /etc/rc.conf file. The
    format of the statement to add is ifconfig_xxxx=up where xxxx is the
    NIC's FBSD interface name used by PPPoE that you specified in the
    /etc/ppp/ppp.conf file.

    ee /etc/rc.conf # add following statements
    ifconfig_xxxx=up
    ifconfig_tun0="DHCP" # get your ISP assigned IP address

    To setup user ppp to dial your ISP automatically at FBSD boot time,
    you have to add the following statements to the rc.conf file. The
    ddial option means to redial every time the connection to the ISP
    gets dropped.
    ee /etc/rc.conf
    # Activate user ppp auto start at boot time
    ppp_enable="YES" # Start User PPP task
    ppp_mode="ddial" # ddial, auto, background
    ppp_profile="dialisp" # section in ppp.conf to exec

    #ppp_nat="YES" # only if you have LAN behind this PC.

    -----Original Message-----
    From: owner-freebsd-questions@freebsd.org
    [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of JP
    Sent: Thursday, March 24, 2005 8:30 AM
    To: freebsd-questions@freebsd.org
    Subject: ppp.conf PPPoE Errors

    Hello,

    I just recently set up ppp.conf for PPPoE DSL Service with SBC. I'm
    getting the following errors in my /var/log/ppp.log file, any idea
    what it means? I assume I need to disable IPV6 somehow but I don't
    know.

    Mar 23 09:35:19 mcknytxhqfw01 ppp[483]: tun0: Phase: deflink: his =
    PAP, m
    Mar 23 09:35:19 mcknytxhqfw01 ppp[483]: tun0: Phase: Pap Output:
    xxxxxx *
    Mar 23 09:35:19 mcknytxhqfw01 ppp[483]: tun0: Phase: Pap Input:
    SUCCESS ()
    Mar 23 09:35:19 mcknytxhqfw01 ppp[483]: tun0: Phase: deflink: lcp ->
    open
    Mar 23 09:35:19 mcknytxhqfw01 ppp[483]: tun0: Phase: bundle: Network
    Mar 23 09:35:19 mcknytxhqfw01 ppp[483]: tun0: Phase: deflink: IPV6CP
    protocol reject closes IPV6CP !
    Mar 23 09:49:20 last message repeated 15 times

    My ppp.conf file:

    default:
            set device PPPoE:ed0:SBCIS
            set mtu 1492
            add default HISADDR
            set time 0
            set redial 0 0
    # NAT Config
            nat enable yes
            nat log yes
            nat same_ports yes
            nat unregistered_only yes
            enable dns
    SBCIS:
            set authname xxxxxx
            set authkey xxxxxx

    Thanks!
    JP
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to
    "freebsd-questions-unsubscribe@freebsd.org"

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Matt Juszczak: "Re: Pico & Bash2 ports wont install, others also affected"

    Relevant Pages

    • RE: Connecting ISP problem
      ... set authname YOURLOGINNAME # Replace with your ISP account IP ... End of DSL ppp.conf ... automatically at boot time by updating the /etc/rc.conf file. ... rl0: flags=8843mtu 1500 ...
      (freebsd-questions)
    • RE: PPPoE Configuration problems
      ... set authname YOURLOGINNAME # Replace with your ISP account ... End of DSL ppp.conf ... service tag to establish your connection depending on how your ISP ... is the FBSD interface name used by PPPoE. ...
      (freebsd-questions)
    • Re: freebsd / gateway / parental control
      ... NIC for the DSL ... just have to tell your box how to connect to your ISP ... A phone line is RJ11 and can be only a single pair; ethernet cables which go ... or directly into NIC in your computer and talk PPPoE ...
      (freebsd-questions)
    • RE: question on DSL signal
      ... I run a small FreeBSD server with a standard DSL line. ... I work at an ISP and do this stuff for a living. ... has to just keep calling the phone company and dispatching a tech ... modem, so every time she had a problem she would call up and ask ...
      (freebsd-questions)
    • Re: FreeBSD challenged by Internet
      ... FreeBSD box I'm using at the moment cost $10 at a flea market, ... rated speed on DSL I don't think the DSL line is the limiting factor. ... taken care of somehow between some Verizon server and the firewall. ... Anyway, I'm comparing the wire charges, not the ISP service. ...
      (freebsd-questions)