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

    Remotely Enable if_pppoe kernel driver and reboot

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 544 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.
    • R
      rpsmith
      last edited by

      I have several remote firewalls using PPPoE WANs and I would like to know if it is possible to create a cron job to enable the if_pppoe kernel driver and then reboot the firewall. If this is possible, an example script would really be appreciated.

      RPSmith...

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

        You can enable if_pppoe and then choose not to reboot. Then set a reboot cron-job.

        But it's hard to recommend that if you have no way to recover it should if_pppoe have some sort of issue connecting. Though I wouldn't expect any problems.

        R 1 Reply Last reply Reply Quote 0
        • R
          rpsmith @stephenw10
          last edited by

          @stephenw10 ~ When I enabled it on one of my remote firewalls, The WAN disconnected and I had to drive 30 miles round-trip to restart the firewall so I need a way to do this with a script file. :o(

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

            Hmm, it instantly brought down the WAN?

            You could schedule a reboot then enable the if_pppoe and wait.

            Really you want something that falls back if it doesn't work. The problem here is that there are almost certainly some edge cases that don't play nice with if_pppoe in it's initial release.

            The safest thing to do would just be to wait until you're on-site to enable it.

            R 1 Reply Last reply Reply Quote 1
            • R
              rpsmith @stephenw10
              last edited by rpsmith

              @stephenw10 ~ When I check the box to use the new PPPoE service and hit save, the WAN goes down until I reboot! So now I set a cron job to run "/etc/rc.reboot" in about 5 minutes and hit "Save". The new PPPoE service is working flawlessly on the 4 firewalls I have enabled it on.

              RPSmith...

              brookheatherB 1 Reply Last reply Reply Quote 1
              • brookheatherB
                brookheather @rpsmith
                last edited by

                @rpsmith Have you checked for any WAN out errors after enabling if_pppoe? I have 0.4% packet errors on my FTTP connection when enabling if_pppoe but zero when using the old pppoe module.

                R 1 Reply Last reply Reply Quote 0
                • R
                  rpsmith @brookheather
                  last edited by

                  @brookheather ~ After almost 8 days up time, this is what it shows:

                  MTU: 1400
                  In/out packets: 116406954/41636681 (134.50 GiB/6.15 GiB)
                  In/out errors: 0/2
                  Collisions: 0

                  Also, my Internet connection is 1Gbps up and down fiber.

                  RPSmith...

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