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

    A way to increase PPPoE initialization timeout?

    General pfSense Questions
    pppoe ppp-connection ppp
    2
    10
    1.1k
    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.
    • A
      aelakkad
      last edited by

      I need a way to increase the timeout for PPPoE.

      My ISP is slow to respond to PADI packets and keeps retrying forever. The PADO packet comes back in 10-15 seconds, and pfsense timeouts within 9 seconds and I cant find a way to override it in pfsense. Can anyone tell me how I can do that?

      Thanks,

      A 1 Reply Last reply Reply Quote 0
      • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
      • A
        aelakkad @aelakkad
        last edited by

        @aelakkad anyone?

        A 1 Reply Last reply Reply Quote 0
        • A
          aelakkad @aelakkad
          last edited by

          @aelakkad @jimp can you help?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Hmm, OK, after some digging it appears that is the hard coded default:
            https://sourceforge.net/p/mpd/svn/HEAD/tree/tags/RELEASE_5_9/src/pppoe.c#l34

            And I don't think it reads in anything else you can use to change it. You would have to recompile the mpd5 binary with a different value. Or patch it to read a conf value and then recompile.

            Steve

            A 2 Replies Last reply Reply Quote 0
            • A
              aelakkad @stephenw10
              last edited by

              @stephenw10 yes! I asked in freebsd forums and someone said the same thing! But the said the pppoe.c file would be under a couple of folders under /ports which I can't find. Do you have any idea where the file is in pfsense? Thanks!

              1 Reply Last reply Reply Quote 0
              • A
                aelakkad @stephenw10
                last edited by

                @stephenw10 can you point me to where mpd5 binary is stored?

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by stephenw10

                  I don't believe the actual mpd5 code base is in the main FreeBSD repo. Probably some licensing restriction (Edit: Nope!). The port pulls the code from sourceforge when it build then applies some patches, which are present:
                  https://github.com/pfsense/FreeBSD-ports/tree/devel/net/mpd5/files

                  The binary the port creates is in /usr/local/sbin

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    aelakkad @stephenw10
                    last edited by

                    @stephenw10 any idea how to patch over the patch that pfsense already does๐Ÿคฆ๐Ÿปโ€โ™‚๏ธ๐Ÿ™ƒ

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      The real patch would require some coding. Ideally we would want to add that value as a conf variable that is read in and used if it's present. Probably not that hard for someone familiar with the code but that isn't me!

                      To simply test a longer timeout I would try just rebuilding the port with a different hardcoded value. That might mean an additional patch for that one line. Or changing the existing patch for that file.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        aelakkad @stephenw10
                        last edited by

                        @stephenw10 ok thank you I will try๐Ÿ™๐Ÿผ

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