tmo-monitor
tmo-monitor copied to clipboard
A lightweight, cross-platform Python 3 script that can monitor the T-Mobile Home Internet Nokia, Arcadyan, and Sagecom 5G Gateways for 4G/5G bands, cellular site (tower), and internet connectivity and...
When the script is not ran interactively and no password is supplied, need to output an error.
Add `--silent` flag to suppress output to stdout. This will prevent cron from needing to redirect output.
Allow specifying multiple ping hosts, with the ability to reboot if either any or all of them fail (flags can specify the behavior).
Provide method(s) for credentials to be re-used. Because web api authentication uses hashing and app api authentication uses cleartext passwords, cannot simply just use hashed value. Options include storing password...
Add CGI check (from Mobile App endpoints) or introspect tower based on connected bands and/or PCI/etc (disambiguate Sprint vs Native LTE B41).
Follow-up to #10 Bootloop prevention is currently implemented with an uptime check. Add statefulness to prevent boot loops so that a given number of consecutive failures or a failure of...
As an alternative connectivity test, use http://google.com/generate_204 and check the status code. Allow custom host and status code.
Add pre-defined band groups, e.g. low-band, mid-band, Sprint, T-Mobile, anchor bands (i.e. B2/B66), etc.
It looks like T-Mobile started blocking pings, and so the connection looks down even when it's not. This broke this tool for me – I'm assuming for others too. We...
I had issues when my Linux system didn't apparently handle IPv6 pings to Google very well, and for some reason `tmo_monitor/gateway/base.py` wanted to use IPv6 ping. It would be really...