is there a best practice for resetting WAN on a schedule?
Use case: to reset the WAN uplink (PPPOE) regularly on a schedule in order to determine precisely when the connection is reset, instead of waiting for reset by the ISP. So for example in a cronjob, every week on Monday 03:00 the WAN connection is reset.
I’m NOT a NethSecurity user, but I am very familiar with quite a few systems out there.
And all firewalls I know will provide you with a WAN Uptime.
But lowering your own uptime with periodic reboots is an option too, although the information you are looking for is already available…
And, don’t forget, just restarting a random service, without all dependencys in the right order may induce unexpected issues…
Example: DNS changes via WAN-DHCP, these are not forwarded to clients correctly…
a) ISP restarts your internet connection every 7 days
b) For some reason you restart your router during the week, maybe there is an outage, maybe you have problems with DNSMASQ (see my other posts)
c) 7 days since last WAN connection setup the ISP resets your connection
d) This happens in the middle of the day. Or in the middle of a movie at night, or right in the middle of an online game on the weekend.
→ You definately need to determine yourself the time when WAN is reset: always at 03:00 on Monday, because only then, barring problems during the week ofcourse, will you never get interrupted in the middle of something important.
My question stands: in Nethsecurity, what is the best way to restart WAN on a schedule?
How the ISP works has nothing to do with Netsecurity.
My ISP resets my Internet Connection every 7 days from the time the connection is made.
As described, I need to determine when that happens by always resetting my connection at a defined time on my own, and thus avoid chaos.
One solution: reboot the entire NS router. But that is really a heavy-handed solution.
I can read the OpenWRT documentation and see how to take down and bring up PPPOE… was hoping someone already does this and spares me scripting this on my own.