How to solve Wifi issues in Ubuntu

Mohammed Aadil
featurepreneur
Published in
2 min readMay 31, 2024

Ubuntu 22.04, the latest Long Term Support release, promises an enhanced user experience, but WiFi connectivity issues can still arise.

Updating to kernel 5.17.5 makes stable wifi on Ubuntu 22.04, so connect via USB tethering. Warning: a system may not start after updating kernel when secure boot is on.

Follow the link to know how to turn off secure boot in BIOS, then download kernel by executing these codes one by one in terminal

cd ~/Downloads
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.17.5/amd64/linux-headers-5.17.5-051705_5.17.5-051705.202204271406_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.17.5/amd64/linux-headers-5.17.5-051705-generic_5.17.5-051705.202204271406_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.17.5/amd64/linux-image-unsigned-5.17.5-051705-generic_5.17.5-051705.202204271406_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.17.5/amd64/linux-modules-5.17.5-051705-generic_5.17.5-051705.202204271406_amd64.deb
sudo dpkg -i *.deb

If the above method did not work, then downgrade your ubuntu version from 22.04 to 20.04. For this you have to remove Ubuntu version 22.04 from your system and install Ubuntu version 20.04. Most of the users did not find any inconvenience while using wifi in this version. However, some of you might face an issue, “No Wifi-Adapter Found”.

To solve this, first turn off the fast boot in windows. Follow the link to know how to disable fast boot.

Then, open Ubuntu and open Terminal and execute the following codes one by one:

lspci | grep Network
lspci -k | grep -A 3 Network
sudo apt update
sudo apt upgrade
sudo service network-manager restart
nmcli radio wifi off
nmcli radio wifi on
nm-connection-editor
sudo iwlist scan | grep ESSID

and reboot. By now, you would have got the wifi option in your system.

If both the methods did not work, there is always a plan-B. Just connect your phone to your wifi and connect your phone to your system via USB and then enable USB tethering in your mobile phone.

--

--

Mohammed Aadil
featurepreneur

Web Developer | Back End, and API Integration | Passionate about expanding knowledge in DevOps, Blockchain, AI/ML, and Data Science.