PingReboot

details

PingReboot is an Arduino project that is connected inside your LAN with your router plugged into it’s power outlet. It pings an outside IP every 5 minutes and if it cannot reach that IP for a period of 10 minutes it power cycles the power outlet. It then waits a set amount of time and tries to ping again. If Internet connectivity is restored it sends an email stating it had to reboot the router.

2013-12-17-16_02 2013-12-17-16_01

Also included is the file “remotepingreboot.htm”. Upload this file to a website you control and PingReboot will check this file every 5 minutes to see if the value has changed (For example it may have changed from to ). If it has changed it will force a reboot. You never know when you may need to force a remote router reboot, now you can by simply changing a file on your web server.

In other words, you will never again have to drive out to work in the middle of the night to reboot a frozen router 🙂

Hardware Used:

Software Installation Notes:

  • Modify and upload “sendTheEmail.php” to your server.
  • Modify the “serverName” variable in PingReboot.ino to match your server’s address.
  • Upload “remotepingreboot.htm” to your server.

Go to Original Post : http://www.umrysh.com/pingreboot/

Soure code downloal : https://github.com/umrysh/PingReboot

PingReboot is an Arduino project that is connected inside your LAN with your router plugged into it’s power outlet. It pings an outside IP every 5 minutes and if it cannot reach that IP for a period of 10 minutes it power cycles the power outlet. It then waits a set amount of time and tries to ping again. If Internet connectivity is restored it sends an email stating it had to reboot the router.

2013-12-17-16_02 2013-12-17-16_01

Also included is the file “remotepingreboot.htm”. Upload this file to a website you control and PingReboot will check this file every 5 minutes to see if the value has changed (For example it may have changed from to ). If it has changed it will force a reboot. You never know when you may need to force a remote router reboot, now you can by simply changing a file on your web server.

In other words, you will never again have to drive out to work in the middle of the night to reboot a frozen router 🙂

Hardware Used:

Software Installation Notes:

  • Modify and upload “sendTheEmail.php” to your server.
  • Modify the “serverName” variable in PingReboot.ino to match your server’s address.
  • Upload “remotepingreboot.htm” to your server.

Go to Original Post : http://www.umrysh.com/pingreboot/

Soure code downloal : https://github.com/umrysh/PingReboot

COMMENTS

Please Login to comment
  Subscribe  
Notify of