Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PPPoE reconenction fix - mpd fix ($100)

    Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
    243 Posts 24 Posters 188.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • w0wW
      w0w
      last edited by

      xbipin
      looks like
      "ifconfig em0 down
      ifconfig em0 up"
      works but delayed.

      Actually I've written another one startup script

      
      #!/bin/sh
      IP=`/usr/bin/netstat -rn | /usr/bin/grep 'default' | /usr/bin/awk '{ print $2}'`
      /sbin/ping -c 2 $IP > /dev/null
      if [ $? != 0 ] ; then
      /sbin/ifconfig em0 down
      /sbin/ifconfig em0 up
          if  /bin/ps auxww | /usr/bin/grep -e shutdown | /usr/bin/grep -v grep > /dev/null ; then
      	echo "shutdown running"
      	else
      	echo "starting shutdown/reboot of pfsense"
      	/sbin/shutdown -r +5
      fi
          fi
      
      

      I've named it "ppp_force_linkup.sh" in the /usr/bin/ (Don't forget to change access to the file via WinSCP - properties - Octal: 0755 aka rwxr-xr-x  )

      Next I've downloaded config and edited:

      /usr/local/sbin/expiretable -v -t 3600 sshlockout
      
      -------------------------------------inserted code begin-----------------------------------------------------------
      		 <minute>*/30</minute>
      			<hour>*</hour>
      			<mday>*</mday>
      			<month>*</month>
      			<wday>*</wday>
      			<who>root</who>
      			<command></command>/usr/bin/nice -n20 /usr/bin/ppp_force_linkup.sh 
      -------------------------------------inserted code end-----------------------------------------------------------
      		 <minute>1</minute>
      			<hour>1</hour>
      			<mday>*</mday>
      			<month>*</month>
      			<wday>*</wday>
      			<who>root</who>
      			<command></command>/usr/bin/nice -n20 /etc/rc.dyndns.update 
      		 <minute>*/60</minute>
      			<hour>*</hour>
      			<mday>*</mday>
      			<month>*</month>
      			<wday>*</wday> 
      

      Every 30 min script looks for current getaway IP, pings it and if no success then it restarts the  link and reboot is sheduled. if you are using previously modded ppp-linkup and ppp connection is established in that time, then sheduled reboot is canceled as it should be.
      All those mods are needed only for the 2.0x branch, I think, this script was made for those situations, when PC is rebooted but no PPPoE link established for some reason or mpd runned into "stuck" mode or somethin else…
      Even having this script enabled, I've got situation when getaway ping was OK but pinging any internet server
      was failed (ISP problem, actually)

      So may be it's better to ping some www.google.com instead of pinging ISP getaway
      something like that:
      delete
      IP=/usr/bin/netstat -rn | /usr/bin/grep 'default' | /usr/bin/awk '{ print $2}'
      /sbin/ping -c 2 $IP > /dev/null

      and
      write only
      /sbin/ping -c 2 www.google.com > /dev/null

      But if it is ISP problem, then reboot does not help, so I've preffered to ping ISP getaway

      xbipin
      Have you tried new 2.1 builds already? My reconnection bug is gone completely.
      [2.1-BETA0][root@pfhacom.xxxnetxxx]/root(1): mpd5 -v
      Version 5.6 (root@base-8_3-i386.builders.pfsense.org 21:22  6-Aug-2012)
      works great for me.
      I am not sure about other things as it is BETA0 :)
      At least you can try, don't forget to backup your config or do full backup.
      Before update don't forget to select the update source in "System: Firmware: Updater Settings"
      http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/i386/pfSense_HEAD/.updaters
      and check also
      "Allow auto-update firmware images with a missing or invalid digital signature to be used." and
      "After updating, sync with the following repository/branch before reboot." (branch: master and repository url: git://github.com/bsdperimeter/pfsense.git )

      Good luck :)

      1 Reply Last reply Reply Quote 0
      • X
        xbipin
        last edited by

        thanks w0w, actually the first script works which u gave earlier so ill stick to that for now, i was planning to move to 2.1 but problem is its too early for that as it seems there r still many bugs in the core system functionality so ill wait a bit its its more stable

        things i need to work properly r
        upnp
        dhcp
        static arp
        traffic shaper
        limiter
        pppoe
        openvpn client
        accesspoint
        aliases
        NAT
        firewall rules

        1 Reply Last reply Reply Quote 0
        • w0wW
          w0w
          last edited by

          I hope stable release coming mid-October.
          Currently
          upnp - OK for me
          dhcp - OK on LAN
          static arp - OK
          traffic shaper - fixed some time ago, OK
          limiter - may be :)
          pppoe - OK
          openvpn client - don't know
          accesspoint - don't know
          aliases - OK
          NAT - OK (IPV4)
          firewall rules -  OK

          1 Reply Last reply Reply Quote 0
          • X
            xbipin
            last edited by

            im on 2.1 and the problem still persists, can u provide some patch like u did for 2.0.1

            1 Reply Last reply Reply Quote 0
            • w0wW
              w0w
              last edited by

              That's strange, xbipin, that the problem still persists.. try to add only
              ifconfig em0 down
              ifconfig em0 up
              those to the ppp-linkdown and look what is happening
              or just do the full modification similar to old version

              1 Reply Last reply Reply Quote 0
              • X
                xbipin
                last edited by

                ill try the old patch u gave on this and let u know.

                i dont think the mpd etc has changed from 2.0.1 to 2.1 thats y the problem persists

                1 Reply Last reply Reply Quote 0
                • X
                  xbipin
                  last edited by

                  the old hack still works except some errors popup during boot saying itnerface vr1 not available or something like that but it connects eventually and even if i reset my isp modem or unplug cable etc still manages to connect within 3 mins

                  1 Reply Last reply Reply Quote 0
                  • w0wW
                    w0w
                    last edited by

                    from 2.0.x to 2.1 there is changed freebsd version from 8.1 to 8.3 and mpd is also 5.6 compiled in august.

                    1 Reply Last reply Reply Quote 0
                    • X
                      xbipin
                      last edited by

                      but still doesnt solve my issue

                      1 Reply Last reply Reply Quote 0
                      • F
                        flipmoo
                        last edited by

                        im running into the same issue here.
                        i just switched to pfSense to get WANFailover.
                        i have 2 WANs, 16MBit DSL and 50MBit VDSL

                        after initioal install everything is running right. For testing i powered off the VDSL Modem, Gateway is recognized as down, WAN Failover goes to DSL connection.
                        BUT after repowering the VDSL connection (Telekom) no automatic reconnect. Not even a manual reconnect. The Interface does not get any IP information, though the status is connected…
                        now i just run with my slow conenction.

                        i tryed 386 and amd64 version and also 2.0.1 and 2.1
                        seeing that this issue exists for a long time now, i doubt that pfSense is the product of my choice. It looks very prommising, but essentials like the PPPoE connect just need to work properly!

                        I hope that the Developers give it a fast try of fixing, so i can stay with this firewall/router distribution.

                        thx in advance

                        1 Reply Last reply Reply Quote 0
                        • X
                          xbipin
                          last edited by

                          actually its not a pfsense issue but some incompatibility with mpd and the pppoe server by the isp which has some security feature enabled and it seems many isp run the same hardware thats y more ppl will have the same issue sooner or later.

                          u can try the first patch posted by wow as i use that and works as of now to fix it temporarily.

                          i wonder how the local routers in my region reconnect fine without issues, actually all of them, only pfsense has this issue

                          1 Reply Last reply Reply Quote 0
                          • F
                            flipmoo
                            last edited by

                            yeah… even the cheapest ones are doin it right... kinda disappointing.
                            allright.. i gonna try that, though i am very unexperanced with bsd and coding in genaral :(

                            thx for the quick advice!

                            1 Reply Last reply Reply Quote 0
                            • F
                              flipmoo
                              last edited by

                              thx xbipin, the reconnect works now.
                              but my failover is not working anymore.. do i need to reconfigure that competely?

                              1 Reply Last reply Reply Quote 0
                              • F
                                flipmoo
                                last edited by

                                actually… i just powerdowned the VDSL modem again and it doesnt come up again...
                                it worked the first time as i rebooted the pfSense (which didnt help before)

                                damn...

                                1 Reply Last reply Reply Quote 0
                                • X
                                  xbipin
                                  last edited by

                                  some1 plz fix it (take up the bounty) coz i tried the same on a client machine in a different country (India) and the issue is still there, its mostly with new isp using FTTH network with their fiber optic modems placed at customer locations or cable connections

                                  isp modems tried with

                                  Zhone (FTTH)
                                  Cisco (cable connection)
                                  huawei (FTTH and cable connection both)

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    eri--
                                    last edited by

                                    Ok can you please modify the gnerated config.
                                    Where there is a commented line #log -ccp …..
                                    Add 'log all' and post the information here.

                                    1 Reply Last reply Reply Quote 0
                                    • X
                                      xbipin
                                      last edited by

                                      where can i find the config in?

                                      1 Reply Last reply Reply Quote 0
                                      • X
                                        xbipin
                                        last edited by

                                        i edited this file /var/etc/mpd_wan.conf but it doesnt survive a reboot even with edit done using rw mode

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          eri--
                                          last edited by

                                          Put it under /conf and it will be used.
                                          Or modify /etc/inc/interfaces.inc

                                          1 Reply Last reply Reply Quote 0
                                          • X
                                            xbipin
                                            last edited by

                                            the log is after i reset my isp modem

                                            Nov 23 17:29:47 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:29:47 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout()
                                            Nov 23 17:29:47 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout() done
                                            Nov 23 17:29:47 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:29:57 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:29:57 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout()
                                            Nov 23 17:29:57 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout() done
                                            Nov 23 17:29:57 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:30:07 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:30:07 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout()
                                            Nov 23 17:30:07 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout() done
                                            Nov 23 17:30:07 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:30:17 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:30:17 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout()
                                            Nov 23 17:30:17 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout() done
                                            Nov 23 17:30:17 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:30:27 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:30:27 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout()
                                            Nov 23 17:30:27 	ppp: [wan_link0] LCP: SendEchoReq #1
                                            Nov 23 17:30:27 	ppp: [wan] xmit bypass frame link=0 proto=0xc021
                                            Nov 23 17:30:27 	ppp: 00 00 c0 21 09 01 00 08 0b 76 9e 5c ...!.....v.\
                                            Nov 23 17:30:27 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout() done
                                            Nov 23 17:30:27 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:30:27 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:30:27 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout()
                                            Nov 23 17:30:27 	ppp: [wan_link0] LCP: SendEchoReq #1
                                            Nov 23 17:30:27 	ppp: [wan] xmit bypass frame link=0 proto=0xc021
                                            Nov 23 17:30:27 	ppp: 00 00 c0 21 09 01 00 08 0b 76 9e 5c ...!.....v.\
                                            Nov 23 17:30:27 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout() done
                                            Nov 23 17:30:27 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:30:37 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:30:37 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout()
                                            Nov 23 17:30:37 	ppp: [wan_link0] LCP: no reply to 1 echo request(s)
                                            Nov 23 17:30:37 	ppp: [wan_link0] LCP: SendEchoReq #2
                                            Nov 23 17:30:37 	ppp: [wan] xmit bypass frame link=0 proto=0xc021
                                            Nov 23 17:30:37 	ppp: 00 00 c0 21 09 02 00 08 0b 76 9e 5c ...!.....v.\
                                            Nov 23 17:30:37 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout() done
                                            Nov 23 17:30:37 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:30:47 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:30:47 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout()
                                            Nov 23 17:30:47 	ppp: [wan_link0] LCP: no reply to 2 echo request(s)
                                            Nov 23 17:30:47 	ppp: [wan_link0] LCP: SendEchoReq #3
                                            Nov 23 17:30:47 	ppp: [wan] xmit bypass frame link=0 proto=0xc021
                                            Nov 23 17:30:47 	ppp: 00 00 c0 21 09 03 00 08 0b 76 9e 5c ...!.....v.\
                                            Nov 23 17:30:47 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout() done
                                            Nov 23 17:30:47 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:30:57 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:30:57 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout()
                                            Nov 23 17:30:57 	ppp: [wan_link0] LCP: no reply to 3 echo request(s)
                                            Nov 23 17:30:57 	ppp: [wan_link0] LCP: SendEchoReq #4
                                            Nov 23 17:30:57 	ppp: [wan] xmit bypass frame link=0 proto=0xc021
                                            Nov 23 17:30:57 	ppp: 00 00 c0 21 09 04 00 08 0b 76 9e 5c ...!.....v.\
                                            Nov 23 17:30:57 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout() done
                                            Nov 23 17:30:57 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:31:07 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:31:07 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout()
                                            Nov 23 17:31:07 	ppp: [wan_link0] LCP: no reply to 4 echo request(s)
                                            Nov 23 17:31:07 	ppp: [wan_link0] LCP: SendEchoReq #5
                                            Nov 23 17:31:07 	ppp: [wan] xmit bypass frame link=0 proto=0xc021
                                            Nov 23 17:31:07 	ppp: 00 00 c0 21 09 05 00 08 0b 76 9e 5c ...!.....v.\
                                            Nov 23 17:31:07 	ppp: EVENT: Processing timer "FsmKeepAlive" FsmEchoTimeout() done
                                            Nov 23 17:31:07 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            
                                            Nov 23 17:31:23 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
                                            Nov 23 17:31:23 	ppp: [wan_link0] LCP: Down event
                                            Nov 23 17:31:23 	ppp: [wan_link0] LCP: state change Stopped --> Starting
                                            Nov 23 17:31:23 	ppp: [wan_link0] LCP: phase shift ESTABLISH --> DEAD
                                            Nov 23 17:31:23 	ppp: EVENT: Stopping timer "LCP" FsmTimeout() at fsm.c:190
                                            Nov 23 17:31:23 	ppp: [wan_link0] LCP: LayerStart
                                            Nov 23 17:31:23 	ppp: [wan_link0] Link: reconnection attempt 1 in 4 seconds
                                            Nov 23 17:31:23 	ppp: EVENT: Processing event EVENT_READ PppoeCtrlReadEvent() done
                                            Nov 23 17:31:23 	ppp: EVENT: Processing event EVENT_READ MsgEvent()
                                            Nov 23 17:31:23 	ppp: EVENT: Message 2 to PhysMsg() received
                                            Nov 23 17:31:23 	ppp: [wan_link0] device: CLOSE event
                                            Nov 23 17:31:23 	ppp: EVENT: Message 2 to PhysMsg() processed
                                            Nov 23 17:31:23 	ppp: EVENT: Processing event EVENT_READ MsgEvent() done
                                            Nov 23 17:31:27 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:31:27 	ppp: EVENT: Processing timer "PhysOpen" LinkReopenTimeout()
                                            Nov 23 17:31:27 	ppp: [wan_link0] Link: reconnection attempt 1
                                            Nov 23 17:31:27 	ppp: EVENT: Message 1 to PhysMsg() sent
                                            Nov 23 17:31:27 	ppp: EVENT: Processing timer "PhysOpen" LinkReopenTimeout() done
                                            Nov 23 17:31:27 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:31:27 	ppp: EVENT: Processing event EVENT_READ MsgEvent()
                                            Nov 23 17:31:27 	ppp: EVENT: Message 1 to PhysMsg() received
                                            Nov 23 17:31:27 	ppp: [wan_link0] device: OPEN event
                                            Nov 23 17:31:27 	ppp: [wan_link0] PPPoE: Connecting to ''
                                            Nov 23 17:31:27 	ppp: EVENT: Starting timer "PPPoE-connect" PppoeConnectTimeout() for 9000 ms at pppoe.c:342
                                            Nov 23 17:31:27 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
                                            Nov 23 17:31:27 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
                                            Nov 23 17:31:27 	ppp: EVENT: Message 1 to PhysMsg() processed
                                            Nov 23 17:31:27 	ppp: EVENT: Processing event EVENT_READ MsgEvent() done
                                            Nov 23 17:31:36 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:31:36 	ppp: EVENT: Processing timer "PPPoE-connect" PppoeConnectTimeout()
                                            Nov 23 17:31:36 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
                                            Nov 23 17:31:36 	ppp: EVENT: Stopping timer "PPPoE-connect" PppoeConnectTimeout() at pppoe.c:424
                                            Nov 23 17:31:36 	ppp: [wan_link0] device: DOWN event
                                            Nov 23 17:31:36 	ppp: [wan_link0] Link: DOWN event
                                            Nov 23 17:31:36 	ppp: EVENT: Stopping timer "PhysOpen" LinkReopenTimeout() at link.c:274
                                            Nov 23 17:31:36 	ppp: EVENT: Starting timer "PhysOpen" LinkReopenTimeout() for 4000 ms at link.c:277
                                            Nov 23 17:31:36 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
                                            Nov 23 17:31:36 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
                                            Nov 23 17:31:36 	ppp: [wan_link0] LCP: Down event
                                            Nov 23 17:31:36 	ppp: [wan_link0] Link: reconnection attempt 2 in 4 seconds
                                            Nov 23 17:31:36 	ppp: EVENT: Processing timer "PPPoE-connect" PppoeConnectTimeout() done
                                            Nov 23 17:31:36 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:31:36 	ppp: EVENT: Processing event EVENT_READ PppoeCtrlReadEvent()
                                            Nov 23 17:31:36 	ppp: EVENT: Processing event EVENT_READ PppoeCtrlReadEvent() done
                                            Nov 23 17:31:40 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:31:40 	ppp: EVENT: Processing timer "PhysOpen" LinkReopenTimeout()
                                            Nov 23 17:31:40 	ppp: [wan_link0] Link: reconnection attempt 2
                                            Nov 23 17:31:40 	ppp: EVENT: Message 1 to PhysMsg() sent
                                            Nov 23 17:31:40 	ppp: EVENT: Processing timer "PhysOpen" LinkReopenTimeout() done
                                            Nov 23 17:31:40 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:31:40 	ppp: EVENT: Processing event EVENT_READ MsgEvent()
                                            Nov 23 17:31:40 	ppp: EVENT: Message 1 to PhysMsg() received
                                            Nov 23 17:31:40 	ppp: [wan_link0] device: OPEN event
                                            Nov 23 17:31:40 	ppp: [wan_link0] PPPoE: Connecting to ''
                                            Nov 23 17:31:40 	ppp: EVENT: Starting timer "PPPoE-connect" PppoeConnectTimeout() for 9000 ms at pppoe.c:342
                                            Nov 23 17:31:40 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
                                            Nov 23 17:31:40 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
                                            Nov 23 17:31:40 	ppp: EVENT: Message 1 to PhysMsg() processed
                                            Nov 23 17:31:40 	ppp: EVENT: Processing event EVENT_READ MsgEvent() done
                                            Nov 23 17:31:49 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:31:49 	ppp: EVENT: Processing timer "PPPoE-connect" PppoeConnectTimeout()
                                            Nov 23 17:31:49 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
                                            Nov 23 17:31:49 	ppp: EVENT: Stopping timer "PPPoE-connect" PppoeConnectTimeout() at pppoe.c:424
                                            Nov 23 17:31:49 	ppp: [wan_link0] device: DOWN event
                                            Nov 23 17:31:49 	ppp: [wan_link0] Link: DOWN event
                                            Nov 23 17:31:49 	ppp: EVENT: Stopping timer "PhysOpen" LinkReopenTimeout() at link.c:274
                                            Nov 23 17:31:49 	ppp: EVENT: Starting timer "PhysOpen" LinkReopenTimeout() for 1000 ms at link.c:277
                                            Nov 23 17:31:49 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
                                            Nov 23 17:31:49 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
                                            Nov 23 17:31:49 	ppp: [wan_link0] LCP: Down event
                                            Nov 23 17:31:49 	ppp: [wan_link0] Link: reconnection attempt 3 in 1 seconds
                                            Nov 23 17:31:49 	ppp: EVENT: Processing timer "PPPoE-connect" PppoeConnectTimeout() done
                                            Nov 23 17:31:49 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:31:49 	ppp: EVENT: Processing event EVENT_READ PppoeCtrlReadEvent()
                                            Nov 23 17:31:49 	ppp: EVENT: Processing event EVENT_READ PppoeCtrlReadEvent() done
                                            
                                            Nov 23 17:32:01 	ppp: [wan_link0] Link: reconnection attempt 4
                                            Nov 23 17:32:01 	ppp: EVENT: Message 1 to PhysMsg() sent
                                            Nov 23 17:32:01 	ppp: EVENT: Processing timer "PhysOpen" LinkReopenTimeout() done
                                            Nov 23 17:32:01 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:32:01 	ppp: EVENT: Processing event EVENT_READ MsgEvent()
                                            Nov 23 17:32:01 	ppp: EVENT: Message 1 to PhysMsg() received
                                            Nov 23 17:32:01 	ppp: [wan_link0] device: OPEN event
                                            Nov 23 17:32:01 	ppp: [wan_link0] PPPoE: Connecting to ''
                                            Nov 23 17:32:01 	ppp: EVENT: Starting timer "PPPoE-connect" PppoeConnectTimeout() for 9000 ms at pppoe.c:342
                                            Nov 23 17:32:01 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
                                            Nov 23 17:32:01 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
                                            Nov 23 17:32:01 	ppp: EVENT: Message 1 to PhysMsg() processed
                                            Nov 23 17:32:01 	ppp: EVENT: Processing event EVENT_READ MsgEvent() done
                                            Nov 23 17:32:10 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:32:10 	ppp: EVENT: Processing timer "PPPoE-connect" PppoeConnectTimeout()
                                            Nov 23 17:32:10 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
                                            Nov 23 17:32:10 	ppp: EVENT: Stopping timer "PPPoE-connect" PppoeConnectTimeout() at pppoe.c:424
                                            Nov 23 17:32:10 	ppp: [wan_link0] device: DOWN event
                                            Nov 23 17:32:10 	ppp: [wan_link0] Link: DOWN event
                                            Nov 23 17:32:10 	ppp: EVENT: Stopping timer "PhysOpen" LinkReopenTimeout() at link.c:274
                                            Nov 23 17:32:10 	ppp: EVENT: Starting timer "PhysOpen" LinkReopenTimeout() for 3000 ms at link.c:277
                                            Nov 23 17:32:10 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
                                            Nov 23 17:32:10 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
                                            Nov 23 17:32:10 	ppp: [wan_link0] LCP: Down event
                                            Nov 23 17:32:10 	ppp: [wan_link0] Link: reconnection attempt 5 in 3 seconds
                                            Nov 23 17:32:10 	ppp: EVENT: Processing timer "PPPoE-connect" PppoeConnectTimeout() done
                                            Nov 23 17:32:10 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:32:10 	ppp: EVENT: Processing event EVENT_READ PppoeCtrlReadEvent()
                                            Nov 23 17:32:10 	ppp: EVENT: Processing event EVENT_READ PppoeCtrlReadEvent() done
                                            Nov 23 17:32:13 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:32:13 	ppp: EVENT: Processing timer "PhysOpen" LinkReopenTimeout()
                                            Nov 23 17:32:13 	ppp: [wan_link0] Link: reconnection attempt 5
                                            Nov 23 17:32:13 	ppp: EVENT: Message 1 to PhysMsg() sent
                                            Nov 23 17:32:13 	ppp: EVENT: Processing timer "PhysOpen" LinkReopenTimeout() done
                                            Nov 23 17:32:13 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:32:13 	ppp: EVENT: Processing event EVENT_READ MsgEvent()
                                            Nov 23 17:32:13 	ppp: EVENT: Message 1 to PhysMsg() received
                                            Nov 23 17:32:13 	ppp: [wan_link0] device: OPEN event
                                            Nov 23 17:32:13 	ppp: [wan_link0] PPPoE: Connecting to ''
                                            Nov 23 17:32:13 	ppp: EVENT: Starting timer "PPPoE-connect" PppoeConnectTimeout() for 9000 ms at pppoe.c:342
                                            Nov 23 17:32:13 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
                                            Nov 23 17:32:13 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
                                            Nov 23 17:32:13 	ppp: EVENT: Message 1 to PhysMsg() processed
                                            Nov 23 17:32:13 	ppp: EVENT: Processing event EVENT_READ MsgEvent() done
                                            Nov 23 17:32:22 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:32:22 	ppp: EVENT: Processing timer "PPPoE-connect" PppoeConnectTimeout()
                                            Nov 23 17:32:22 	ppp: [wan_link0] PPPoE connection timeout after 9 seconds
                                            Nov 23 17:32:22 	ppp: EVENT: Stopping timer "PPPoE-connect" PppoeConnectTimeout() at pppoe.c:424
                                            Nov 23 17:32:22 	ppp: [wan_link0] device: DOWN event
                                            Nov 23 17:32:22 	ppp: [wan_link0] Link: DOWN event
                                            Nov 23 17:32:22 	ppp: EVENT: Stopping timer "PhysOpen" LinkReopenTimeout() at link.c:274
                                            Nov 23 17:32:22 	ppp: EVENT: Starting timer "PhysOpen" LinkReopenTimeout() for 1000 ms at link.c:277
                                            Nov 23 17:32:22 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
                                            Nov 23 17:32:22 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
                                            Nov 23 17:32:22 	ppp: [wan_link0] LCP: Down event
                                            Nov 23 17:32:22 	ppp: [wan_link0] Link: reconnection attempt 6 in 1 seconds
                                            Nov 23 17:32:22 	ppp: EVENT: Processing timer "PPPoE-connect" PppoeConnectTimeout() done
                                            Nov 23 17:32:22 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:32:22 	ppp: EVENT: Processing event EVENT_READ PppoeCtrlReadEvent()
                                            Nov 23 17:32:22 	ppp: EVENT: Processing event EVENT_READ PppoeCtrlReadEvent() done
                                            Nov 23 17:32:23 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires()
                                            Nov 23 17:32:23 	ppp: EVENT: Processing timer "PhysOpen" LinkReopenTimeout()
                                            Nov 23 17:32:23 	ppp: [wan_link0] Link: reconnection attempt 6
                                            Nov 23 17:32:23 	ppp: EVENT: Message 1 to PhysMsg() sent
                                            Nov 23 17:32:23 	ppp: EVENT: Processing timer "PhysOpen" LinkReopenTimeout() done
                                            Nov 23 17:32:23 	ppp: EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
                                            Nov 23 17:32:23 	ppp: EVENT: Processing event EVENT_READ MsgEvent()
                                            Nov 23 17:32:23 	ppp: EVENT: Message 1 to PhysMsg() received
                                            Nov 23 17:32:23 	ppp: [wan_link0] device: OPEN event
                                            Nov 23 17:32:23 	ppp: [wan_link0] PPPoE: Connecting to ''
                                            Nov 23 17:32:23 	ppp: EVENT: Starting timer "PPPoE-connect" PppoeConnectTimeout() for 9000 ms at pppoe.c:342
                                            Nov 23 17:32:23 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
                                            Nov 23 17:32:23 	ppp: EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
                                            Nov 23 17:32:23 	ppp: EVENT: Message 1 to PhysMsg() processed
                                            Nov 23 17:32:23 	ppp: EVENT: Processing event EVENT_READ MsgEvent() done
                                            
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.