Script for Automatic Reboot of my pfsense box
-
Hey, guys so I have been having issues where my WAN 1 connections seem to stop working unless I either disconnect and connect it manually or reboot pfsense. This proves to be a challenge since whenever I am not around I have to VPN in and reboot my pfsense, disabling the WAN will disconnect the VPN and I would not be able to connect the WAN 1 back..Around a week ago I found kind of a solution from one of the members, and that solution is a script for pfsense to either disconnect and reconnect WAN 1 or reboot pfsense after few seconds. The problem is that I do not know how to integrate it into Command-Line of my box. Kindly need urgent help.Here is the thread
-
That link shows you how to integrate a script using the cron package.
What step isn't clear for you ?Btw : The real solution would be to understand why this happens :
@openwifi said in Script for Automatic Reboot of my pfsense box:
where my WAN 1 connections seem to stop working
The interface is bad ?
The other side's interface is bad ?
What is the other side ?
DHCP re-negotiation is failing ?
Etc.