mirror of
https://github.com/dikeckaan/mu300-linux.git
synced 2026-12-06 16:02:55 +00:00
mu300-extra install panel puts Cockpit (cockpit-ws, cockpit-system, cockpit-bridge, --no-install-recommends) and the MU300 page into Ubuntu: online from Ubuntu's archive, or offline with --from mu300-extra-panel-offline.tar.gz (Cockpit's packages for 24.04 and 26.04, downloaded with apt in the release's mu300-ubuntu images; checked against a SHA256SUMS like the VPN module's copies). Its command, mu300-panel, writes the configuration before the packages so the socket never listens beyond the LAN: cockpit.socket on 9090 with BindToDevice=br-lan, LoginTo=false, IdleTimeout=15; PAM login with the Ubuntu account, Cockpit's own TLS. The firewall drops everything new from sipa_eth* and a Wi-Fi uplink anyway. After an update (a new rootfs has no Cockpit) mu300-extra link starts a background restore with systemd-run; the boot never runs apt. The page (rootfs/panel/cockpit/mu300): Overview (signal, mobile data, data usage, live rates from /proc/net/dev, battery, temperatures, CPU profile), SMS (new: sms json), VPN (mu300-vpn --json), Power and CPU, Wi-Fi (hotspot name/password via mu300-panel hotspot-set, the password on stdin; wifi-client), Updates. cockpit.spawn with argument arrays and superuser "try" only; text only via textContent. en/tr/zh_CN through Cockpit's po.js (tools/cockpit-i18n.py). The installers ask (default no) and push the offline extra; make-release builds and audits both assets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DqKKtBQZCfxYnHuBCuDqqn