ASDL, PPOE, i am really lost getting this pfsense box online



  • hello i need help trying to get this pfsense box online with my ASDL connection:

    first i am using the latest RC3 and here is the pdf manual to my modem:
    http://www.tp-link.com/english/soft/200862153117.pdf

    I am very new to PPPoe and ASDL so correct anything i have wrong, my first attempt was to put the router in bridge mode and turn off dhcp, then i plugged my credentials into pfsesen and set my wan connection to PPPoe, put my username and password in and waited.. first of all i dont see any information in the log files regarding the PPPoe, but anyways

    i will go to the status -> interface -> wan and everything is correct, gateway, dns servers EXCEPT the ip address, it is giving me a 172.25.121.* ip which i am guessing is the ISP internal system… any ideas?>


  • Rebel Alliance Developer Netgate

    [Topic moved from the PPPoE server board because this is PPPoE client, not server function]

    MPD is used for PPPoE and its log entries usually go into the system log.

    Most ADSL CPEs (modems, or modem/routers) will pass through PPPoE even if they are in router mode, as long as they are not programmed with a username and password. The ones I have encountered will anyhow. (And I have encountered a lot, I work for an ISP and we provide service with PPPoE)

    The first thing I would suggest you do is a factory reset on your DSL CPE, and then set pfSense for PPPoE and give it your username and password.

    Not sure where that private IP address is coming from, but if it is coming from your ISP, that is something you may need to talk to them about. the MPD log entries may help there, but ultimately if that IP is coming from the ISP, they can tell you why.



  • @jimp:

    [Topic moved from the PPPoE server board because this is PPPoE client, not server function]

    MPD is used for PPPoE and its log entries usually go into the system log.

    Most ADSL CPEs (modems, or modem/routers) will pass through PPPoE even if they are in router mode, as long as they are not programmed with a username and password. The ones I have encountered will anyhow. (And I have encountered a lot, I work for an ISP and we provide service with PPPoE)

    The first thing I would suggest you do is a factory reset on your DSL CPE, and then set pfSense for PPPoE and give it your username and password.

    Not sure where that private IP address is coming from, but if it is coming from your ISP, that is something you may need to talk to them about. the MPD log entries may help there, but ultimately if that IP is coming from the ISP, they can tell you why.

    alright i am going to try that right now, sorry to sound ignorant but what and where are the MPD logs?


  • Rebel Alliance Developer Netgate

    See the earlier part in my post:

    MPD is used for PPPoE and its log entries usually go into the system log.



  • @jimp:

    See the earlier part in my post:

    MPD is used for PPPoE and its log entries usually go into the system log.

    ok i see, i dont remember seeing anything with mpd in front of it on the system tab in the web gui, but allow me to confirm


  • Rebel Alliance Developer Netgate

    It's possible the entries are still in the log but have scrolled off the portion you see in the WebGUI.

    Go to Diagnostics > Command, and try this in the Shell command box:
    clog /var/log/system.log | grep "mpd:"



  • Ok well im posting these logs on behalf of fairchild…

    $ clog /var/log/system.log | grep "mpd:"
    Nov  6 20:08:58 location60 mpd: [pppoe] rec'd signal usr2, closing
    Nov  6 20:08:58 location60 mpd: [pppoe] IPCP: Close event
    Nov  6 20:08:58 location60 mpd: [pppoe] IPCP: state change Opened –> Closing
    Nov  6 20:08:58 location60 mpd: [pppoe] IPCP: SendTerminateReq #10
    Nov  6 20:08:58 location60 mpd: [pppoe] IPCP: LayerDown
    Nov  6 20:08:58 location60 mpd: [pppoe] IFACE: Down event
    Nov  6 20:08:58 location60 mpd: [pppoe] exec: /sbin/route delete 0.0.0.0 163.121.170.98
    Nov  6 20:08:58 location60 mpd: [pppoe] exec: /sbin/route delete 172.25.121.62 -iface lo0
    Nov  6 20:08:58 location60 mpd: [pppoe] exec: /sbin/ifconfig ng0 down delete -link0
    Nov  6 20:08:58 location60 mpd: [pppoe] IPCP: rec'd Terminate Ack #10 link 0 (Closing)
    Nov  6 20:08:58 location60 mpd: [pppoe] IPCP: state change Closing –> Closed
    Nov  6 20:08:58 location60 mpd: [pppoe] IPCP: LayerFinish
    Nov  6 20:08:58 location60 mpd: [pppoe] bundle: CLOSE event in state OPENED
    Nov  6 20:08:58 location60 mpd: [pppoe] closing link "pppoe"…
    Nov  6 20:08:58 location60 mpd: [pppoe] link: CLOSE event
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: Close event
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: state change Opened –> Closing
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: phase shift NETWORK –> TERMINATE
    Nov  6 20:08:58 location60 mpd: [pppoe] setting interface ng0 MTU to 1500 bytes
    Nov  6 20:08:58 location60 mpd: [pppoe] up: 0 links, total bandwidth 9600 bps
    Nov  6 20:08:58 location60 mpd: [pppoe] IPCP: Down event
    Nov  6 20:08:58 location60 mpd: [pppoe] IPCP: state change Closed –> Initial
    Nov  6 20:08:58 location60 mpd: [pppoe] closing link "pppoe"…
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: SendTerminateReq #4
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: LayerDown
    Nov  6 20:08:58 location60 mpd: [pppoe] link: CLOSE event
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: Close event
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: rec'd Terminate Ack #4 link 0 (Closing)
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: state change Closing –> Closed
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: phase shift TERMINATE –> ESTABLISH
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: LayerFinish
    Nov  6 20:08:58 location60 mpd: [pppoe] device: CLOSE event in state UP
    Nov  6 20:08:58 location60 mpd: [pppoe] device is now in state CLOSING
    Nov  6 20:08:58 location60 mpd: [pppoe] device: DOWN event in state CLOSING
    Nov  6 20:08:58 location60 mpd: [pppoe] device is now in state DOWN
    Nov  6 20:08:58 location60 mpd: [pppoe] link: DOWN event
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: Down event
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: state change Closed –> Initial
    Nov  6 20:08:58 location60 mpd: [pppoe] LCP: phase shift ESTABLISH –> DEAD
    Nov  6 20:09:08 location60 mpd: [pppoe] rec'd signal usr1, opening
    Nov  6 20:09:08 location60 mpd: [pppoe] IPCP: Open event
    Nov  6 20:09:08 location60 mpd: [pppoe] IPCP: state change Initial –> Starting
    Nov  6 20:09:08 location60 mpd: [pppoe] IPCP: LayerStart
    Nov  6 20:09:08 location60 mpd: [pppoe] bundle: OPEN event in state CLOSED
    Nov  6 20:09:08 location60 mpd: [pppoe] opening link "pppoe"…
    Nov  6 20:09:08 location60 mpd: [pppoe] bundle: OPEN event in state OPENED
    Nov  6 20:09:08 location60 mpd: [pppoe] opening link "pppoe"…
    Nov  6 20:09:08 location60 mpd: [pppoe] link: OPEN event
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: Open event
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: state change Initial –> Starting
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: LayerStart
    Nov  6 20:09:08 location60 mpd: [pppoe] link: OPEN event
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: Open event
    Nov  6 20:09:08 location60 mpd: [pppoe] device: OPEN event in state DOWN
    Nov  6 20:09:08 location60 mpd: [pppoe] device is now in state OPENING
    Nov  6 20:09:08 location60 mpd: [pppoe] rec'd ACNAME "MAADI2-R01C-C-EG"
    Nov  6 20:09:08 location60 mpd: [pppoe] PPPoE connection successful
    Nov  6 20:09:08 location60 mpd: [pppoe] device: UP event in state OPENING
    Nov  6 20:09:08 location60 mpd: [pppoe] device is now in state UP
    Nov  6 20:09:08 location60 mpd: [pppoe] link: UP event
    Nov  6 20:09:08 location60 mpd: [pppoe] link: origination is local
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: Up event
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: state change Starting –> Req-Sent
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: phase shift DEAD –> ESTABLISH
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: SendConfigReq #5
    Nov  6 20:09:08 location60 mpd:  MRU 1492
    Nov  6 20:09:08 location60 mpd:  MAGICNUM 2077a73a
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: rec'd Configure Request #1 link 0 (Req-Sent)
    Nov  6 20:09:08 location60 mpd:  MRU 1492
    Nov  6 20:09:08 location60 mpd:  AUTHPROTO PAP
    Nov  6 20:09:08 location60 mpd:  MAGICNUM 97c016ff
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: SendConfigAck #1
    Nov  6 20:09:08 location60 mpd:  MRU 1492
    Nov  6 20:09:08 location60 mpd:  AUTHPROTO PAP
    Nov  6 20:09:08 location60 mpd:  MAGICNUM 97c016ff
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: state change Req-Sent –> Ack-Sent
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: rec'd Configure Ack #5 link 0 (Ack-Sent)
    Nov  6 20:09:08 location60 mpd:  MRU 1492
    Nov  6 20:09:08 location60 mpd:  MAGICNUM 2077a73a
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: state change Ack-Sent –> Opened
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: phase shift ESTABLISH –> AUTHENTICATE
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: auth: peer wants PAP, I want nothing
    Nov  6 20:09:08 location60 mpd: [pppoe] PAP: using authname "xxxxxxxxxx@xxxx.xxxxxx"
    Nov  6 20:09:08 location60 mpd: [pppoe] PAP: sending REQUEST
    Nov  6 20:09:08 location60 mpd: [pppoe] LCP: LayerUp
    Nov  6 20:09:10 location60 mpd: [pppoe] PAP: using authname "xxxxxxxxxx@xxxx.xxxxxx"
    Nov  6 20:09:10 location60 mpd: [pppoe] PAP: sending REQUEST
    Nov  6 20:09:12 location60 mpd: [pppoe] PAP: using authname "xxxxxxxxxx@xxxx.xxxxxx"
    Nov  6 20:09:12 location60 mpd: [pppoe] PAP: sending REQUEST
    Nov  6 20:09:12 location60 mpd: [pppoe] rec'd signal usr1, opening
    Nov  6 20:09:12 location60 mpd: [pppoe] IPCP: Open event
    Nov  6 20:09:12 location60 mpd: [pppoe] bundle: OPEN event in state OPENED
    Nov  6 20:09:12 location60 mpd: [pppoe] opening link "pppoe"…
    Nov  6 20:09:12 location60 mpd: [pppoe] link: OPEN event
    Nov  6 20:09:12 location60 mpd: [pppoe] LCP: Open event
    Nov  6 20:09:13 location60 mpd: [pppoe] PAP: rec'd ACK #3
    Nov  6 20:09:13 location60 mpd: [pppoe] LCP: authorization successful
    Nov  6 20:09:13 location60 mpd: [pppoe] LCP: phase shift AUTHENTICATE –> NETWORK
    Nov  6 20:09:13 location60 mpd: [pppoe] setting interface ng0 MTU to 1492 bytes
    Nov  6 20:09:13 location60 mpd: [pppoe] up: 1 link, total bandwidth 64000 bps
    Nov  6 20:09:13 location60 mpd: [pppoe] IPCP: Up event
    Nov  6 20:09:13 location60 mpd: [pppoe] IPCP: state change Starting –> Req-Sent
    Nov  6 20:09:13 location60 mpd: [pppoe] IPCP: SendConfigReq #11
    Nov  6 20:09:13 location60 mpd:  IPADDR 0.0.0.0
    Nov  6 20:09:13 location60 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Nov  6 20:09:13 location60 mpd:  PRIDNS 0.0.0.0
    Nov  6 20:09:13 location60 mpd:  SECDNS 0.0.0.0
    Nov  6 20:09:13 location60 mpd: [pppoe] error writing len 32 frame to bypass: Network is down
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: rec'd Configure Request #2 link 0 (Req-Sent)
    Nov  6 20:09:15 location60 mpd:  IPADDR 163.121.170.98
    Nov  6 20:09:15 location60 mpd:    163.121.170.98 is OK
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: SendConfigAck #2
    Nov  6 20:09:15 location60 mpd:  IPADDR 163.121.170.98
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: state change Req-Sent –> Ack-Sent
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: SendConfigReq #12
    Nov  6 20:09:15 location60 mpd:  IPADDR 0.0.0.0
    Nov  6 20:09:15 location60 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Nov  6 20:09:15 location60 mpd:  PRIDNS 0.0.0.0
    Nov  6 20:09:15 location60 mpd:  SECDNS 0.0.0.0
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: rec'd Configure Reject #12 link 0 (Ack-Sent)
    Nov  6 20:09:15 location60 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: SendConfigReq #13
    Nov  6 20:09:15 location60 mpd:  IPADDR 0.0.0.0
    Nov  6 20:09:15 location60 mpd:  PRIDNS 0.0.0.0
    Nov  6 20:09:15 location60 mpd:  SECDNS 0.0.0.0
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: rec'd Configure Nak #13 link 0 (Ack-Sent)
    Nov  6 20:09:15 location60 mpd:  IPADDR 172.25.121.65
    Nov  6 20:09:15 location60 mpd:    172.25.121.65 is OK
    Nov  6 20:09:15 location60 mpd:  PRIDNS 163.121.128.134
    Nov  6 20:09:15 location60 mpd:  SECDNS 163.121.128.135
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: SendConfigReq #14
    Nov  6 20:09:15 location60 mpd:  IPADDR 172.25.121.65
    Nov  6 20:09:15 location60 mpd:  PRIDNS 163.121.128.134
    Nov  6 20:09:15 location60 mpd:  SECDNS 163.121.128.135
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: rec'd Configure Ack #14 link 0 (Ack-Sent)
    Nov  6 20:09:15 location60 mpd:  IPADDR 172.25.121.65
    Nov  6 20:09:15 location60 mpd:  PRIDNS 163.121.128.134
    Nov  6 20:09:15 location60 mpd:  SECDNS 163.121.128.135
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: state change Ack-Sent –> Opened
    Nov  6 20:09:15 location60 mpd: [pppoe] IPCP: LayerUp
    Nov  6 20:09:15 location60 mpd:  172.25.121.65 -> 163.121.170.98
    Nov  6 20:09:15 location60 mpd: [pppoe] IFACE: Up event
    Nov  6 20:09:15 location60 mpd: [pppoe] setting interface ng0 MTU to 1492 bytes
    Nov  6 20:09:15 location60 mpd: [pppoe] exec: /sbin/ifconfig ng0 172.25.121.65 163.121.170.98 netmask 0xffffffff -link0
    Nov  6 20:09:15 location60 mpd: [pppoe] exec: /sbin/route add 172.25.121.65 -iface lo0
    Nov  6 20:09:15 location60 mpd: [pppoe] exec: /sbin/route add 0.0.0.0 163.121.170.98
    Nov  6 20:09:15 location60 mpd: [pppoe] exec: /usr/local/sbin/ppp-linkup ng0 inet 172.25.121.65 163.121.170.98 xxxxxxxxxx@xxxx.xxxxxx dns1 163.121.128.134 dns2 163.121.128.135
    Nov  6 20:09:15 location60 mpd: [pppoe] IFACE: Up event
    Nov  6 20:09:16 location60 mpd: [pppoe] rec'd signal usr1, opening
    Nov  6 20:09:16 location60 mpd: [pppoe] IPCP: Open event
    Nov  6 20:09:16 location60 mpd: [pppoe] bundle: OPEN event in state OPENED
    Nov  6 20:09:16 location60 mpd: [pppoe] opening link "pppoe"…
    Nov  6 20:09:16 location60 mpd: [pppoe] link: OPEN event
    Nov  6 20:09:16 location60 mpd: [pppoe] LCP: Open event


  • Rebel Alliance Developer Netgate

    That address (172.25.121.65) is being passed to you from your ISP, then. You may need to ask them if there is some other router setting such as PPPoE service name that needs set, or for more specific guidance on why you aren't getting a public IP.



  • @jimp:

    That address (172.25.121.65) is being passed to you from your ISP, then. You may need to ask them if there is some other router setting such as PPPoE service name that needs set, or for more specific guidance on why you aren't getting a public IP.

    where would that setting go in pfsense? we are calling them now to see if something else needs to be set


  • Rebel Alliance Developer Netgate

    On the WAN config page there is a field for that in the PPPoE section.



  • @jimp:

    On the WAN config page there is a field for that in the PPPoE section.

    ISP changed the PPPoe password on us, called ISP got the correct password, everything works perfect!!! thanks for the help


Log in to reply