WiFi would not connect after sleep, or on boot.
I had this issue on two different laptops with different WLAN cards, so it is not driver, or HW issue.
In most cases, WiFi would connect automatically without any issues.
But sometimes (after prolonged sleep, or sometimes even on freshly booted system) WiFi wouldn’t connect. If you try to connect WiFi manually in menu, it will try to connect, say “Configuring Interface” , and it won’t connect.
In most cases simple reboot will fix the problem, but this is annoying. Sometimes it will connect automatically withing 5-10 minutes.
There can be an issue related to returning from sleep (or hibernation) because the system assumes it’s simply resuming an existing User session so won’t automatically do all that happens when a system boots or a User logs in.
This can be easily resolved by manually restarting your network services (wpa_supplicant and Network Manager only likely won’t be enough) because the problem is more basic at the system level. Run the following command, and your connection will be re-made, taking only the time for your AP to respond.
systemctl restart network
It may be worth submitting a bug to https://bugzilla.opensuse.org, someone may find the issue worth fixing.
Be sure to include the Desktop and its version, that’d be important since nowadays “sleep” and “hibernate” typically is managed by it and not by the systemd Units.
The thing is that it sometimes happens even on “cold” boot.
I will try this next time it will happen.
Interesting fact: Broadcom WiFi won’t connect more often, while on Atheros WiFi it is relatively rare.
It may be worth submitting a bug to https://bugzilla.opensuse.org, someone may find the issue worth fixing.Be sure to include the Desktop and its version, that’d be important since nowadays “sleep” and “hibernate” typically is managed by it and not by the systemd Units.
It is worth submitting a bug, since I’m apparently not alone. But I’d like to include some logs, since they might help, but I don’t have understanding of networking, and I have no idea where can I find these logs.
Also I believe that this issue is not openSUSE specific. Other distributions seem to have similar issues.