mirror of
https://github.com/dikeckaan/mu300-linux.git
synced 2026-12-06 08:03:36 +00:00
Someone who has not installed the VPN module (mu300-extra install vpn) sees nothing of a VPN in the user interfaces; the module in, every VPN page and item is back without a reinstall of the panel. "Installed" is the test mu300-extra itself uses (vpn_module_in): the module's mu300-vpn in the vpn extra on the disk, /mnt/mu300-disk/extra/vpn/bin/mu300-vpn. LuCI: the six admin/vpn menu entries get a "fs" dependency on that file (executable), so the VPN menu is not in the navigation at all without the module and its pages answer 404. LuCI checks "fs" only when it builds its index cache (keyed on the menu files alone), so mu300-extra drops /tmp/luci-indexcache* on OpenWrt when the vpn extra is installed or removed (luci_menu_refresh); the next request rebuilds the menu. No new strings, no change to the pages or their RPC. Cockpit (Ubuntu, the panel extra): the VPN tab goes in only when `test -x` on that file succeeds (one spawn, no shell, no AT command); without it #vpn opens the overview. mu300-panel info's vpn flag uses the same test. mu300-toolkit: the Network menu's VPN item and the main menu's "Network, mobile data, VPN" label only with the module (or with the VPN on with its kill switch and the module gone: the item then says why mobile data is down); without it TTL moves up to item 8. Tests cover the menu dependency and the cache refresh, the Cockpit tab with and without the module, and the toolkit's Network menu in both states. The wiki and the site say it in one sentence. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DqKKtBQZCfxYnHuBCuDqqn