The Flask service runs as user 'pi' in a non-interactive session. nmcli device wifi connect requires polkit authorization which was missing, causing 'Not authorized to control networking' errors. - config/50-babycam-network.rules: grants pi full NetworkManager access via polkit - setup.sh: installs polkit rule, restarts polkit, fixes /etc/hosts hostname entry (missing 127.0.1.1 entry caused harmless but annoying sudo warnings) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 50-babycam-network.rules | ||
| dnsmasq.conf | ||
| hostapd.conf | ||