Network Activation Failed after Sleep Mode

Hello there, everyone!

I've been experiencing a weird error for a few months, where every time I close my laptop or the screen dims, the network experiences an error. I exclusively use WiFi and my Framework laptop. This error is fixed when I restart the device, but this means I have to restart somewhere between 5-20 times a day depending on how much I need to use the computer. Any idea on how to fix this? Thanks!

Hi, here is my search results using Brave A.I. search engine via mojeek (I used ubuntu 22.04 as my search criteria as that is what Zorin 17 is forked from):

"#

Network Activation Fails After Sleep

Network activation failing when coming out of sleep mode in Ubuntu 22.04 can be a common issue, often related to the WiFi driver not handling the wake-up process correctly. Users have reported that rebooting the system is the only way to recover from this issue. The problem seems to be specific to certain hardware configurations, as it has not been observed on other machines running the same Linux version.

One user suggested that the issue might occur if the WiFi card is in the middle of a scan when the system goes to sleep, and the driver does not handle the interrupted scan well upon wake-up. To address this, some users have tried changing the sleep mode parameter in sysfs from "deep" to "s2idle". This can be done by running the following commands:

# cat /sys/power/mem_sleep
s2idle [deep]
# echo "s2idle" > /sys/power/mem_sleep
# cat /sys/power/mem_sleep
[s2idle] deep

Switching to a proprietary video driver, such as Nvidia, has also helped some users resolve the issue.

For further troubleshooting, you might want to check the wpa_supplicant logs for more detailed error messages.

AI-generated answer. Please verify critical facts."

So, the Wifi stops entirely to work or does it work and is only slower?