schelmo/arris-tg3442-reboot

Python tool to restart your Arris TG3442* cable modem/router remotely.

★ 0Forks 0PythonGitHub ↗Compare

README

arris-tg3442

Python tool to restart and retrieve the phone log of your Arris TG3442* cable modem/router remotely.

Supported firmware versions

Currently, the following firmware versions are supported:

  • AR01.01.117.01_091718_70.PC20.10
  • AR01.02.037.03.12.EURO.SIP
  • AR01.02.068.10_082720_711.SIP.10
  • AR01.02.068.11_092320_711.PC20.10
  • AR01.02.068.13_052421_711.PC20.10
  • AR01.04.046.07_072921_7244.PC20.10.X1
  • AR01.04.046.12_120921_7244.PC20.10.X1

Requirements

  • beautifulsoup4
  • pycryptodome
  • requests

Install

pip install -r requirements.txt

Run

python3 arris-tg3442-reboot.py

This will use default username, password and router IP. Use --help to learn how to use non-default values.

To retrieve phone log

python3 arris-tg3442-reboot.py phone-log

Note: phone log isn't persistent and is empty after a restart of the modem

Docker

You can also use the provided Dockerfile to build and run this tool. A pre-built image is also available on dockerhub for these processor architectures:

  • amd64
  • arm64
  • arm/v7
  • arm/v6

Thanks

Most of the heavy-lifting was already done over in the MUNIN monitoring tool repo, especially regarding login. Thank you debfx, Mershl and schelmo for enabling support for additional firmwares.

Contributors

diveflodependabot[bot]schelmoMershlactions-user

Issues