Technical

Why WiFi is not working in Ubuntu?

Why WiFi is not working in Ubuntu? The Solution Is Here.
Written by omanjali

Why WiFi is not working in Ubuntu? 

Why WiFi is not working in Ubuntu?  As of right moment, the 22.04 edition of Ubuntu includes a flaw that results in several WiFi problems. However, in addition to the defect in this particular version, the following are possible causes of WiFi problems on Ubuntu:
1.The wireless adapter driver is inactive or missing.
2.the wrong driver has been installed
3.The wireless adaptor is not functioning.
4.ISP-side DNS cache corruption issues

Read More:About Wii Issue

How Can I Fix Ubuntu WiFi Issues?

Why WiFi is not working in Ubuntu? Before you start troubleshooting, restart your router because that usually solves the problem by itself.

Fix the WiFi bug in Ubuntu 22.04

Update Kernel:
The newest kernel releases have a fix for this problem. Execute the following commands in the terminal to update the kernel version:

sudo apt-get update
sudo apt-get dist-upgrade

As an alternative, you can use the Software Updater tool and the update-manager -d command to force an upgrade.

Revert Kernel

How to follow steps is shown below:

1.When booting, hold Shift to enter GRUB.
2.Choose Ubuntu’s Advanced Options.
3.The kernel version to use can be chosen. Version 5.13 has largely been successful for users.

Eliminate the Bug

Last but not least, you may also try a straightforward fix that entails verifying the OpenSSL configuration file and restarting WPA if you don’t want to touch the kernel at all. Please take note that the WPA supplicant must be restarted for this solution, which results in an unsafe handshake. Here are the steps to accomplish it after that:

  • Navigate to /usr/lib/ssl/ and open the openssl.cnf file.
  • Make sure the configuration file has the following lines:
    openssl_conf = openssl_init
    [openssl_init] ssl_conf = ssl_sect
    [ssl_sect] system_default = system_default_sect
    [system_default_sect] Options = UnsafeLegacyRenegotiation

Then, run the below instructions to restart WPA:

1.sudo pkill wpa_supplicant
2.wpa_supplicant

Install / Use WiFi Driver 

Linux, being the hands-on system that it is, often just contains the essential necessities during the installation, leaving everything else up to you to configure. Install / Use WiFi Driver Use of WiFi during installation is one technique to make sure the WiFi packages are there.

This problem is relatively simple to solve:

1.Select Show Applications > Software & Updates from the menu.
2.The Additional Drivers tab should be selected.
3.Press Apply Changes after choosing your desired wireless adapter driver source.

4.The WiFi ought to be accessible when the driver has been installed.

The Ubuntu ISO can be used to instal the WiFi drivers in the following ways:

1.Download the Ubuntu version ISO to another device, then copy it to a USB drive.
2.Copy the ISO file to the home directory after connecting the USB to your Ubuntu device.
3.To mount the ISO image, carry out the following commands:
sudo mkdir /media/cdrom
cd ~
sudo mount -o loop ubuntu-* /media/cdrom
4.Reopen Software & Updates, then switch on Installable from CD-ROM.
5.Apply the modifications by selecting the driver, switching to the Additional Drivers tab.

Some customers found that restarting Network Manager fixed the issue with the missing WiFi settings. The following commands allow you to accomplish the same thing:

1.Launching NetworkManager:sudo systemctl start NetworkManager.service

2.Restarting it:sudo systemctl restart NetworkManager.service

3.Run it at boot to use:sudo systemctl enable NetworkManager.service

Resolve Wireless Adapter Problems

The WiFi problem could also be caused by a disabled, unrecognised, or otherwise dysfunctional wireless adapter. Here’s how to identify and resolve the problem in such circumstances:

1.To begin with, verify whether the wireless adapter is connected using the nmcli device command. Your wireless adapter isn’t functioning properly if it’s not listed or connected.

2.Make that the WiFi Adapter is not being blocked by the BIOS before running the rfkill list command.

3.Use the rfkill unblock all command if it is blocked. Make sure the physical wireless switch on your device is not off as well, if it has one.
4.Then, as demonstrated below, use the sudo lshw -C network command to determine the kind of your wireless adapter and conduct the necessary actions.

5.If there aren’t any wireless devices listed, your wireless adapter is broken. Check to see whether the wireless adapter can be reseated and that the connection is not loose. If that is ineffective, the adapter may already be dead.
6.If a wireless device is mentioned, even though it isn’t being used, your adapter is still functional. This is probably as a result of the missing drivers. The WiFi will function properly once you instal the proper driver for your adapter.

Resolve Common WiFi Issues

1.Make sure the aeroplane mode is off on your device. Some people have found relief by turning it on and off.
2.If a certain account is having WiFi problems, check the WiFi Settings to make sure the option to Make Available to Other Users is turned on.
3.Go to WiFi Settings > Forget Connection and reconnect with the new password if you’re still having WiFi problems after changing the password.
4.If a particular WiFi is not visible, it might be concealed. Either utilise the Connect to Hidden WiFi option in WiFi Settings to activate SSID Broadcast or enable it in the router’s settings.

Update DNS and renew IP addresses

You can be unable to access specific websites due to a corrupt DNS cache, which gives the appearance that the WiFi is down. The same holds true for an incorrect IP address. To update your IP address and remove the DNS cache in these circumstances, use the commands below:

sudo dhclient – r
sudo dhclient
sudo systemd-resolve – flush-caches

 

Read More:Installation Ubantu

About the author

omanjali

Leave a Comment