In case your Ubuntu system refuses to hook up with Wi-Fi, you’re not alone. Wi-fi points are one of the vital widespread frustrations we Linux customers face. In case your Wi-Fi isn’t displaying up, retains disconnecting, or received’t join, there are a number of methods to troubleshoot and repair the issue.
These aren’t the one attainable options for Ubuntu Wi-Fi issues, however they’re a terrific place to begin. If nothing else works, you could have to dig deeper into {hardware} compatibility, kernel updates, or superior troubleshooting.
Test If Ubuntu Acknowledges Your Wi-Fi Adapter
Earlier than adjusting community settings or putting in drivers, test whether or not Ubuntu detects your {hardware}. When you’re utilizing a built-in wi-fi card, open a terminal and run:
lshw -C community
For USB Wi-Fi adapters, test if Ubuntu detects the system by operating:
lsusb
In case your adapter seems within the checklist however isn’t working, the difficulty is probably going driver-related. If it doesn’t present up, Ubuntu could not acknowledge the {hardware}. For USB adapters, unplug and re-plug, attempting totally different USB ports. For inside playing cards (PCIe, and so on.), energy off your pc, rigorously open the case (if snug), and make sure the card is firmly seated in its slot.
Restart Community Companies
Restarting the NetworkManager service can resolve many connectivity points. Open a terminal and run:
sudo systemctl restart NetworkManager
As soon as the service restarts, strive connecting to Wi-Fi once more. If the difficulty persists, restart your system to use the modifications.

Associated
Set up Lacking Wi-Fi Drivers
If Ubuntu isn’t detecting your inside Wi-Fi card or exterior adapter, putting in the proper drivers may repair the difficulty. Test for accessible drivers by operating:
ubuntu-drivers units
If a driver is listed, set up it utilizing:
sudo apt set up firmware-b43-installer
This command is for Broadcom adapters, however different Wi-Fi playing cards could require totally different packages. When you’re utilizing a USB Wi-Fi adapter, seek for your adapter mannequin together with “Ubuntu driver” to seek out the proper set up steps. Some USB adapters require third-party drivers that should be put in manually.
For instance, in case your USB adapter makes use of a Realtek chipset, you may want to put in further drivers with:
sudo apt set up rtl8821ce-dkms
If Ubuntu nonetheless doesn’t acknowledge your adapter after putting in drivers, unplug it and plug it again in, or restart your system.
Make Positive Wi-Fi Isn’t Blocked
Ubuntu features a device known as rfkill, which might block and unblock wi-fi units on the software program (gentle block) or {hardware} (exhausting block) degree. To test if Wi-Fi is disabled, run:
rfkill checklist
If the output reveals “gentle blocked” or “exhausting blocked,” the system is stopping the adapter from working. Unblock it by operating:
sudo rfkill unblock wifi
If the Wi-Fi toggle in your system settings continues to be grayed out, restart your pc to use the change.
Repair Lacking or Hidden Wi-Fi Networks
In case your Wi-Fi community isn’t displaying up, test that the adapter is enabled and scanning correctly. Working:
nmcli radio wifi
This can affirm whether or not Wi-Fi is enabled. If it’s off, flip it again on with:
nmcli radio wifi on
For USB adapters, unplugging the system and plugging it again in can pressure Ubuntu to rescan for networks. In case your community nonetheless isn’t showing, restart your router or transfer nearer to rule out sign power points.
Repair Sluggish Wi-Fi or Frequent Disconnections
In case your Wi-Fi is gradual or retains dropping, switching DNS servers might help.
To vary DNS settings for a selected Wi-Fi connection, open Settings, go to Wi-Fi, and click on the gear icon subsequent to your related community. Change to the IPv4 tab, disable “Automated” beneath DNS, and enter 8.8.8.8, 8.8.4.4 for Google DNS or 1.1.1.1, 1.0.0.1 for Cloudflare’s DNS. Click on Save, then disconnect and reconnect to use the modifications.
For a system-wide DNS change, open the systemd-resolved configuration file in Vim:
sudo vim /and so on/systemd/resolved.conf
Scroll right down to the [Resolve] part. You need to see a piece that appears like this:
By default, the DNS= and FallbackDNS= strains are commented out with #, which means they’re inactive.
Uncomment the strains by eradicating the # firstly of every.
Enter the popular DNS servers. For instance, to make use of Google DNS and Cloudflare DNS, modify the strains like this:
DNS=8.8.8.8 8.8.4.4
FallbackDNS=1.1.1.1 1.0.0.1
Save and exit Vim by urgent Esc, typing :wq, and hitting Enter. Restart systemd-resolved to use the modifications:
sudo systemctl restart systemd-resolved
Confirm the brand new DNS settings:
resolvectl standing
After making these modifications, Ubuntu will persistently use your customized DNS settings.

Associated
How to Choose the Best (and Fastest) Alternative DNS Server
Resolved to make use of a sooner service?
Reset Community Settings
If none of those fixes work, resetting Ubuntu’s community settings may assist. Eradicating outdated community configurations and restarting the NetworkManager service can resolve persistent connectivity points. Run:
sudo rm /and so on/NetworkManager/system-connections/*
sudo systemctl restart NetworkManager
This command removes all saved community configurations, so that you’ll have to reconnect to Wi-Fi and enter the password once more.
Wi-Fi issues on Ubuntu will be irritating, however most issues have a repair. In case your built-in Wi-Fi card or USB adapter isn’t acknowledged, putting in the proper drivers ought to get it working. If Wi-Fi is blocked or not displaying up, restarting providers or unblocking it by the terminal might help. Sluggish speeds and connection drops can usually be resolved by switching DNS servers. With just a few troubleshooting steps, it is best to be capable of get your Ubuntu system again on-line.