New package for joining SecuBox mesh networks from OpenWRT devices. RPCD handler (/usr/libexec/rpcd/luci.masterlink): - status: Current mesh membership state - join: Join mesh with master_ip and token - leave: Leave current mesh network - info: Local node info (fingerprint, hostname, IP) - verify: Verify master before joining CLI tool (/usr/bin/sbx-mesh-join): - URL parsing: sbx-mesh-join 'http://ip:7331/master-link/?token=xxx' - Direct args: sbx-mesh-join 192.168.1.1 token123 - Auto-generates node fingerprint from MAC address - Saves to UCI on success LuCI interface (Services > Master-Link): - Status display (connected/pending/disconnected) - Invite URL/token input with Verify and Join buttons - Leave mesh button when connected - CLI usage help section Also adds screenshot-capture.js for automated LuCI screenshots. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
312 B
JSON
18 lines
312 B
JSON
{
|
|
"luci-app-masterlink": {
|
|
"description": "Grant access to Master-Link mesh enrollment",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.masterlink": ["status", "info", "verify"]
|
|
},
|
|
"uci": ["masterlink"]
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.masterlink": ["join", "leave"]
|
|
},
|
|
"uci": ["masterlink"]
|
|
}
|
|
}
|
|
}
|