Wifi (DNS?) doesn't work after suspending for a while
System details
AMX HX370, Omarchy 3.1.3
What's wrong?
When suspending omarchy, and then waking up my laptop after a while, the network often doesn't work.
iwd (and the icon in the top bar) still shows connected, but nothing is available (through browser, ssh, email clients etc.).
Perhaps this is a DNS issue. If I suspend only for a short period, e.g. 10 minutes, it usually doesn't happen. It doesn't seem to be consistent after longer periods either, but happens very often after e.g. 30-60 minutes.
I've tried to disconnect and reconnect wifi, but it still doesn't work. I've tried to turn off the adapter, and turn it on again. Issue remains.
The only fix I've found is to restart the laptop, which is suboptimal. Because of this I have to restart my laptop multiple times daily.
I think the issue started with Omarchy 3.1.1.
Just updated to 3.1.4. Experienced the issue just ~30 seconds after suspending.
Decided to shutdown, but the shutdown hang at the final OMARCHY ascii-art screen.
I also encountered this this morning - I had to do a full reboot. I wasn't sure how to debug, so I just left it until It happened again.
same issue here - restarting tailscaled fixed it for the session:-
sudo systemctl restart tailscaled.service
need to turn tailscale off for a while to see if its just a symptom or cause.
Same issue here. it shows connected while it is not. when trying to disconnect it displays "operation failed".
the only solution i found is sudo systemctl restart iwd
sudo systemctl restart tailscaled.service
tailscaled.service is not available on my installation.
Same issue here. it shows connected while it is not. when trying to disconnect it displays "operation failed". the only solution i found is
sudo systemctl restart iwd
This didn't do the trick for me. After lunch, I still had to reboot.
This happens pretty much every time I suspend.
Running omarchy-setup-dns, selecting DHCP, then inputting my password gets it going again.
Of course, you can also use the GUI: Setup > DNS > DHCP.
Simple fix, but a pain to need to run this every time my laptop closes.
Related:
I have the same problem on my framework laptop 13. I believe this can be related to the power save of the WIFI module. When battery is full I don't have much problem, while when battery is less than half, I notice that I have to connect/disconnect WiFi multiple times to make it work.
I want to try to run the following command to temporarily disable powe-save and see if this is a driver bug or not.
sudo iw dev wlan0 set power_save off
I found out that my issue was because of my NordVPN. If I suspend with it connected my internet stops working (guessing it has something to do with DNS resolution or whatever nordvpn does to the connection)