Wi-Fi set up in Settings → Network never auto-connects at boot on a WPA3-only (SAE) SSID — Supervisor writes key-mgmt=wpa-psk, which NetworkManager 1.50 treats as incompatible with SAE-only APs
Describe the issue you are experiencing
On a Raspberry Pi 5 running HAOS 18.3, a Wi-Fi network configured through the UI (Settings → System → Network → wlan0) connects immediately when saved, but is never activated automatically on boot. If the Pi is booted without Ethernet it comes up with no network at all and stays that way; NetworkManager never even attempts the Wi-Fi profile. After plugging Ethernet back in, the Network page shows wlan0 as unconfigured (the Supervisor only reports the active connection), so it looks like HAOS "forgot" the Wi-Fi network. Re-entering the network in the UI works instantly — until the next reboot.
The SSID is WPA3-only (SAE, PMF required, 802.11r, MLO enabled on a UniFi U7 In-Wall / UDR). The same profile connects fine when activated manually, because NetworkManager hands wpa_supplicant key_mgmt=WPA-PSK WPA-PSK-SHA256 FT-PSK SAE FT-SAE and the supplicant negotiates SAE.
Root cause (traced in source)
- The Supervisor always creates the Wi-Fi profile with
802-11-wireless-security.key-mgmt=wpa-psk(supervisor/dbus/network/setting/generate.py); the network API only knowsopen,wep,wpa-psk(AuthMethod,supervisor/host/configuration.py::_map_nm_wifi). - HAOS 18.3 ships NetworkManager 1.50.2. In
nm_setting_wireless_ap_security_compatible()(src/libnm-core-impl/nm-setting-wireless.c) awpa-pskprofile is compatible only with an AP that advertises the PSK AKM:An SAE-only AP therefore never matches. This is unchanged on the nm-1-52, nm-1-54 and nm-1-56 branches. NetworkManager 1.58 addsif (!strcmp(key_mgmt, "wpa-psk")) { if (!(ap_wpa & NM_802_11_AP_SEC_KEY_MGMT_PSK) && !(ap_rsn & NM_802_11_AP_SEC_KEY_MGMT_PSK)) return FALSE; }&& !(ap_rsn & NM_802_11_AP_SEC_KEY_MGMT_SAE)with the comment "key-mgmt=wpa-psk allows connecting to SAE networks". - Consequences on 1.50:
- When the Supervisor calls
AddAndActivateConnection,complete_connection()innm-device-wifi.cfinds no compatible AP and sets802-11-wireless.hidden=trueon the new profile (NetworkManager then logs "active scanning for networks due to profiles with wifi.hidden=yes" on every boot). Activation still succeeds via the supplicant's SAE. - At boot,
can_auto_connect()requiresnm_wifi_aps_find_first_compatible()to return an AP. It never does, so the profile is never auto-activated. No error is logged; the device simply sits indisconnected.
- When the Supervisor calls
Workaround that confirms the diagnosis
From the host (nmcli via the SSH add-on with protection mode off):
nmcli connection modify <uuid> 802-11-wireless-security.key-mgmt sae 802-11-wireless.hidden no
nmcli connection up <uuid>After this, the very next cable-less power cycle auto-connected 2.9 s after wlan0 appeared:
NetworkManager: policy: auto-activating connection 'Supervisor wlan0' (81d53c8b-…)
NetworkManager: Config: added 'key_mgmt' value 'SAE FT-SAE'
wpa_supplicant: wlan0: Associated with 84:78:48:02:c7:fb
NetworkManager: dhcp4 (wlan0): state changed new lease, address=192.168.3.178Side effect of the workaround: the Supervisor logs Auth method sae for network interface wlan0 unsupported, skipping, the Network page shows wlan0 without Wi-Fi details, and saving the card in the UI would write wpa-psk back.
Suggested fixes (either one resolves it)
- operating-system: update NetworkManager to ≥ 1.58, or backport the one-line change to
nm_setting_wireless_ap_security_compatible(). - supervisor: support
saeas an auth method, and/or create the profile withkey-mgmt=saewhen the selected access point advertises only SAE (the/network/interface/<if>/accesspointsresponse could expose the RSN key-management flags so the frontend/Supervisor can choose). - Smaller UX fix: have the Network page show a saved-but-inactive Wi-Fi profile instead of "not configured", so a failed auto-connect doesn't look like a lost configuration.
What operating system image do you use?
rpi5-64 (Raspberry Pi 5 64-bit OS)
What version of Home Assistant Operating System is installed?
18.3 (NetworkManager 1.50.2, kernel 6.18.39-haos-raspi)
Did the problem occur after upgrading the Operating System?
No
Hardware details
Raspberry Pi 5, onboard Wi-Fi (BCM43455, brcmfmac firmware 7.45.265), Argon ONE case, NVMe data disk. No USB devices involved in this issue (a Zooz Z-Wave stick is attached).
Access points: Ubiquiti U7 In-Wall and UDR (UniFi Network), single SSID configured WPA3-only with MLO, PMF required, 802.11r on. Home Assistant Core 2026.9.4, Supervisor 2026.09.3.
Steps to reproduce the issue
- HAOS 18.3 on a Pi 5, Ethernet connected.
- Settings → System → Network → wlan0 → Search networks → pick a WPA3-only SSID → WPA-PSK → password → Save. It connects within seconds.
- Unplug Ethernet and power-cycle.
- Observe: no network. Host log shows NetworkManager scanning ("profiles with wifi.hidden=yes") but never
policy: auto-activating connection 'Supervisor wlan0'. - Plug Ethernet back in: the Network page shows wlan0 with no Wi-Fi configuration even though the profile is still on disk (
nmcli connection showlists it,802-11-wireless.hidden: yes,key-mgmt: wpa-psk). - Change the profile to
key-mgmt=sae,hidden=no(see workaround in the description) and repeat step 3: it auto-connects.
Anything in the Supervisor logs that might be useful for us?
INFO (MainThread) [supervisor.host.network] Creating and activating connection for interface wlan0
(logged on every UI save - a new profile each time, because the Supervisor sees no active wlan0 connection to update. After the workaround: "Auth method sae for network interface wlan0 unsupported, skipping".)Anything in the Host logs that might be useful for us?
Boot without Ethernet, stock (wpa-psk) profile - NetworkManager never attempts wlan0 (timestamps are pre-NTP):
NetworkManager: device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available')
NetworkManager: <warn> device (wlan0): wifi-scan: active scanning for networks due to profiles with wifi.hidden=yes. This makes you trackable
NetworkManager: manager: startup complete
systemd: Startup finished in 1.152s (kernel) + 30.708s (userspace)
... (5 minutes, nothing for wlan0) ...
NetworkManager: device (end0): carrier: link connected <- cable plugged back in
NetworkManager: policy: auto-activating connection 'Supervisor end0'
Manual save of the same SSID from the UI (works, negotiates SAE):
NetworkManager: audit: op="connection-add-activate" name="Supervisor wlan0" pid=<supervisor>
NetworkManager: Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK SAE FT-SAE'
wpa_supplicant: wlan0: Trying to associate with 84:78:48:02:c7:fb (SSID='...' freq=5180 MHz)
wpa_supplicant: wlan0: PMKSA-CACHE-ADDED 84:78:48:02:c7:fb 0
wpa_supplicant: wlan0: Associated with 84:78:48:02:c7:fb
NetworkManager: dhcp4 (wlan0): state changed new lease, address=192.168.3.178
Same boot sequence after changing the profile to key-mgmt=sae (auto-connects 2.9 s after wlan0 appears):
NetworkManager: policy: auto-activating connection 'Supervisor wlan0' (81d53c8b-99c3-4a40-9625-9486881f6221)
NetworkManager: Config: added 'key_mgmt' value 'SAE FT-SAE'
wpa_supplicant: wlan0: Associated with 84:78:48:02:c7:fb
NetworkManager: dhcp4 (wlan0): state changed new lease, address=192.168.3.178System information
System Information
| version | core-2026.9.4 |
|---|---|
| installation_type | Home Assistant OS |
| dev | false |
| hassio | true |
| docker | true |
| container_arch | aarch64 |
| user | root |
| virtualenv | false |
| python_version | 3.14.6 |
| os_name | Linux |
| os_version | 6.18.39-haos-raspi |
| arch | aarch64 |
| timezone | America/Los_Angeles |
| config_dir | /config |
| host_os | Home Assistant OS 18.3 |
|---|---|
| update_channel | stable |
| supervisor_version | supervisor-2026.09.3 |
| agent_version | 1.14.0 |
| docker_version | 29.7.2 |
| disk_total | 116.5 GB |
| disk_used | 10.5 GB |
| nameservers | 192.168.3.1 |
| healthy | true |
| supported | true |
| host_connectivity | true |
| supervisor_connectivity | true |
| ntp_synchronized | true |
| virtualization | |
| board | rpi5-64 |
| supervisor_api | ok |
| version_api | ok |
| installed_addons | Mosquitto broker (7.1.1), Z-Wave JS UI (7.7.1), Zigbee2MQTT (2.14.1-1), Argon ONE OLED Display (1.16.2), File editor (6.1.0), Filebrowser (2.63.23), Advanced SSH & Web Terminal (24.1.6), Nginx Proxy Manager (4.1.0), Duck DNS (2.0.1), Z-Wave JS (1.8.1) |
| adapters | lo (disabled), wlan0 (enabled, default, auto), docker0 (disabled), hassio (disabled), veth* (disabled) |
|---|---|
| ipv4_addresses | lo (127.0.0.1/8), wlan0 (192.168.3.178/24), docker0 (172.30.232.1/23), hassio (172.30.32.1/23) |
| announce_addresses | 192.168.3.178, fe80::3e32:3e8d:6182:bf0b |
(captured while running Wi-Fi-only with the key-mgmt=sae workaround applied; end0 unplugged)
Recorder| oldest_recorder_run | 2026-09-15T00:01:35.771951 |
|---|---|
| current_recorder_run | 2026-09-30T03:40:16.834089+00:00 |
| estimated_db_size | 10.64 MiB |
| database_engine | sqlite |
| database_version | 3.53.2 |
| dashboards | 2 |
|---|---|
| resources | 7 |
| views | 0 |
| mode | storage |
| GitHub API | ok |
|---|---|
| GitHub Content | ok |
| GitHub Web | ok |
| HACS Data | ok |
| GitHub API Calls Remaining | 5000 |
| Installed Version | 2.0.5 |
| Stage | running |
| Available Repositories | 4121 |
| Downloaded Repositories | 10 |
Additional information
Related: #4952 ("WiFi never auto-activates at boot on generic-x86-64") has the identical signature on an Intel NUC / iwlwifi — profile present, nmcli connection up works instantly, no policy: auto-activating line ever, and wifi.hidden=true unexpectedly set on the Supervisor-created profile. That report didn't reach a root cause; the analysis above explains all of those observations if that SSID is also WPA3-only, so this is likely the same bug on a second platform/driver.
Same SSID/hardware auto-connected on an earlier HAOS boot when the AP still advertised PSK, which is consistent with the PSK-only compatibility rule. With the same profile changed to key-mgmt=sae, the Pi 5 has now auto-connected on consecutive cable-less power cycles.
Source: home-assistant/operating-system