operating system Ubuntu is renowned for its stability and user-friendliness, but sometimes the initial network setup can be confusing for a beginner. Unlike WindowsWhile drivers are often installed automatically or are already built into the distribution, in a Linux environment the situation with wireless adapters can be different. Wi-Fi module may not be detected due to the lack of proprietary drivers, be software-disabled, or simply require manual activation via the terminal.
Before panicking and reinstalling the system, it's worth running a basic diagnostic. Often, the problem lies with a simple switch on the laptop case or in "airplane mode," which may have been accidentally activated. It's also worth considering that some network cards, especially new models with chips Realtek or Broadcom, require an internet connection via cable Ethernet or a USB modem for the initial download of the necessary components.
In this article, we'll cover all possible scenarios, from simple activation via the graphical interface to complex command-line manipulation. It is critical to understand the difference between a missing driver and a software-based interface lock., as the methods for resolving these issues are radically different. We'll cover everything from checking the adapter's physical condition to installing specific packages that ensure a stable connection.
Diagnostics and checking the adapter status
The first step should always be diagnostics. Don't immediately dive into configuration files until you're sure the system can actually see your wireless equipment. To do this, Ubuntu there is a powerful tool nmcli (NetworkManager command line interface), which provides comprehensive information about the network status.
Open the terminal and enter the command to check the overall status. This will show whether it is enabled at all. wireless interface and whether it sees available access points. If you see a line in the command output where the Wi-Fi status is described as "disabled" or "unavailable," this indicates that the adapter is disabled at the system or driver level.
nmcli radio wifi
If the command returns "enabled" but there are no networks, try refreshing the list by scanning. Sometimes network manager It simply doesn't update data in the background. If the adapter doesn't appear in the device list at all, the problem may be deeper—at the kernel or physical connection level.
- 🔍 Check if the Wi-Fi indicator on the laptop case or keyboard is lit.
- 🔍 Make sure that airplane mode (airplane icon in the tray) is not activated.
- 🔍 Restart your computer, sometimes this helps reset the frozen kernel module.
Activating Wi-Fi via the graphical interface
In most modern versions Ubuntu (Starting with 18.04 and later), network management is integrated into a user-friendly graphical interface. If you have access to the desktop, this is the fastest way to enable the connection. The network icon is typically located in the upper-right corner of the screen, in the system tray.
Click the icon and find "Wi-Fi" in the drop-down menu. If the switch is off, simply turn it on. The system will begin searching for available networks. If your access point is hidden (not broadcasting its SSID), you will need to select "Connect to a hidden network" and enter the name manually.
⚠️ Note: If the Wi-Fi switch in the menu is enabled (gray or blue), but remains disabled for clicks, you may not have user rights or there is a conflict with the network management service. Try restarting NetworkManager from the terminal.
For more advanced settings, go to "Settings" -> "Wi-Fi." Additional options are available here, such as creating a profile for a new network or changing the MAC address for privacy. Graphical shell The default GNOME desktop hides complex settings, but for 90% of users its functionality is quite sufficient.
Network management via terminal (nmcli)
For those who prefer speed and precision, or in situations where the graphical interface doesn't work, the terminal is indispensable. The command line not only allows you to enable Wi-Fi but also fine-tune connection settings hidden in the GUI. The main tool is the utility nmcli.
To enable wireless communication, use the radio module's activation command. This is equivalent to pressing a button in the graphical interface, but is instantaneous. After enabling, it's worth running a scan immediately to ensure the adapter is working properly.
nmcli radio wifi on
nmcli dev wifi list
Once you've retrieved the list of networks, you can connect to the desired access point. You'll need to know the network name (SSID) and password. The command will create a new connection profile and attempt to activate it. Command line will give a success message or an error if the password is incorrect.
nmcli dev wifi connect "Network_Name" password "Your_Password"
☑️ Checking the connection via the terminal
Installing and updating drivers
The most common cause of Wi-Fi problems in Ubuntu — lack of proprietary drivers. Many networking equipment manufacturers don't provide open source code, so the Linux community has to resort to reverse engineering or wait for updates from Canonical. Fortunately, Ubuntu has a built-in mechanism for searching for such drivers.
To find and install the necessary software, open the "Software & Updates" application. Go to the "Additional Drivers" tab. The system will scan your hardware and offer available driver options for your device. wireless adapter.
| Chip manufacturer | Driver type | Status in Ubuntu | The need for the Internet |
|---|---|---|---|
| Intel | Open (iwlwifi) | Built into the kernel | Not required |
| Atheros | Open (ath9k) | Built into the kernel | Not required |
| Broadcom | Proprietary (bcmwl) | Requires installation | Required (cable/USB) |
| Realtek | Different | Often requires manual installation | Required |
If the automatic search doesn't help, you'll have to take manual action. For devices Broadcom a package is often required bcmwl-kernel-source. For Realtek The situation is more complicated: sometimes installing a package helps firmware-realtek, but in some cases you have to download the source code from GitHub and compile it yourself.
⚠️ Warning: Before installing the drivers manually, make sure you have the kernel headers installed (
linux-headers-generic). Without them, compilation of modules for the current kernel version will be impossible, and installation will fail.
How to compile Realtek driver from GitHub?
Download the driver archive, unzip it, and navigate to the folder using Terminal. Run the following commands: sudo make, then sudo make install. Then reboot the system with sudo reboot. This method is only suitable for experienced users.
Troubleshooting kernel module issues
Sometimes a driver is installed, but the kernel module responsible for the device's operation is blocked or not loaded. Linux has a "blacklisting" mechanism that prevents certain modules from loading to avoid conflicts. Alternatively, the module may simply be disabled.
You can check the list of loaded Wi-Fi-related modules with the command lsmodLook for lines containing names like iwlwifi, ath, rtlIf the module is not loaded, you can try to activate it manually using the command modprobe.
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi
This sequence of commands first unloads the module and then reloads it, which often resolves the issue of a frozen adapter. If the module stops working again after rebooting, it may be blacklisted. Check the configuration files in the directory. /etc/modprobe.d/.
- 🛠 Find files named blacklist.conf or similar.
- 🛠 Open them with a text editor with root rights (for example, nano).
- 🛠 Comment out the line with your module name by adding the # symbol at the beginning.
Reboot the system After making changes to kernel module configuration files, this step is mandatory. Without it, the changes will not take effect, and the adapter will remain inactive. This is the default behavior for low-level Linux settings.
Frequently Asked Questions (FAQ)
Why doesn't Ubuntu see my Wi-Fi adapter even though it works in Windows?
Most likely, Windows uses proprietary drivers that are not included by default in the Linux distribution. You need to find the adapter model (using the command lspci or lsusb) and find the appropriate driver for Linux, you may need a cable connection to install it.
How do I turn on Wi-Fi if the icon in the panel is missing?
Try restarting the network management service with the command sudo systemctl restart NetworkManagerIf this doesn't help, check whether the adapter is disabled using a hardware button on the laptop or in the BIOS/UEFI.
Is it possible to share Wi-Fi from an Ubuntu laptop?
Yes, modern versions of Ubuntu allow you to create a Wi-Fi hotspot directly from the network settings. Select "Use as hotspot" in the Wi-Fi menu, and enter a network name and password.
What to do if Wi-Fi keeps disconnecting?
This may be related to power saving. Try disabling power saving mode for the wireless adapter in the power settings or creating a configuration file that disables suspend mode for the Wi-Fi card.