CodexBloom - Programming Q&A Platform

implementing NetworkManager scenarios to connect to Wi-Fi after upgrading to Fedora 38

πŸ‘€ Views: 69 πŸ’¬ Answers: 1 πŸ“… Created: 2025-06-04
fedora networkmanager wifi linux bash

After trying multiple solutions online, I still can't figure this out. After upgrading to Fedora 38, my laptop's NetworkManager fails to connect to Wi-Fi networks, displaying the behavior: `Connection failed: Activation of network connection failed`. I've tried restarting the NetworkManager service, but it hasn't resolved the scenario. Using the command `nmcli device` returns the following: ``` DEVICE TYPE STATE CONNECTION wlan0 wifi unmanaged -- ``` It seems like the Wi-Fi adapter is in an unmanaged state. I checked the NetworkManager configuration in `/etc/NetworkManager/NetworkManager.conf` and it looks like this: ``` [main] plugins=ifupdown,keyfile [ifupdown]\nmanaged=false ``` I attempted changing `managed=false` to `managed=true` and restarted NetworkManager with `sudo systemctl restart NetworkManager`, but the scenario continues. My Wi-Fi adapter is recognized correctly by the system as shown by `lspci | grep -i network`, which outputs: ``` 02:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29) ``` I've also tried reinstalling the `NetworkManager` package and clearing the DNS cache using `sudo systemd-resolve --flush-caches`, yet this hasn't helped either. Can anyone suggest further troubleshooting steps or configurations that might resolve this scenario? It’s crucial for me to get back online soon. What's the best practice here? Any advice would be much appreciated.