Pppoe reconnect issues



  • from the past month or so it seems the pppoe reconnect issue has started to happen again. if i pull the wan plug or if the connection resets from the isp then pfsense isnt able to reconnect at all, same is the situation even if u try to go to interfaces and manually click the connect button, it just doesnt reconenct and the only solution is to restart the box.

    when the wan connection resets the below is the log when pf tries reconnect

    Mar 26 12:38:54 	ppp: [wan_link0] Link: reconnection attempt 1
    Mar 26 12:38:54 	ppp: [wan_link0] PPPoE: Connecting to ''
    Mar 26 12:39:03 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 26 12:39:03 	ppp: [wan_link0] Link: DOWN event
    Mar 26 12:39:03 	ppp: [wan_link0] LCP: Down event
    Mar 26 12:39:03 	ppp: [wan_link0] Link: reconnection attempt 2 in 2 seconds
    Mar 26 12:39:05 	ppp: [wan_link0] Link: reconnection attempt 2
    Mar 26 12:39:05 	ppp: [wan_link0] PPPoE: Connecting to ''
    Mar 26 12:39:14 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 26 12:39:14 	ppp: [wan_link0] Link: DOWN event
    Mar 26 12:39:14 	ppp: [wan_link0] LCP: Down event
    Mar 26 12:39:14 	ppp: [wan_link0] Link: reconnection attempt 3 in 4 seconds
    Mar 26 12:39:18 	ppp: [wan_link0] Link: reconnection attempt 3
    Mar 26 12:39:18 	ppp: [wan_link0] PPPoE: Connecting to ''
    Mar 26 12:39:27 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 26 12:39:28 	ppp: [wan_link0] Link: DOWN event
    Mar 26 12:39:28 	ppp: [wan_link0] LCP: Down event
    Mar 26 12:39:28 	ppp: [wan_link0] Link: reconnection attempt 4 in 3 seconds
    Mar 26 12:39:31 	ppp: [wan_link0] Link: reconnection attempt 4
    Mar 26 12:39:31 	ppp: [wan_link0] PPPoE: Connecting to ''
    Mar 26 12:39:40 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 26 12:39:40 	ppp: [wan_link0] Link: DOWN event
    Mar 26 12:39:40 	ppp: [wan_link0] LCP: Down event
    Mar 26 12:39:40 	ppp: [wan_link0] Link: reconnection attempt 5 in 3 seconds
    Mar 26 12:39:43 	ppp: [wan_link0] Link: reconnection attempt 5
    Mar 26 12:39:43 	ppp: [wan_link0] PPPoE: Connecting to ''
    Mar 26 12:39:52 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 26 12:39:52 	ppp: [wan_link0] Link: DOWN event
    Mar 26 12:39:52 	ppp: [wan_link0] LCP: Down event
    Mar 26 12:39:52 	ppp: [wan_link0] Link: reconnection attempt 6 in 2 seconds
    Mar 26 12:39:54 	ppp: [wan_link0] Link: reconnection attempt 6
    Mar 26 12:39:54 	ppp: [wan_link0] PPPoE: Connecting to ''
    Mar 26 12:40:03 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 26 12:40:03 	ppp: [wan_link0] Link: DOWN event
    Mar 26 12:40:03 	ppp: [wan_link0] LCP: Down event
    Mar 26 12:40:03 	ppp: [wan_link0] Link: reconnection attempt 7 in 3 seconds
    Mar 26 12:40:06 	ppp: [wan_link0] Link: reconnection attempt 7
    Mar 26 12:40:06 	ppp: [wan_link0] PPPoE: Connecting to ''
    Mar 26 12:40:15 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 26 12:40:15 	ppp: [wan_link0] Link: DOWN event
    Mar 26 12:40:15 	ppp: [wan_link0] LCP: Down event
    Mar 26 12:40:15 	ppp: [wan_link0] Link: reconnection attempt 8 in 1 seconds
    Mar 26 12:40:16 	ppp: [wan_link0] Link: reconnection attempt 8
    Mar 26 12:40:16 	ppp: [wan_link0] PPPoE: Connecting to ''
    Mar 26 12:40:25 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 26 12:40:25 	ppp: [wan_link0] Link: DOWN event
    Mar 26 12:40:25 	ppp: [wan_link0] LCP: Down event
    Mar 26 12:40:25 	ppp: [wan_link0] Link: reconnection attempt 9 in 4 seconds
    Mar 26 12:40:29 	ppp: [wan_link0] Link: reconnection attempt 9
    Mar 26 12:40:29 	ppp: [wan_link0] PPPoE: Connecting to ''
    

    and when u click the connect button manually

    Mar 26 12:40:47 	ppp: Multi-link PPP daemon for FreeBSD
    Mar 26 12:40:47 	ppp:
    Mar 26 12:40:47 	ppp: process 19928 started, version 5.5 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 12:53 21-Feb-2011)
    Mar 26 12:40:47 	ppp: caught fatal signal term
    Mar 26 12:40:47 	ppp: [wan] IFACE: Close event
    Mar 26 12:40:47 	ppp: [wan] IPCP: Close event
    Mar 26 12:40:47 	ppp: waiting for process 10210 to die...
    Mar 26 12:40:49 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
    Mar 26 12:40:49 	ppp: [wan_link0] Link: DOWN event
    Mar 26 12:40:49 	ppp: [wan_link0] Link: giving up after 10 reconnection attempts
    Mar 26 12:40:49 	ppp: [wan_link0] LCP: Close event
    Mar 26 12:40:49 	ppp: [wan_link0] LCP: state change Starting --> Initial
    Mar 26 12:40:49 	ppp: [wan_link0] LCP: LayerFinish
    Mar 26 12:40:49 	ppp: [wan_link0] LCP: Down event
    Mar 26 12:40:49 	ppp: [wan] Bundle: Shutdown
    Mar 26 12:40:49 	ppp: [wan_link0] Link: Shutdown
    Mar 26 12:40:49 	ppp: process 10210 terminated
    Mar 26 12:40:50 	ppp: last message repeated 2 times
    Mar 26 12:40:50 	ppp: web: web is not running
    Mar 26 12:40:50 	ppp: [wan] Bundle: Interface ng0 created
    Mar 26 12:40:50 	ppp: [wan_link0] Link: OPEN event
    Mar 26 12:40:50 	ppp: [wan_link0] LCP: Open event
    Mar 26 12:40:50 	ppp: [wan_link0] LCP: state change Initial --> Starting
    Mar 26 12:40:50 	ppp: [wan_link0] LCP: LayerStart
    Mar 26 12:40:50 	ppp: [wan_link0] PPPoE: Connecting to ''
    


  • am i only the one or what because old snaps dont have this issue coz it was fixed but i guess recent changes have made this issue popup again, at least for me.



  • do a search ;)
    i've had major issues with pppoe and ppp reconnects.
    I haven't tried any snapshots in the last week though.
    Am currently trialing vyatta on the same hardware with no issues whatsoever so I suspect it is something to do with pfsense.
    I'll get enthused again soon and have another go at it as I'd much prefer the user interface on pfsense.



  • Same issue here on 4/7 build, halp?



  • Can you guys revert to the 4-1 build?  Im using that with no problems connecting using that one…

    Id try the latest build but that box is remote so Id have to wait till tomorrow...



  • @chpalmer:

    Can you guys revert to the 4-1 build?   Im using that with no problems connecting using that one…

    Id try the latest build but that box is remote so Id have to wait till tomorrow...

    nano or full?

    I've been using the nano version.
    will give the 4/1 nano build a try when I get back to the office later today. and i'll dig up a hd and try the full build



  • Full.



  • i was using the 4/1 nano build and have just spent a couple of hours playing with the 4/7 full build.
    no success.
    the symptoms I see are several initial attempts to connect. if it fails at this stage it never reconnects. just keeps on retrying over and over.



  • I had helluva time with PPPoE in 2.0 but finally figured it all out:
    http://forum.pfsense.org/index.php/topic,35475.msg183559.html#msg183559
    I suspect the config files the admin writes are F'd up with stray/corrupt settings so the daemon freaks & gives odd logging.  Once it does it I've had to start over as no amount of changing settings in existing PPP profiles seemed to help. Plus it seemed once one was messed up (I have 3 wans, 2 are PPPoE other is static) none worked right.  The 1st few times it happened the way I ended up 'fixing' was reinstalling pfsense fresh (PITFA for sure) but later I found deleting & creating over after reboot (as described in above post) did the trick for me. YMMV of course, just sharing what I found over many many hours of frustration.

    I've had it happen on nano & full so doesn't seem restricted to just one build.
    Bill


Log in to reply