Upon upgrading to Fedora 44, the name of the wireless device has changed from wlp1s0f0 to wld0.
Symptoms
All previously saved WiFi networks would not auto connect, and attempting to manually connect would either:
- Try to create a new duplicate entry with a name such as “MySSID 1”, if you tried doing it from the Wi-Fi quick settings.
- Fail silently with a log message in NetworkManager, if you try clicking an entry under Settings > Wi-Fi > Visible Networks:
Jun 09 22:53:49 han-macbook-air NetworkManager[1295]: [1781016829.3907] audit: op=“connection-activate” uuid=“f1321de9-9730-4e8c-8f1a-24d8e513df5a” name=“Astra” pid=7334 uid=1000 result=“fail” reason=“Connection ‘Astra’ is not available on device wld0 because profile is not compatible with device (mismatching interface name)”
Why
Because GNOME saves connections in NetworkManager with the interface name.
Fix
Run the following command from the terminal:
nmcli connection | awk 'BEGIN { FS = " +"; ORS = "\0" }; $3 == "wifi" { print $1 }' | xargs -0 -I '{}' -t nmcli connection modify '{}' connection.interface-name wld0
This would modify all the previously saved Wi-Fi connections to the new interface name.
No further action should be necessary.
If you’re reading this from another device, and just need to get online with your current Wi-Fi network first, then:
nmcli connection modify 'MySSID' connection.interface-name wld0
(replace MySSID with your current Wi-Fi network name)