You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functestlib: make nmcli Wi-Fi connect robust with key-mgmt fallback
Some images fail the simple NetworkManager path:
nmcli dev wifi connect <SSID> password <PSK>
Error: 802-11-wireless-security.key-mgmt: property is missing.
Extend wifi_connect_nmcli() to detect this error and automatically
switch to an explicit profile flow:
- Ensure Wi-Fi is enabled and device is managed.
- Disconnect and rescan the SSID, delete any stale connection.
- Create a profile with:
* WPA2/PSK: wifi-sec.key-mgmt wpa-psk, wifi-sec.psk <pass>
* Fallback: wifi-sec.key-mgmt sae (WPA3-Personal) if needed
* Open nets: wifi-sec.key-mgmt none (no password)
- Bring the connection up and return success on first working method.
Signed-off-by: Srikanth Muppandam <[email protected]>
0 commit comments