Recently I've made some maintenance work on my old HP Pavilion 17-f211nw. Cleaning, thermal paste exchange, installation of ssd...etc. As part of work done, was installation Zorin OS 17 Core. System works fine i'm quite please with it except one thing...as in the topic title.
Every time I resume laptop from sleep my wifi doesn't work. I need to restart the computer to have working. Otherwise everything seems to be OK. Maybe it is not a big issue, because with new ssd laptop starts quite fast, but anyhow it is a restart which sometimes is not convenient.
Could somebody give me some hints, help-hand how to deal with the issue?. I shall admit that same issue I had with previously installed Linux Mint. Additionally i installed Zorin OS 17 on my wife's old Macbook Air and her computer works just fine without this issue.
It seem your wireless card doesn't take an IP from your router, the only thing I can say it's many Linux distro have problem with suspend, so if you can, don't use it...
The issue of the BCM43142 wireless adapter losing connection when waking from sleep in Ubuntu 22.04 on an HP Pavilion 17-f211nw is a known problem. Users have reported that after the laptop wakes from sleep, the Network Manager shows the Wi-Fi as "disabled via hardware switch," even though there is no physical hardware switch on the laptop.2
To resolve this issue, you can try the following steps:
Check for Hardware Block :
Run the command rfkill list to check if the Wi-Fi is hard blocked. If it is, you may need to unblock it using rfkill unblock wifi .
Update Kernel :
Ensure that your system is running the latest kernel. Sometimes, updating to a newer kernel can resolve hardware compatibility issues. You can install the latest kernel using the Mainline tool.
Reinstall Broadcom Drivers :
Reinstall the Broadcom wireless drivers. You can do this by running the following commands:
Ensure that your laptop's firmware is up to date. Firmware updates can sometimes resolve hardware issues.
Temporary Workaround :
If the above steps do not resolve the issue, a temporary workaround is to toggle the Wi-Fi on and off. You can do this through the Network Manager or by using the command line:
nmcli radio wifi off
nmcli radio wifi on
If the problem persists, you may want to consult the Ubuntu community forums or the HP support website for additional troubleshooting steps or updates."
Whilst not a Pavilion notebook some interesting bits in this thread:
Thanks. I was following what You mentioned.
The hardware is blocked according to rfkill, i.e. Hard blocked: Yes, but unblock doesn't help. Kernel is updated according to Zorin OS 17.2. I did as well re-installation of drivers.
When my wifi is off toggle software switch is not switching on...
What I can see from attached thread, it is a common issue and no easy, certain solution....
Yeap, right, but since I have working card and the only issue is with resume from sleep I would like to keep to no cost solution.....unless my card breaks completely.
I don't avoid it. That's why I ask for help on the form. On the another hand if solution requires deeper knowledge/more background (what I understand it is exactly in respect to kernel) I simply don't have it.
This post is in regards to a system that is not dual booting Windows OS and has Secure Boot disabled:
I can understand reticence to take actions you are uncertain about. One of the reasons we ask for help and for guidance is to gain that knowledge and certainty.
And you may need to downgrade the kernel, rather than upgrade it. Would need to know more before determining which you need...
If you installed the Open Source driver from post three, you may need to ensure that the existing Broadcom Proprietary driver does not conflict with it by blacklisting it. echo -e "blacklist bcma\nblacklist brcmsmac" | sudo tee /etc/modprobe.d/blacklist-broadcom.conf
With that blacklisted, you must update initramfs:
sudo update-initramfs -u
You will not see a change until reboot.
Another step: Disable power management of Networking from disabling the card:
I did as requested. I blacklisted proprietary driver , disable power management etc. but did not help. Finally i changed kernel as described in link and i have no wifi at all.
Please see below
Above, I mentioned we may need to downgrade your kernel and I would need to research that more.
You can boot from Grub Menu > Advanced optiions and select the earlier kernel to boot from.
What steps did you take to "undo" the kernel?
To remove the 6.12 kernel, you only need to run