restarting Motorola SB6121 cable modem through a script

Posted on
Sat Jan 25, 2014 1:30 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

restarting Motorola SB6121 cable modem through a script

for those who would like to restart their cable modem remotely:
the following command will reboot your cable modem. the address 192.168.100.1 is hardwired into the modem it does not change

in a terminal:
Code: Select all
curl http://192.168.100.1/reset.htm?&reset_modem=Restart%20Cable%20Modem


in applescript:
Code: Select all
do shell script "curl http://192.168.100.1/reset.htm?&reset_modem=Restart%20Cable%20Modem"


in PY:
Code: Select all
subprocess.Popen( "curl http://192.168.100.1/reset.htm?reset_modem=Restart%20Cable%20Modem",shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE).communicate()


just use your browser to get to the status page at 192.168.100.1
It shows signal levels, log files and also the reset button that is triggered by above commands.

Karl

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron