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

    2.3 PPPoE reconnect

    2.3-RC Snapshot Feedback and Issues - ARCHIVED
    5
    13
    6.9k
    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 Former User
      last edited by

      I found this as well and was going to open a post on it.

      The last few days I had been having issues with DSL sync at the house and the connection would drop, after the PPPoE re-connected the DHCPv6 daemon would not be started.

      I found that even a disconnect/connect on the interfaces page would not bring it back up and I had to reboot to get it to start again (unless manually starting it). Looking in the logs on the interface couldn't see any issues with starting the daemon, so maybe there is a bug in the code where it does not re-start the daemon when the interface comes back up.

      Thanks,

      Robbert

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

        Update to latest snapshot and report back.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          How long has this been happening?

          I did a lot of testing with PPPoE WANs over the last week or so, I never had any reconnection problems like this, though I was using only IPv4 in my tests.

          I disconnected through the GUI, disconnected the NICs, rebooted the upstream devices, etc, it always came back no matter what I did (except in cases when I forgot to plug the NIC back in :-)

          Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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

            I had major problems with saturdays snaps now its ok and there only ipv6 issue remains though its hard to replicate…

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              When it doesn't work, what dhcp6c logs do you get? Should be in the DHCP log tab. Enabling DHCP6 debug logging on that interface might help.

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

                Will test more but I have to get there :)

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by

                  I have done a bunch of testing with a number of snapshots from the last few days (right now I am on 2.3.b.20160225.1221) and I cannot get the dhcp6c client to start anymore. Here are the symptoms:

                  • When the system boots, there is no dhcp6c process running

                  • There are no errors in the System Logs -> System -> General log

                  • There are no entries from dhcp6c in System Logs -> DHCP (I even enabled debugging)

                  • There are no configuration file or script file for the dhcp6c process

                  I have tried these things to get the process going:

                  • Starting the dhcp6c process manually, but this doesn't work since there is no config file in /var/etc

                  • Doing a "Disconnect/Connect" on the Interfaces page

                  • Changing the DHCP 6 configuration on the WAN Interface page

                  • Disabling IPv6 on the WAN interface, saving, applying and then Enabling IPv6 on the interface

                  I am have not touched PHP in a long time, but from what I can tell the configuration files and script should be created in /var/etc and then the process started with theĀ  "interface_dhcpv6_configure" function in interfaces.inc https://github.com/davidjwood/pfsense/blob/20d6e88a88ae128f2c40a164e9b19e63e3c2e0f5/etc/inc/interfaces.inc#L3511. What I have not been able to figure out is why this function does not seem to be getting called at all.

                  My interface is configured as follows:

                  <wan><enable><if>pppoe</if>
                  <blockpriv><blockbogons><spoofmac><ipaddr>pppoe</ipaddr>
                  <ipaddrv6>dhcp6</ipaddrv6>
                  <dhcp6-duid><dhcp6-ia-pd-len>8</dhcp6-ia-pd-len>
                  <dhcp6-ia-pd-send-hint><dhcp6prefixonly><dhcp6usev4iface></dhcp6usev4iface></dhcp6prefixonly></dhcp6-ia-pd-send-hint></dhcp6-duid></spoofmac></blockbogons></blockpriv></enable></wan>

                  With the PPPoE config:

                  <ppps><ppp><ptpid><type>pppoe</type>
                  <if>pppoe</if>
                  <ports>em0</ports>
                  <username>NOTMYUSERNAME</username>
                  <password>NOTMYPASSWORD</password>

                  <provider><bandwidth></bandwidth></provider></ptpid></ppp></ppps>

                  Let me know if you need anything else from me or access to the firewall.

                  Thanks,

                  Robbert

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb
                    last edited by

                    @rrijkse:

                    My interface is configured as follows:

                    <wan><enable><if>pppoe</if></enable></wan>

                    I think you caught things at a point where the PPPoE interface config could end up wrong if you changed it in a certain way. That should be pppoeX, starting at pppoe0 and incrementing from there. If you change both those <if>lines to pppoe0 and reboot, does it work?</if>

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by

                      Thanks I will have to try changing that, but won't be able to do this for a while since I am on vacation until the first week of April and don't want to screw up internet access for the people still relying on it.

                      Once I have made the change I will post back here.

                      Thanks again,

                      Robbert

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by

                        Just wanted to post an update on this.

                        The dhcpv6 process started on its own after a power outage during the time I was on vacation and worked until there was maintenance done by the ISP last night causing PPPoE to go down again. I have now changed the two instance of pppoe and updated them to pppoe0. Then rebooted and everything came up fine, upgraded to the latest snapshot and it is working right now. I will leave it for the night to ensure it is stable and will try disconnecting the modem a couple of times to see if I can simulate what has been happening or confirm that the interface name change has fixed it.

                        Thanks,

                        Robbert

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