implementing NetworkManager Disabling Wi-Fi on Fedora 37 After Suspend
I'm performance testing and I've hit a wall trying to After trying multiple solutions online, I still can't figure this out... I've searched everywhere and can't find a clear answer... I'm working on a project and hit a roadblock. I'm experiencing an scenario with NetworkManager on Fedora 37 where my Wi-Fi connection gets disabled after the laptop wakes up from suspend. I can see the Wi-Fi adapter is recognized, but it's as if NetworkManager isn't managing it properly. The `nmcli device` command shows the Wi-Fi adapter as disconnected after resuming: ```bash $ nmcli device DEVICE TYPE STATE CONNECTION wlan0 wifi disconnected -- eth0 ethernet connected Wired connection 1 ``` I've tried restarting NetworkManager with the following command: ```bash sudo systemctl restart NetworkManager ``` This does bring the Wi-Fi back online temporarily, but it still fails after the next suspend/resume cycle. I've also checked the logs using `journalctl -xe` and found these relevant entries: ```plaintext NetworkManager[1234]: <info> [1667853454.1234] device (wlan0): state change: disconnecting -> unmanaged NetworkManager[1234]: <warn> [1667853454.5678] device (wlan0): failed to set interface: Device or resource busy ``` I've looked into the NetworkManager configuration file located in `/etc/NetworkManager/NetworkManager.conf` and it seems fine: ```ini [main] plugins=ifupdown,keyfile [ifupdown] managed=false ``` I've also made sure that the power management settings for the Wi-Fi adapter are set to off using: ```bash iwconfig wlan0 power off ``` Any suggestions on how to resolve this scenario? I'm looking for a solution that allows me to automatically reconnect to Wi-Fi after suspend without needing to manually intervene each time. This is part of a larger service I'm building. Am I missing something obvious? I'd really appreciate any guidance on this. I recently upgraded to Bash 3.10. My team is using Bash for this application. Any examples would be super helpful. How would you solve this? Could this be a known issue?