#gateway #internet #home #wifi #5g #t-mobile #sagemcom

bin+lib tmobile-internet-tools

Set of tools for working with T-Mobile Home Internet gateways

12 releases (7 breaking)

0.8.0 Dec 14, 2022
0.7.1 Dec 14, 2022
0.6.0 Oct 9, 2022
0.5.0 Jul 18, 2022
0.1.0 Mar 31, 2022

#26 in #home

Download history 9/week @ 2024-02-22 5/week @ 2024-02-29 18/week @ 2024-03-28 14/week @ 2024-04-04 25/week @ 2024-04-11

57 downloads per month

GPL-3.0-or-later

1.5MB
4.5K SLoC

Crates.io AUR version

T-Mobile Home Internet Tools

Set of programs to make managing T-Mobile 5G Wifi Gateways easier

Notice: This has only been tested and known to work with the Nokia "trashcan" and Sagemcom gateways!

Nokia "Trashcan" Gateway:

Sagemcom Gateway

The programs:

tmocli: Command line interface for working with the gateway

tmotop: Text interface for working with the gateway

tmo-webui Mobile friendly web interface for working with the gateway

gatewaymon: Background process that monitors the gateway for network issues (reboots the gateway if needed) and monitors the gateway's cell signal

tmo-hosts: (Work in progress) Background process that makes other computers on the network acessible by their hostnames

Installation

Arch Linux and others based on it

Use your AUR helper to install tmobile-internet-tools

If building manually with cargo, add to the build arguments --features nokia to enable nokia gateway support and --no-default-features to disable sagemcom support.

These options are also availble in the Arch Linux PKGBUILD.

Troubleshooting

"Error: Not authorized" errors coming from nmcli in gatewaymon: Make sure your user is in the 'network' group and use visudo to add the following to /etc/sudoers: %network ALL=(ALL) NOPASSWD: /usr/bin/nmcli

Disclaimer: I am in no way affiliated with T-Mobile. This program is my own work.

Planned Features:

  • Background process that tracks the IPs of other hosts (These gateways are DHCP only)
  • Allow web interface to auto-refresh gateway info
  • Text UI to show metrics and settings
  • Background process that reboots the gateway when needed
  • Command line interface to work with the gateway
  • Web interface that shows metrics and settings

Dependencies

~30–48MB
~828K SLoC