azfirefighter / Motorola-Modem-Reboot

Python program that reboots the Motorola MB8600 Docsis 3.1 cable modem using HNAP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Motorola-Modem-Reboot

I wrote this so I could reboot my modem on a cron job without any extra hardware. It uses the JSON flavor of the defunct HNAP protocol to signal the modem to reboot. I've only tested it on the MB8600 model, let me know if it works on other models.

Requirements:

  • Python3
  • Requests
usage: modem_reboot.py [-h] [--host HOST] [--password PASSWORD] [--dryrun]
 
optional arguments:
  -h, --help           show this help message and exit
  --host HOST          Hostname or IP of your modem (Default: 192.168.100.1)
  --password PASSWORD  Admin password (Default: motorola)
  --dryrun, -d         Logs in but doesn't reboot

About

Python program that reboots the Motorola MB8600 Docsis 3.1 cable modem using HNAP

License:GNU General Public License v3.0


Languages

Language:Python 100.0%