Remotely Enable if_pppoe kernel driver and reboot
-
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...
-
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.
-
@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(
-
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.
-
@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...
-
@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.
-
@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: 0Also, my Internet connection is 1Gbps up and down fiber.
RPSmith...