How to reboot router/modem when network goes down.
Has anyone done a setup using software/hardware to monitor the internet connection through a router or modem and force a hardware reboot of the modem or router? My cable modem that supplies the internet connection for my server running Redhat occasionally goes down and requires that I power cycle it. Sometimes it's the router that requires the reboot. I've seen devices, though I can't seem to locate one right now, that will ping an IP address and power cycle whatever's plugged into it. The ping occurs at a settable interval and the duration of the power cycle is also settable. The company I work for uses equipment to do the same thing using Network Heartbeat with their Cisco routers. This is rather expensive. Surely there's a daemon that can run on the server and when eth0 loses IP or when the daemon can't ping out, it would send a signal on the RS232 or USB port to activate hardware to cause a reboot of the modem/router or both.
Thanks for anyone that can help.
Jim
|