- Web app (Flask): status, config, firewall, logs, users, restart - Docs: AT commands, deploy, DNS, quickstart, web GUI - Scripts: connect, deploy, diag, healthcheck, modem-status, speedtest, status, troubleshoot - Init and iptables: 5g-router, 5g-webgui, rules.v4 - CHANGELOG, TODO, REVISION; config and README updates
2.3 KiB
2.3 KiB
Alpine 5G Router – TODO / Features
Track features and tasks for the solution. Use [ ] for pending, [x] for done.
Connection & modem
- Auto-reconnect when 5G link drops (watchdog or periodic check)
- Configurable APN (env var or config file) for different carriers
- USB mode check on boot (warn or fix if modem is in Mode 41)
- Signal strength logging / alert when signal is weak
- Fallback to eth0 (e.g. LAN) when 5G is unavailable (optional)
Network & routing
- Persist default route preference (5G vs eth0) across reboots
- Optional dual-WAN or failover (5G + ethernet)
- Firewall rules in repo (e.g.
etc/iptables/rules.v4) for repeatable setup - IPv6 support (if carrier provides it)
Deployment & automation
- Add
connect-5g.sh(or equivalent) to repo for version control - Add OpenRC service file(s) to repo (e.g.
etc/init.d/5g-router) - Install/setup script: deploy scripts + service + firewall from repo to device
- Document or automate DNS (e.g. resolv.conf / dnsmasq) for 5G
Monitoring & ops
- Simple status script or endpoint (modem, interface, default route, last speedtest)
- Optional speedtest on schedule (cron) with log or alert
- Log rotation for
5g-router.log(and any other logs) - Health check script for monitoring (Nagios, Uptime Kuma, etc.)
Documentation & config
- Single "quick start" for new device (clone repo → run script → done)
- Document or script for first-time SSH/key setup
- Example or template config (APN, interfaces, firewall) for different carriers
- Changelog or version notes for script/service changes
Web GUI
- Login screen with admin and support users and different permissions
- Configuration Modem/network interfaces (admin: /etc/5g-router.conf)
- Monitoring status Modem/systems (Status tab)
- Data consumption from both terminals (graphs/tables) – future: needs traffic accounting e.g. vnstat
- Logs modem/system (5G router log + speedtest log)
- List/add/modify firewall rules (admin: iptables rules.v4)
- List/modify static routes (admin: ip route view)
- User management (admin: add/delete users, set password)
- Restart 5G (admin + support)
Edit this file to add/remove items and check off completed work.