restarting Motorola SB6121 cable modem through a script
Posted: Sat Jan 25, 2014 1:30 am
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:
in applescript:
in PY:
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
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