Modern Linux distributions, and Ubuntu is no exception; we've come a long way from console utilities to user-friendly graphical interfaces, but wireless connection issues can still baffle inexperienced users. Often, the problem lies not in the complexity of the operating system itself, but in specific network card drivers or configuration details. NetworkManagerIf you've just installed the system or switched from Windows, you may find that the familiar Wi-Fi icon has disappeared or isn't working properly.
In this article, we'll cover every step in detail: from a basic connection via the graphical interface to complex command line manipulation when automatic network discovery fails. You'll learn how to diagnose adapter issues, install proprietary drivers, and configure a static IP address if your router's DHCP server is unstable. Understanding these processes will give you confidence in any situation.
It is worth noting that the setup methods may vary depending on the version of the desktop environment, whether it is standard GNOME, lighter Xfce or KDE PlasmaWe'll focus on the standard interface, as it's the most common, but the principles of working with network services remain universal across all builds. Being prepared to work in the terminal will significantly speed up the process of resolving any network issues.
Diagnostics and checking the adapter status
Before attempting to enter complex commands or change settings, you need to make sure that the operating system even "sees" your wireless module. It often happens that the adapter is physically functional, but is software-blocked or doesn't have the required settings. firmwareThe first step should always be a visual inspection of the system's indicators and menus, but for a more thorough understanding of the situation, it's better to use built-in diagnostic tools.
Open the terminal and enter the command ip link or more specialized iwconfigto see a list of all network interfaces. If you see a device with a name like wlan0 or wlp2s0, which means the system has detected the presence of wireless equipment. However, the absence of such entries may indicate that the driver is not loaded, in which case you will need to search for the chip model using the command lspci for PCI devices or lsusb for USB adapters.
It is also important to check whether the wireless module is blocked by software or hardware. Utility rfkill is the main tool for managing radio modules in Linux. Enter the command rfkill list allto get a detailed report on the status of all wireless devices. If you see the status Soft blocked: yes, this means a software lock that can be easily removed.
⚠️ Attention: If the status shows Hard blocked: yes, software methods won't help. You'll need to find a physical switch on the laptop case or use a key combination (oftenF2,F12orFn+ the corresponding button with the antenna) to unlock the module.
After unlocking, changes may not take effect immediately, so it's a good idea to restart the network service or simply restart your computer. Make sure Airplane Mode is disabled in the Ubuntu interface, as it overrides other connection settings. Only after ensuring the adapter is physically and programmatically accessible can you begin searching for networks.
Connecting via the GNOME graphical interface
Most users interact with the network through a graphical interface, which Ubuntu implements quite conveniently and intuitively. In the upper-right corner of the screen, in the system tray, is the notification area, which displays the network, sound, and power icons. Clicking the network icon (usually represented by two arcs or a computer) opens a drop-down menu with a list of available wireless networks within range.
If your network appears in the list, simply click it. If the network is password-protected (indicated by a lock icon), a dialog box will appear asking you to enter the security key. Be careful with the case, as the Wi-Fi password is case-sensitive. Also, make sure you have the correct keyboard layout selected, especially if the password uses letters that vary across languages.
In the network settings, accessible through the menu Settings → Wi-Fi, you can find more advanced options. Here you can configure connections to hidden networks by manually entering the SSID or change MAC address privacy settings. Ubuntu can use a random MAC address by default for increased anonymity, but some routers are configured to filter by hardware addresses, so this feature will need to be disabled.
After successfully entering the password, the system will attempt to obtain an IP address automatically. If the connection is successful, "Connected" will appear next to the network name, and a signal strength icon will appear in the system tray. If unsuccessful, the system will display an error message, which often indicates an incorrect password or DHCP issues.
Setting up Wi-Fi via the terminal using nmcli
For system administrators or users working with server versions of Ubuntu without a graphical shell, the utility is an indispensable tool nmcli (NetworkManager command line interface). It allows you to fully manage network connections without leaving the terminal. To get started, scan available networks with the command nmcli dev wifi list, which will display a table with the SSID, operating mode, channel and signal strength.
To connect to a network, use a command that requires the network name (SSID) and password. The syntax is as follows:
nmcli dev wifi connect "Network_Name" password "Your_Password"
If the connection is established for the first time, NetworkManager Creates a new connection profile and saves it. When reconnecting in the future, you'll only need to specify the network name or use the connection command without a password, as it's already saved in the configuration. This is especially convenient for automating processes or configuring remote servers.
⚠️ Warning: When entering commands in the terminal, make sure to use quotation marks if the network name or password contains spaces or special characters. Otherwise, the command may be interpreted incorrectly.
Additionally through nmcli You can control the state of the interface, for example, disable it with the command nmcli radio wifi off Or turn it back on. A hotspot feature is also available, turning your Ubuntu laptop into a router distributing internet if needed in the field.
☑️ Check before entering commands
Working with drivers and proprietary software
One of the most common reasons why Wi-Fi doesn't work on Ubuntu is the lack of a suitable driver for the wireless card. Unlike Windows, where drivers are often built into the installer or downloaded automatically, in Linux, some hardware manufacturers (especially Broadcom and Realtek) provide limited drivers or require manual installation. Fortunately, Ubuntu has a mechanism to simplify this process.
You need to open the Software & Updates app and go to the Additional Drivers tab. The system will scan your hardware and, if it finds available proprietary drivers for your device, offer to install them. This is the safest and easiest method, as the packages are checked for compatibility with your kernel version.
The table below lists common chip manufacturers and typical steps for them:
| Manufacturer | Driver type | Recommended action |
|---|---|---|
| Intel | Open (in core) | Usually works out of the box, may require the linux-firmware package |
| Broadcom | Proprietary | Install via Additional Drivers (bcmwl-kernel-source) |
| Realtek | Mixed | Often requires manual compilation or installation from a repository |
| MediaTek | Open/Proprietary | Check for firmware in the linux-firmware package |
If the automatic search doesn't help, you'll have to search for the driver manually. To do this, you'll need to find out the exact chip model (using the command lspci -nnk | grep -iA2 net) and find the corresponding package in the Ubuntu repositories or on the manufacturer's website. Manual installation requires compiling kernel modules, which is a more complex procedure, but is often the only option for new or rare devices.
What should I do if the Broadcom driver won't install?
Make sure you're connected to the internet via an Ethernet cable or USB modem, as installing the Wi-Fi driver requires access to the repositories. You may also need to install the build-essential and linux-headers-generic packages.
Troubleshooting connection and stability issues
Even with the drivers installed, the connection may be unstable or even drop. A common cause in Ubuntu is a power management conflict, where the system tries to conserve battery power by disabling the Wi-Fi module. To disable power saving mode for the wireless card, you can create a configuration file. Create the file /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf and change the value wifi.powersave to 2 (which means power saving is disabled).
Another common issue is IPv6 conflicts. Some ISPs and routers incorrectly process IPv6 requests, which can cause long delays when loading pages. In the connection settings (IPv6 tab), you can temporarily set the "Ignore" method to force the connection to use IPv4 only. This often solves the problem of slow internet.
If the network is there, but there is no connection, try forgetting the network in the settings and reconnecting, deleting the old configuration files in the directory /etc/NetworkManager/system-connections/It's also worth checking the system logs with the command journalctl -u NetworkManager, which will show a detailed log of network service errors in real time.
⚠️ Note: Interfaces and setting names may vary slightly depending on the Ubuntu version and desktop environment you're using. Always consult the official documentation if the default paths don't match.
Frequently Asked Questions (FAQ)
Why doesn't Ubuntu see my Wi-Fi adapter, even though everything works in Windows?
Most likely, Linux lacks a proprietary driver for your card. In Windows, drivers are often pre-installed by the manufacturer. You need to find the adapter model using lspci and install the appropriate driver package via "Additional Drivers" or manually.
How can I find the Wi-Fi password saved in Ubuntu?
Passwords are stored securely. To view the password for the current network, you can use the terminal command: nmcli -s -g wifi.show-password connection show "NetworkName"You will be asked to enter the user password (sudo) to confirm.
Is it possible to share Wi-Fi from an Ubuntu laptop?
Yes, this is possible. In the network settings, select "Use as an access point" (Hotspot). The system will create a virtual network through which other devices can access the internet if your laptop is connected to the network via a cable or another adapter.
What is wpa_supplicant and do I need it?
wpa_supplicant is a background service that manages connections to secure wireless networks. In standard Ubuntu, it runs automatically alongside NetworkManager. Manual intervention is only necessary in very specific server setups.