babycam/config
Julian Vollmer 00cf83b04e Fix WiFi connect: add polkit rule for NetworkManager + hostname in /etc/hosts
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>
2026-05-27 17:15:49 +02:00
..
50-babycam-network.rules Fix WiFi connect: add polkit rule for NetworkManager + hostname in /etc/hosts 2026-05-27 17:15:49 +02:00
dnsmasq.conf Add complete babycam setup: install script, Flask app, state machine, configs 2026-05-18 14:38:26 +02:00
hostapd.conf Add complete babycam setup: install script, Flask app, state machine, configs 2026-05-18 14:38:26 +02:00