Jump to content

Script to reboot my cable modem


adammerkley

Recommended Posts

Posted

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?

Posted

This doesn't specifically answer your problem, but back when I had to deal with a crappy router, I put a lamp timer on it and had it turn off for a couple minutes every night around 2am.

Posted

I was able to modify those scripts, and it's working beautifully :)  If I change the script to ping a non existent IP like 10.0.0.0, after 3 failed attempts, it will reboot my modem :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...