lepidopter
lepidopter copied to clipboard
Expose a WiFi network upon startup
When the Raspberry Pi first boots up it will setup a WPA encrypted WiFi network with a default password. The SSID shall contain the string "OONI" and it will be a captive portal that redirects any connection on the local network to a setup wizard page (or the web GUI if it's already configured).
A similar setup process is performed by https://github.com/radicallyopensecurity/netaidkit
It looks like there's a PHP web app that passes commands back to a socket of a daemon called nakd that executes shell scripts to change configuration.
The scripts are at least good inspiration for what needs to happen. There's a fair amount of complexity in there, though.