Hey, I just moved from Windows to Zorin (with a dual boot with W11), and when my pc goes in sleep mode (when I close the screen) and I wake it up, the wifi seems to be off, but I can't enable it (it has disappeared from the system menu and from the settings) again except when I turn off and on again my computer. It's a bit annoying since I waste ~2 min for each start up. My computer is an Asus Vivobook Pro 15 OLED. Let me know if you need more info, thanks.
To save yourself having to do a full hard reboot, you might try running
sudo service network-manager restart
Or
sudo systemctl enable wifi-resume.service
in terminal upon wake (these can be automated with a script if needed) to see if that enables wifi upon wake.
The Most common cause for Wifi staying disabled on wake is due to a Notebook computer in use with power save features disabling wifi.
You can check in your Power Settings or disable Powersave on Wifi and see if that halts the issue.
tried both
the first one does not work (or I am bad at making it work)
the second one display an error: Failed to enable unit: Unit file wifi-resume.service does not exist
That's when I do it before the issue happens (the wifi is still working)
After the wake, the two of them simply does not execute, it loops in the void.
Have you checked your power save settings?
Welcome to the Forum!
When You have a Dual-Boot System with Windows: Do you have Secure Boot and Fast Boot in BIOS disabled and Fast Start-Up in Windows?
Could You post the Output of the Command sudo lshw -C network please to show what Network Stuff You have built in?
There you go
*-network
description: Wireless interface
product: MT7921 802.11ax PCI Express Wireless Network Adapter
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:2d:00.0
logical name: wlo1
version: 00
serial: 90:e8:68:41:c8:83
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=mt7921e driverversion=6.8.0-85-generic firmware=____010000-20231109190959 ip=10.253.1.71 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: iomemory:600-5ff iomemory:600-5ff iomemory:600-5ff irq:189 memory:601c100000-601c1fffff memory:601c200000-601c203fff memory:601c204000-601c204fff
What should my power settings be ?
Try disabling fast startup and hybrid sleep in BIOS/Windows power settings, that sometimes interferes with Zorin after wake. On my Asus it fixed the missing wifi toggle.
At settings>power>power mode
set it to balanced.
You can also disable wifi powersaving:
Then restart network manager
sudo systemctl restart NetworkManager.service
didn't find hybrid sleep in the BIOS
this didn't work sadly
It should work with the Kernel but maybe a newer one could help. To install a newer Kernel here are Instructions:
I did that, and when rebooting, it displays an error saying the kernel is not loaded
I tried to find something online but it is too advanced for me, I didn't understand anything ![]()
What have You exactly done?
all of what is described in your previous message + trying to resolve my problem with grub with the boot repair in the try version of Zorin on a usb. I wonder if it not simplier to just reinstall Zorin from the beginning and then trying to solve my wifi issue if it is still there, because I haven't much files to recover and I already have a backup + I might have messed things up trying all the solutions described before, without really knowing what I have done
If you don't have a big Issue with fresh Install, You could try that, sure.
One other Thing: Did You tried the Zorin 18 Beta? If yes, did the Wifi run with that?
I didn't, I'll do it to see if it changes something
I installed Zorin 18, the problem is still here, when pc goes into sleep, the WiFi vanish, related setting and options too, as it never existed.
I tried to disable the network manager power saving, it didn't do anything.
sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Can you arrowkey to the value 3 and change that to a 2
It should look like: wifi.powersave = 2
Tap ctl+o to overwrite, enter key to save current configuration, then ctl+x to exit the editor.
Then test...
didn't do anything ![]()