secubox-openwrt/package/secubox/secubox-master-link/files/etc/config/master-link
CyberMind-FR 5fd3ebb17a feat(factory): Add zero-touch auto-provisioning for mesh devices
- Add inventory.sh for hardware inventory collection (MAC, serial, model, CPU, RAM, storage)
- Add profiles.sh for profile management and device matching
- Add default.json profile template for auto-provisioned peers
- Add discovery mode to master-link.sh with pending queue and approval workflow
- Add bulk token generation (up to 100 tokens per batch)
- Enhance 50-secubox-clone-provision with inventory collection and discovery join
- Add 9 new RPCD methods to luci.cloner for factory provisioning
- Fix p2p-mesh.sh to be silent when sourced as library
- Add UCI options: discovery_mode, auto_approve_known, discovery_window, default_profile

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-24 17:58:36 +01:00

26 lines
779 B
Plaintext

# SecuBox Master-Link Configuration
config master-link 'main'
option enabled '1'
option role 'master'
option upstream ''
option depth '0'
option max_depth '3'
option token_ttl '3600'
option auto_approve '0'
option ipk_path '/www/secubox-feed/secubox-master-link_*.ipk'
# ZKP Authentication
option zkp_enabled '1'
option zkp_fingerprint ''
option zkp_require_on_join '0'
option zkp_challenge_ttl '30'
# Factory Auto-Provisioning (Discovery Mode)
option discovery_mode '0'
# Enable discovery mode to accept new devices without tokens
option auto_approve_known '0'
# Auto-approve pre-registered MAC/serial devices
option discovery_window '300'
# Discovery window in seconds (0 = always open)
option default_profile 'default'
# Default profile for new devices