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

    PPPoE will not re-connect after physical link down

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    11 Posts 4 Posters 9.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.
    • X
      xbipin
      last edited by

      there is a long thread for this issue
      http://forum.pfsense.org/index.php/topic,41061.0.html

      1 Reply Last reply Reply Quote 0
      • B
        bkraptor
        last edited by

        That thread seems to be about a different issue, because for me it was enough to implement jimp's solution from this thread:
        http://forum.pfsense.org/index.php/topic,40671.msg219480.html#msg219480

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

          that workaround works partially, meaning if there is link loss only which is when u pull the plug, if the link is up and pppoe disconnects then its a reconnect loop and this happens if the isp modem is reset or if that reboots which is more likely to happen and others have a switch between pfsense and the isp modem in which case link loss is less likely to occur at all

          1 Reply Last reply Reply Quote 0
          • B
            bkraptor
            last edited by

            As long as it works for one use case I see no reason for not implementing this fix. It may not fix all possible situations, but it fixes some.

            For me this fix works because I have no provider modem in my home - I just get a Cat5E cable that I plug in my pfSense box. There is a provider box in the building and they have some kind of Huawei CPE there that does internet + voice + cable TV over a single fiber pair. My Cat5E cable plugs into that device.

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

              yes its true it fixes partially in link loss situations and should be implemented.

              i guess u have FTTB and i have FTTH so ur modem is in the building and mine is at my home

              1 Reply Last reply Reply Quote 0
              • B
                bkraptor
                last edited by

                Could this fix be implemented? It's only the matter of removing one line.

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

                  I have no problem with reconnection, since 2.1 beta0 builds, even if this line presents.
                  May be there are some problems in other configurations if this line is removed, but I am not sure.

                  On 2.0.x builds I must to down/up physical interface (if config down em0…) to reconnect after link loss and removing that line does not work for me also.

                  1 Reply Last reply Reply Quote 0
                  • Y
                    yon
                    last edited by

                    I find Dynamic DNS clients can't re-connect link after for auto update.  please check and fix it.

                    :P

                    If you are interested in free peering for clearnet and dn42,contact me !

                    1 Reply Last reply Reply Quote 0
                    • B
                      bkraptor
                      last edited by

                      Bumping this thread.

                      Could this simple fix be implemented?

                      @jimp:

                      Failing that, give this a try: Edit usr/local/sbin/ppp-linkdown and comment out or remove this line (keep an unaltered copy around though so you can restore the copy if it doesn't help)

                      /usr/sbin/ngctl shutdown $1:
                      
                      1 Reply Last reply Reply Quote 0
                      • B
                        bkraptor
                        last edited by

                        Patch to be used with the System Patches package:
                        Path Strip Count = 1
                        Base Directory = /
                        Ignore Whitespace checked

                        --- a/usr/local/sbin/ppp-linkdown       2012-11-20 23:51:28.000000000 +0200
                        +++ b/usr/local/sbin/ppp-linkdown       2012-11-20 23:55:26.000000000 +0200
                        @@ -20,7 +20,9 @@
                                fi
                         fi
                         # delete the node just in case mpd cannot do that
                        -/usr/sbin/ngctl shutdown $1:
                        +### disabled because of the following bug:
                        +### http://redmine.pfsense.org/issues/1943
                        +#/usr/sbin/ngctl shutdown $1:
                         if [ -f "/var/etc/nameserver_$1" ]; then
                                # Remove old entries
                                for nameserver in `cat /var/etc/nameserver_$1`; do
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.