motorola-modem-reboot
v1.0.0
Published
Tool to programatically reboot Motorola modems using Playwright
Readme
motorola-modem-reboot
Programatically reboots Motrola modems using Playwright
Reboots a Motorola modem using the status page.
Reboot is carried out in headless Chromium using Playwright. Some Playwright configuration may be required.
Installation
$ npm install -g @justintout/motorola-modem-rebootUsage
$ reboot-modem -h
Usage: reboot-modem [-h] [-v]
Options:
-h: Print this help and exit
Varaibles:
MODEM_REBOOT_HOST: use this URL to reach the modem
MODEM_REBOOT_USER: use this username to log into the modem
MODEM_REBOOT_PASSWORD: use this password to log into the modemThe program defaults to the username admin and password motorola.
Supply the MODEM_REBOOT_USERNAME and MODEM_REBOOT_PASSWORD enviornment variables to override.
By default, the program reaches the modem at http://192.168.100.1.
Supply the MODEM_REBOOT_HOST environment variable to override.
Developing
$ git clone https://github.com/justintout/motorola-modem-reboot
$ cd motorola-modem-rebootThis package is straightforward and, for my purposes, is feature compelete. Open an issue or submit a pull request with improvements/bugfixes.
