Enhance 5G modem management with integrated web GUI and connection control
- Introduced a web GUI for managing 5G connections, replacing the standalone 5g-router service. - Updated scripts to ensure exclusive access to the AT port, preventing conflicts. - Improved troubleshooting documentation in 5G_MODEM_TROUBLESHOOTING.md, adding checks for processes using the AT port. - Enhanced connection management in the web app, including auto-connect and detailed status APIs. - Updated installation scripts to reflect changes in service management and dependencies.
This commit is contained in:
@@ -52,10 +52,13 @@ Internet (CYTA 5G)
|
||||
For a **single-command flow** from a fresh device, see **[docs/QUICKSTART.md](docs/QUICKSTART.md)**. Summary:
|
||||
|
||||
1. Clone or copy this repo to the device.
|
||||
2. Install packages: `apk add iptables libmbim-tools qmi-utils` (and optionally dnsmasq, speedtest-cli).
|
||||
3. Run **`./scripts/install.sh`** – installs scripts, OpenRC service, firewall rules, and `/etc/5g-router.conf`.
|
||||
2. Install packages: `apk add iptables python3 py3-flask` and `pip install pyserial`.
|
||||
3. Run **`./scripts/install.sh`** – installs Web GUI, config, and enables 5g-webgui service.
|
||||
4. Edit `/etc/5g-router.conf` if needed (APN, interfaces).
|
||||
5. Start: `service 5g-router start` or `/usr/local/bin/connect-5g.sh`.
|
||||
5. Start: `service 5g-webgui start`
|
||||
6. Open **http://\<device-ip\>:5000** to manage the router.
|
||||
|
||||
**Note:** The Web GUI now includes integrated 5G connection management. The standalone `5g-router` service is kept for manual/fallback use but is no longer the default.
|
||||
|
||||
For SSH and key setup: **[docs/DEPLOY.md](docs/DEPLOY.md)**.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user