• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Sep 24, 2023, 2:24 PM

    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 Sep 27, 2023, 6:48 PM Reply Quote 0
    • J jimp moved this topic from Problems Installing or Upgrading pfSense Software on Sep 26, 2023, 7:30 PM
    • A
      aelakkad @aelakkad
      last edited by Sep 27, 2023, 6:48 PM

      @aelakkad anyone?

      A 1 Reply Last reply Sep 27, 2023, 6:53 PM Reply Quote 0
      • A
        aelakkad @aelakkad
        last edited by Sep 27, 2023, 6:53 PM

        @aelakkad @jimp can you help?

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Sep 27, 2023, 11:53 PM

          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 Sep 28, 2023, 9:32 AM Reply Quote 0
          • A
            aelakkad @stephenw10
            last edited by Sep 28, 2023, 9:32 AM

            @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 Sep 28, 2023, 10:42 AM

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

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by stephenw10 Sep 28, 2023, 2:31 PM Sep 28, 2023, 11:54 AM

                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 Sep 28, 2023, 1:53 PM Reply Quote 0
                • A
                  aelakkad @stephenw10
                  last edited by Sep 28, 2023, 1:53 PM

                  @stephenw10 any idea how to patch over the patch that pfsense already does🤦🏻‍♂️🙃

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Sep 28, 2023, 2:21 PM

                    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 Sep 28, 2023, 3:07 PM Reply Quote 0
                    • A
                      aelakkad @stephenw10
                      last edited by Sep 28, 2023, 3:07 PM

                      @stephenw10 ok thank you I will try🙏🏼

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