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 206.1k 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

      cant we take the vr drivers from FreeBSD 10.x and test it on current pfsense to see if it will actually fix this issue or no rather than wait for months for this to resolve coz its already over 2 years now

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by

        Well, I replaced my nics with Intel ones and that was it….
        I needed stable system and Intel gave me that...

        1 Reply Last reply Reply Quote 0
        • W
          wallabybob
          last edited by

          @xbipin:

          cant we take the vr drivers from FreeBSD 10.x and test it on current pfsense to see if it will actually fix this issue

          Possible but might not be trivial: FreeBSD internal interfaces and data structures might have changed significantly requiring considerable work to backport those changes as well or rewrite the vr changes from FreeBSD 8.3 to 10.x to work in FreeBSD 8.3 context.

          Best case (assuming familiarity with FreeBSD kernel build procedures): maybe an hour or two to import the 10.x source into a 8.3 build system, recompile and run some basic tests.

          Worst case: maybe up to a few months to figure out what changes in FreeBSD internals to backport and do them.

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

            how about just check the drivers code and see the changes and cherry pick them which possibly might solve this network port stuck in a limbo state

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              Given how widespread the Alix install base is - pleeease, no. No backporting of vr drivers from FreeBSD 10.x to 2.1. While I can understand that it sucks for affected people

              • this can apparently be extremely easily worked around by putting a switch between the pfsense box and the modem,
              • this clearly affects a tiny percentage of users with specific NIC/modem/DSLAM combo on PPPoE specifically.

              => certainly not worth the risk of breaking everyone else

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

                lets just leave it to the developers to decide, what they can do is provide the drivers separately to install so every1 dont need to use this

                1 Reply Last reply Reply Quote 0
                • V
                  vtas
                  last edited by

                  I have this issue and it occurs more frequently since updating to 2.0.3-RELEASE (i386).

                  I doubt a switch is going to make any difference in my case because I am running pfsense in a VM that effectively has an always up (virtual) switch, connected to a physical Intel E1000 card port patched straight into a routerboard (all gear on battery) so I am not getting disconnected because of a layer 1 issue.

                  I'm a bit lost at how to proceed. Running a script to tear down the interface and bring it back up if it's up and experiencing no throughput (but it is present) seems like the best bet

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

                    thats the only way to get back the link going, if u read few posts back, some1 did design a script for this and it actually worked, atleast to some extend

                    y dont everyone add some amount to this so some1 can develop a fix for this, probably a newer driver might solve it

                    1 Reply Last reply Reply Quote 0
                    • V
                      vtas
                      last edited by

                      @xbipin:

                      thats the only way to get back the link going, if u read few posts back, some1 did design a script for this and it actually worked, atleast to some extend

                      y dont everyone add some amount to this so some1 can develop a fix for this, probably a newer driver might solve it

                      Thanks for the tip about the script. How can the bounty be added to apart from just making a note in my post?

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

                        just make a post with ur amount, few of the developers r following this thread so they will know of it

                        1 Reply Last reply Reply Quote 0
                        • R
                          ronjns
                          last edited by

                          I had similar issue with FreeBSD 9.1 RELEASE and pppoe('8'). The fix was to 'enable echo' in ppp.conf.

                          echo
                              Default: Disabled.  When this option is enabled, ppp will send
                              LCP ECHO requests to the peer at the frequency defined by
                              echoperiod''.  Note, LQR requests will supersede LCP ECHO     requests if enabled and negotiated.  See set lqrperiod'' below
                              for details.

                          Prior to ppp version 3.4.2, echo'' was considered enabled if     lqr was enabled and negotiated, otherwise it was considered dis-     abled.  For the same behaviour, it is now necessary to enable
                              lqr echo'' rather than just ``enable lqr''.

                          http://www.freebsd.org/cgi/man.cgi?query=ppp&sektion=8

                          1 Reply Last reply Reply Quote 0
                          • S
                            senser
                            last edited by

                            I am wondering if this thread is about fixing the issue that I have (excuse my ignorance, but this thread is quite long):

                            When I unplug the cable to my DSL modem (Alix, pfSense 2.1) and plug it back in, I cannot establish the pppoe connection again (a reboot will fix it, haven't tried anything else, sorry). If I disable the pppoe connection in pfSense prior to reconnecting the cable, I can establish the pppoe connection again.

                            We use the mighty pf, we cannot be fooled.

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

                              any1 tried enabling echo if it solves it or no?

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

                                Ok coming back to this after some time.

                                I think i have solved the issue here and tomorrow snapshots should have a fix.
                                Can you test and let me know?

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

                                  ok ill try it out and revert back, can u post the link to the commit?

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

                                    https://github.com/pfsense/pfsense-tools/commit/4d298135387ef551ccc6eff62a1705059956c64e

                                    https://github.com/pfsense/pfsense/commit/9510780ffa41bf1b19989b418e9a356702ba5576

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

                                      brilliant, almost after 2.5 years its solved now, plz send me ur paypal id for payment in PM

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

                                        the bug has appeared in 2.2 RC again and pppoe wont reconenct at all untill u reboot it, log is the same, just endless loops of connection attempts

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

                                          This should work as before or better in 2.2-RC++

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

                                            @ermal:

                                            This should work as before or better in 2.2-RC++

                                            well after the last changes u made the situation is same for me, if i unplug or modem goes down and up, then it wont connect at all in hours also, only way to make it connect is reboot.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.