Cannot use Wi-Fi after attempted driver update

NeedHelpPlease

New Member
Joined
Mar 22, 2024
Messages
3
Reaction score
4
Credits
31
I am running ubuntu 22.04.3 on Honor Magicbook 15.I have been experiencing random crashes latelty and was trying to look into them. I decided to start with checking my drivers.I wanted to check if my drivers were up up-to-date. I stumbled upon this post: https://askubuntu.com/questions/543325/how-to-download-all-required-ubuntu-drivers. Following top answer's instructions I ran:
Code:
sudo ubuntu-drivers install
sudo reboot

Afterwards, it looked like my laptop crashed or something went wrong. After a reboot I cannot connect to any Wi-Fi network. They are simple not displayed in "Networks" tab in bottom right corner.

I would greatly appreciate if someone could help me get my Internet connection up and running.

Here are some things I have checked and believe could be useful:
iwconfig output:
Code:
lo        no wireless extensions.
docker0   no wireless extensions.

rfkill list all:
Code:
0: hci0: Bluetooth
       Soft blocked: yes
       Hard blocked: no

lswh (only copied entries I found weird):
Code:
*-network UNCLAIMED
                description: Network controller
                product: Atheros QCNFA765
                vendor: Qualcomm
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 01
                width: 64 bits
                clock: 33MHz
                capabilities: cap_list
                configuration: latency=0
                resources: memory:d0000000-d01fffff
Code:
*-multimedia:1 UNCLAIMED
                description: Multimedia controller
                product: Raven/Raven2/FireFlight/Renoir Audio Processor
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.5
                bus info: pci@0000:03:00.5
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: cap_list
                configuration: latency=0
                resources: memory:d0580000-d05bffff

lspci | grep -i net
Code:
01:00.0 Network controller: Qualcomm Atheros QCNFA765 (rev 01)

lsmod | grep ath
Code:
ath11k_pci             32768  0
ath11k                860160  1 ath11k_pci
qmi_helpers            32768  1 ath11k
mac80211             1720320  1 ath11k
cfg80211             1318912  2 ath11k,mac80211
mhi                   106496  1 ath11k_pci

sudo dmesg | grep ath11k
Code:
[   10.674942] ath11k_pci 0000:01:00.0: BAR 0: assigned [mem 0xd0000000-0xd01fffff 64bit]
[   10.674969] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[   10.675742] ath11k_pci 0000:01:00.0: MSI vectors: 32
[   10.675751] ath11k_pci 0000:01:00.0: wcn6855 hw2.1
[   39.952577] ath11k_pci 0000:01:00.0: failed to power up mhi: -110
[   39.952584] ath11k_pci 0000:01:00.0: failed to start mhi: -110
[   39.952591] ath11k_pci 0000:01:00.0: failed to power up :-110
[   39.968380] ath11k_pci 0000:01:00.0: failed to create soc core: -110
[   39.968390] ath11k_pci 0000:01:00.0: failed to init core: -110
[   40.165512] ath11k_pci: probe of 0000:01:00.0 failed with error -110

Would love to provide any additional information. Help me, please, pretty please
 


Looking at the output from 'lsmod' you posted, the ath11k module/driver is listed.
However, it looks like the driver isn't loading.

I'm not good with the WiFi stuff but not to worry there are other members here that have the skills to help you.
Maybe @wizardfromoz can assist.

You could try rolling back to an older kernel and wee if that helps.
Running uname -a will show you what kernel your install is using.
* To do that go into "Advanced Options" in your Grub Menu and choose a different kernel.*
 
After hours of hitting the wall, I have finally figured it out.

Important note! I was completely unaware of what I was doing and why. I was simply replicating solutions I found online from people having issues close enough to mine.

My laptop doesn't have port for Ethernet connection and of course I don't own an adapter for that. So the first thing was to somehow get Internet access on my machine.

Step 1
It turns out that phones can share Cellular data through USB alone!
Here is simple guide for Android phones that I used to do exactly that.

Step 2
I tried updating everything I could:
- sudo apt update
- sudo apt upgrade
- sudo apt install linux-firmware

Step 3
I tried this command:
- sudo modprobe ath11k
where ath11k stands for the name of my driver.

Step 4
Restarted my laptop.

Step 5
Checked if the error was still present: dmesg | grep ath11k
Indeed, it was. At this point I realised that apparently my system could recognise my network module and it even saw that I have suitable driver for it installed, but for some reason, wireless connection interface of my network module still wouldn't appear on anycommand like ifconfig, iwconfig or rfkill list all.

Step 6
And lastly, thing that I think made the difference (outlined in this post), run:
- wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.197_all.deb
- sudo dpkg -i linux-firmware*.deb - this one actually gave me an error, idk what's up with that

Step 7
Rebooted once again, losing all hope that was left.

Step 8
Upon reboot I get greeted by working and already connected Wi-Fi. What a pleasant surprise! I think this whole experience once again taught me that with computers, and Linux specifically, most important thing is not to give up - solution is somewhere out there, just have to keep trying.

These were very frustrating 5 hours, so i genuinely wish everyone a good luck with any computer-related issues they might encounter!

Again, I do not understand or know what most of these things mean and if they actually did anything for me or not. But I for sure know that after doing exactly this, it all worked out for me.
 


Top