Auto reboot if no ping response
-
Hi all,
I would like to implement a keep alive mechanism on a PPP (3G) connection . The problem we have is the GSM carrier sometimes drops the connection after a few hours and we have to manually re-dial. Is there an easy way I could implement the following feature:
Ping WAN IP address i.e. 208.67.222.222 every 30 seconds
If there is no reply after 3 attempts then consider the connection as DOWN
Reboot pfSense box
PPP connection is then re-established on startup.Any help would be much appreciated.
Thank you :)