Fix network connection timeouts and security detection

- Fixed detectSecurity() where WPA2 (0x100/PSK) and WPA3 (0x400/SAE)
  flags were swapped, causing NM to reject connections silently
- Added missing AP path to AddAndActivateConnection call
- Added critical connection settings: UUID, interface-name,
  autoconnect, permissions
- Changed init() to fail fast with logger.Fatal instead of
  silent failure on NM connection error
- Added auth-alg and psk-flags to WPA/WPA2 security settings
This commit is contained in:
NeilClack
2026-06-28 01:56:35 -05:00
parent 97babaa1b2
commit 193ebbcb27
23 changed files with 1185 additions and 12 deletions
+3
View File
@@ -11,6 +11,9 @@ github.com/go-gl/mathgl/mgl32
# github.com/godbus/dbus/v5 v5.1.0
## explicit; go 1.12
github.com/godbus/dbus/v5
# github.com/google/uuid v1.3.0
## explicit
github.com/google/uuid
# github.com/jinzhu/inflection v1.0.0
## explicit
github.com/jinzhu/inflection