Finding no wireless networking after installing a Linux operating system is one of the most common issues when migrating from Windows. This often causes confusion, as the adapter worked flawlessly under the previous operating system. The main reason lies in the philosophy behind distributing proprietary software, which network equipment manufacturers don't always make available for integration into the system kernel.
Unlike Windows, where drivers are often built directly into the installation image or automatically downloaded through the update center, Ubuntu The process may require manual intervention. This is due to licensing restrictions and the distribution's security policy, which prioritizes free software by default. Lack of network visibility does not indicate hardware failure; most often, it is a software conflict or missing microcode.
Solutions range from simply flipping a switch in the interface to complex kernel module compilation in the terminal. Understanding the architecture of network interfaces in Linux will help you quickly diagnose the source of the problem. In most cases, a few sequential steps are enough to restore internet access, sometimes even without a wired connection by using your smartphone as a USB modem.
The main reasons for the lack of wireless connection
The first step in diagnostics is to determine the exact reason why the system is ignoring the wireless module. Often, the problem lies in the fact that driver The specifications for a specific adapter model are simply not installed or blocked. Network card manufacturers, especially Broadcom and Realtek, don't always provide open specifications, forcing Ubuntu developers to rely on third-party repositories or reverse engineering.
Another common cause is software blocking of the module itself. Linux has a mechanism rfkill, which manages the state of wireless interfaces at the kernel level. Accidentally pressing a key combination on a laptop keyboard or failing to configure power saving settings can put the adapter into "Hard Block" state, making it invisible to the operating system, regardless of the installed drivers.
⚠️ Important: Before you begin any manipulations with drivers, make sure you have alternative internet access (via an Ethernet cable or USB modem from your phone), as installing missing components will require downloading files from the network.
It's also worth considering the kernel version your system uses. New laptops with newly released hardware may not be supported by the stable kernel branch included in the current Ubuntu release. In such cases, Linux kernel It simply does not contain instructions for the correct operation of the latest network controller, and requires either a system update or manual installation of a more recent version of the kernel.
Diagnosing a network adapter in the terminal
To accurately determine the model of your network equipment and its current status, you need to use command-line tools. The graphical interface can hide important details, while the terminal will provide the full picture. First, check whether the system sees the physical device using the utility lspci for internal cards or lsusb for external USB whistles.
lspci -nnk | grep -iA2 net
This command will list all network devices, their vendor IDs, and most importantly, the driver currently in use (parameter Kernel driver in use). If the driver field is empty or specified unclaimed, which means the module was found but not activated. If the device doesn't appear in the list at all, it may be disabled at the BIOS/UEFI level or physically faulty.
Next, you need to check the status of the locks using the utility rfkill. Enter the command rfkill list allto see the status of all wireless interfaces. In the output, you will see columns Soft blocked And Hard blockedIf it's somewhere yes, this indicates a software or hardware blocking, respectively.
| Team | Description of action | Expected result |
|---|---|---|
lspci -nnk |
Search for PCI devices and drivers | List of hardware with active driver |
rfkill list |
Checking Wi-Fi Blocks | Soft/Hard block status for each device |
ip link show |
Display network interfaces | List of interfaces (wlan0, wlp2s0, etc.) |
sudo lshw -C network |
Detailed information about the network | Full adapter specifications and configuration status |
If the team ip link show does not display an interface with a name like wlan0 or wlp..., this is a serious sign that the driver failed to load. In a normal state, even without a network connection, the interface should be listed, marked as DOWN or NO-CARRIER.
Installing and updating drivers
Once the adapter model is identified, the next step is installing the necessary software. Ubuntu has a convenient feature called "Additional Drivers," which automatically scans the system and offers to install proprietary modules. You can find it in the application menu by searching for "Additional Drivers." additional-drivers or by going to Programs and Updates → Additional Drivers.
If the automatic search doesn't yield any results, you'll have to do it manually via the terminal. For many popular Broadcom adapters, for example, the package is called bcmwl-kernel-sourceInstallation is performed by the command sudo apt install bcmwl-kernel-sourceIt is important to understand that installing drivers requires the presence of kernel headers (linux-headers) that match your current system version, otherwise the module compilation will fail.
⚠️ Warning: When installing drivers from third-party PPA repositories, always verify the source's reliability. Using untrusted repositories may result in system instability or conflicts during kernel updates.
For adapter users Realtek The situation is often complicated by the fact that support for new models appears in more recent kernel versions than those available in the stable Ubuntu repositories. In such cases, it may be necessary to clone the GitHub repository containing the driver's source code and then compile it. This requires installing the package build-essential and basic skills in working with a compiler make.
☑️ Installing Wi-Fi drivers
Managing locks and enabling the module
It often happens that the driver is installed correctly, but the interface remains inactive due to software blocking. As mentioned earlier, the utility rfkill is the main tool for managing this condition. If the diagnosis shows the status Soft blocked: yes, you can unlock the adapter with the command sudo rfkill unblock wifi or sudo rfkill unblock all to reset all restrictions.
The situation with Hard blocked This is more complicated, as it points to a physical switch on the laptop case or a BIOS setting. In some cases, however, the "Hard Block" status may be false, caused by errors in ACPI power management. It can be cleared by completely shutting down the laptop (not rebooting, but powering it off), disconnecting the battery (if possible) for a few seconds, and then turning it back on.
It's also worth checking whether the kernel module is manually disabled in the configuration files. The system may ignore the device if it's blacklisted. Check the files in the directory. /etc/modprobe.d/ for lines containing the keyword blacklist and the name of your driver (for example, blacklist bcmwl-kernel). Removing or commenting out such a line may instantly solve the problem.
What is Blacklist in Linux?
Linux has a mechanism for preventing certain kernel modules from loading. If a driver is blacklisted, the kernel ignores it when loading. This is often done to prevent conflicts between open-source and proprietary drivers for the same device.
Setting up NetworkManager and network configuration
The service responsible for managing network connections in Ubuntu is NetworkManagerEven with a working driver, problems with this service can cause the Wi-Fi icon to disappear or the inability to scan for networks. You can check the service status with the command systemctl status NetworkManagerIf it is stopped or running with errors, try restarting it with the command sudo systemctl restart NetworkManager.
In the graphical interface, network settings are located in the system settings section. Make sure the wireless network switch is enabled. Sometimes, manually creating a new connection profile helps: click "Connect to a hidden network" or enter the SSID of your access point, selecting the correct encryption method (usually WPA & WPA2 Personal).
For advanced users, customization is available via a configuration file. /etc/netplan/ (in newer versions of Ubuntu) or /etc/network/interfacesHowever, for desktop versions, it's preferable to use NetworkManager, as manually editing configuration files can lead to interface management conflicts. If you've manually changed DNS or IP address settings and the internet connection is lost, try reverting to automatic address acquisition via DHCP.
Troubleshooting specific adapter models
Some network equipment manufacturers are known for their specific driver requirements in the Linux environment. For example, adapters Broadcom 43xx series often require a package firmware-b43-installer, while the newer 43xx and 47xx models require bcmwl-kernel-sourceAn error in selecting a package will result in the module simply not working.
Devices from Intel, as a rule, work fine "out of the box," but firmware files are critical for them. If you have an Intel Wi-Fi 6 AX200 or similar and the network is not visible, check for packets linux-firmwareUpdates to this package frequently add support for new devices released after the distribution's release.
For adapters Realtek, especially for USB dongles on RTL8812AU or RTL8821CU chips, the situation is most complex. Official kernel support is often absent or unstable. In such cases, the only solution is to search for community-supported drivers on GitHub (for example, the project rtl8812au (from aircrack-ng or morrownr). These drivers must be recompiled after each kernel update, which is their main drawback.
⚠️ Note: Settings interfaces and package names may vary slightly depending on the Ubuntu version (20.04, 22.04, 24.04) and desktop environment used (GNOME, KDE, XFCE). Always check the commands for your specific distribution version.
Frequently Asked Questions (FAQ)
Why did the Wi-Fi icon disappear after updating Ubuntu?
When updating a system, the Linux kernel is often updated as well. The new kernel may not be compatible with the old proprietary driver, or the update may have been interrupted and the module was not rebuilt. Solution: boot into the previous kernel version via the GRUB menu at startup or reinstall the driver and kernel header packages (linux-headers-generic).
How to install a Wi-Fi driver without internet connection on Ubuntu?
Use your smartphone as a USB modem. Connect your phone to your computer using a cable, and enable "USB Tethering" in your phone's settings. Ubuntu will recognize this as a wired Ethernet connection, and you can download the necessary drivers using the standard update manager or terminal.
What to do if the rfkill command shows Hard Block?
Hard Block means a hardware lock. Check the physical switches on the laptop case. Try the Fn + F2 key combination (or another key with an antenna icon). If that doesn't help, go to the BIOS/UEFI and make sure the wireless LAN adapter isn't disabled there.
Is it possible to use an external USB Wi-Fi adapter if the internal one doesn't work?
Yes, this is a great temporary solution. However, before purchasing, make sure the adapter model has good Linux support (Atheros chipsets and some TP-Link models with Realtek chips work well). Avoid adapters that require complex Windows drivers unless you're prepared to compile them manually.
Why doesn't my laptop see 5 GHz networks?
It's possible your adapter only supports the 2.4 GHz band, or your router settings may be set to a region not supported by the driver in your country. Also, check if there are any channel restrictions in the driver configuration. In some cases, changing the regional settings may help. sudo iw reg set.