Script to reboot my cable modem


Recommended Posts

My Cox Cable service has been a little flakey lately.  My modem, a Motorola SB6141, has needed rebooting every couple weeks, after I've noticed that my internet connection has stopped working.  I bought the modem from Costco, so I've already replaced it in an effort to isolate the problem.  I've replaced my ASUS router as well to no avail.

 

I would like to have my unRAID server checking for internet connectivity every minute or so, and reboot the modem if the is no connection.

 

It turns out that this link will reboot a Motorola SB6141 modem (and many other Moto cable modems):  http://192.168.100.1/reset.htm?reset_modem=Restart+Cable+Modem

 

Does anyone have some ideas on how to check for internet connectivity every minute, and then use curl or something to traverse that link and reboot the cable modem?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.