Remotely Reboot Netgear MBRN3000

I made this script to remotely restart our MBRN3000 - Netgear; because there's no way to schedule this directly on the router.
I need to restart because randomly this UMTS router disconnect from the internet using the key and there's nothing to do to have the connection again excep to poweroff the router.

I named the script rebootUMTS.sh and placed in /opt/

this is the code:

#!/bin/sh
wget -q --post-data "button=reboot" http://USERNAME:PASSWORD@172.18.0.2/reboot.cgi
echo `date` " - Restart router" >> /opt/restart.log

and in crontab I've schedule to run every days at 7:00AM 1:00PM 8:PM

*  7,13,20	*	*	*	/opt/rebootUMTS.sh

This post is also available in: Inglese

Comments (0)

› No comments yet.

Leave a Reply


*