
How to Install Ubuntu Wifi Driver? Fix Missing Wireless Connection
Introduction Few things are more frustrating than booting up Ubuntu only to discover that your wireless connection is nowhere to be found. You see the network icon, but it shows no available networks, or worse, it does not show a Wi-Fi option at all. This usua
Introduction
Few things are more frustrating than booting up Ubuntu only to discover that your wireless connection is nowhere to be found. You see the network icon, but it shows no available networks, or worse, it does not show a Wi-Fi option at all. This usually means the system is missing the correct wireless driver or firmware for your hardware.
If you are searching for How to Install Ubuntu Wifi Driver?, you are not alone. Ubuntu supports a vast range of wireless adapters out of the box, but some devices require proprietary firmware, third-party kernel modules, or manual driver installation. Whether you are using a laptop with an internal Wi-Fi card or a desktop with a USB wireless adapter, this guide will walk you through every reliable method to get your connection working again.
In this article, you will learn why drivers go missing, how to identify your wireless hardware, and step-by-step procedures to install the correct driver using the graphical interface, the terminal, manufacturer sources, or even Windows driver wrappers. We will also cover troubleshooting, verification, and best practices so your Ubuntu Wi-Fi stays stable after reboots and kernel updates.
Table of Contents
- Introduction
- Why Your Ubuntu Wifi Driver Might Be Missing
- How to Install Ubuntu Wifi Driver? Prerequisites and Preparation
- Method 1: Using Additional Drivers (GUI Method)
- Method 2: Installing via Terminal with apt
- Method 3: Installing Proprietary Drivers from the Manufacturer
- Method 4: Using ndiswrapper for Windows Drivers
- Troubleshooting Common Wifi Connection Issues
- How to Verify Your Wifi Driver Is Working
- Comparison: Built-in, Proprietary, and Third-Party Drivers
- Tips and Best Practices for Ubuntu Wifi Stability
- Frequently Asked Questions
- Conclusion
Why Your Ubuntu Wifi Driver Might Be Missing
Ubuntu includes many open-source drivers directly in the Linux kernel, but not every wireless adapter works immediately after installation. Understanding why your driver is missing helps you choose the right fix.
One common reason is proprietary firmware. Some Wi-Fi chips, especially those from Broadcom and Realtek, require closed-source firmware files that Ubuntu cannot include by default due to licensing restrictions. Without that firmware, the kernel sees the hardware but cannot initialize it.
Another reason is a brand-new or obscure adapter. If your wireless card was released after your Ubuntu version shipped, the built-in kernel might not contain a driver for it yet. In these cases, you may need a backported driver or a newer kernel.
Secure Boot can also block third-party kernel modules. If you install a driver that is not signed with a key trusted by your system’s UEFI firmware, Ubuntu will refuse to load it. You will need to either disable Secure Boot or sign the driver yourself.
Finally, user error or accidental removal can cause the issue. A system update might remove a third-party driver package, or a previous attempt to fix the network may have blacklisted the correct module.
Regardless of the cause, the first step in How to Install Ubuntu Wifi Driver? is identifying exactly what hardware you have.
How to Install Ubuntu Wifi Driver? Prerequisites and Preparation
Before you install any driver, prepare your system so the process goes smoothly.
1. Connect to the Internet via Ethernet
Most driver installation methods require downloading packages from Ubuntu’s repositories. If your Wi-Fi is not working, plug your computer into your router with an Ethernet cable. A wired connection ensures you can run apt update and install missing firmware without interruption.
2. Identify Your Wireless Adapter
Open a terminal and run:
lspci -knn | grep Net -A3
If your adapter is a USB device, use:
lsusb
Look for the manufacturer and model name. Common examples include Intel Wireless-AC, Broadcom BCM43xx, Realtek RTL8821CE, and MediaTek MT7921. Write down the exact chipset name; you will need it when searching for drivers or selecting packages.
3. Check for Existing Driver Modules
Run:
sudo lshw -class network
Look at the section. If it says If you have already tried editing network configuration files, back them up before making changes: This makes it easy to revert if a manual configuration causes problems. With these prerequisites done, you are ready to proceed with the actual installation methods below. For most users, the easiest answer to How to Install Ubuntu Wifi Driver? is Ubuntu's built-in Additional Drivers tool. This graphical utility detects hardware that needs proprietary drivers and offers to install them with a few clicks. After rebooting, check your network settings. You should see available Wi-Fi networks. If the GUI method does not show your card, or if the option is grayed out, move on to the terminal methods described below. The terminal gives you more control and is often necessary when the GUI does not detect your hardware. This is a core part of How to Install Ubuntu Wifi Driver? for advanced users and server installations. Run: Ubuntu includes a tool called Look for output that mentions your wireless adapter and a recommended package, such as The simplest terminal command is: This installs all recommended proprietary drivers for your system, including Wi-Fi drivers when applicable. If you know the exact package name, install it directly. Examples include: or for Intel wireless: For Realtek devices, you might need: After installation, load the driver without rebooting: Replace Reboot your system to ensure the driver loads cleanly at startup. Then check your network menu for wireless networks. Sometimes Ubuntu's repositories do not include the newest driver for your Wi-Fi card. In those cases, you can download the driver directly from the hardware manufacturer. This method is more involved but necessary for very new or niche adapters. Intel generally provides excellent Linux support. Most Intel Wi-Fi devices work with the Broadcom chips are notorious for requiring proprietary drivers. The most common package is Then follow the manufacturer's README to compile and install the module. Realtek adapters often use the Many MediaTek chips are supported by the After installing a manufacturer driver, remember that kernel updates can break manually compiled modules. Tools like If no Linux driver exists for your Wi-Fi adapter, Note that ndiswrapper does not support all features, such as WPA3 or 5 GHz bands on some cards, and it can be unstable. Use it only when no native Linux alternative exists. Even after you install the driver, your Wi-Fi may still not connect. Here are the most common problems and how to fix them. Run: If you see If you see Ubuntu may put your wireless card to sleep to save power, causing drops. Create or edit: Set If Wi-Fi stops working after a system update, a third-party module may need rebuilding. Reinstall the driver package or run: If you can connect to the network but cannot load websites, try changing your DNS to Google's public DNS (8.8.8.8) or Cloudflare (1.1.1.1) in your network settings. Check the system menu in the top-right corner. If Airplane Mode is on, toggle it off and see if Wi-Fi reappears. After completing the installation steps, verify that your wireless driver is active and functioning. Run: Replace Run: Look for a line that says Run: You should see an interface named Replace Run: If you see a list of nearby SSIDs, your driver and hardware are working correctly. You can then connect through the desktop network manager or with Not all Wi-Fi drivers are created equal. The table below compares the main types of drivers you may encounter when figuring out How to Install Ubuntu Wifi Driver? Installing the driver is only half the battle. Keeping your wireless connection stable requires good habits. Run Yes, but it is more difficult. You can download the required .deb packages on another computer, transfer them via USB, and install them with This usually happens if the driver module is not set to load automatically or if a kernel update broke a manually compiled module. Ensure the driver is installed through apt or DKMS so it persists across reboots. Yes. Proprietary drivers are common and generally safe, especially when obtained from Ubuntu's official repositories. They are not open source, but they are widely used for hardware like Broadcom and certain Intel adapters. Try a newer Ubuntu kernel or a different Ubuntu flavor. You can also ask for help on the Ubuntu forums, providing the output of Fixing a missing wireless connection on Ubuntu can feel intimidating, but most cases come down to identifying your hardware and installing the correct driver. Whether you use the Additional Drivers GUI, install packages through apt, download proprietary software from the manufacturer, or fall back to ndiswrapper, there is usually a solution. If you have been wondering How to Install Ubuntu Wifi Driver?, start with the simplest method and work your way down the list. Connect via Ethernet, identify your chipset, and use the tools Ubuntu provides. Once your driver is installed, verify it with With the right driver in place, your Ubuntu system should reconnect automatically after every reboot, giving you reliable wireless access for work, study, and entertainment.configuration
driver=ath9k or driver=iwlwifi, a driver is loaded. If it says driver=none or unclaimed, your system does not have the correct module active.4. Back Up Your Current Configuration
sudo cp /etc/network/interfaces /etc/network/interfaces.bakMethod 1: Using Additional Drivers (GUI Method)
Proprietary driver or Broadcom 802.11 Linux STA wireless driver source.Method 2: Installing via Terminal with apt
Step 1: Update Package Lists
sudo apt updateStep 2: Search for Available Drivers
ubuntu-drivers that identifies recommended packages. Run:ubuntu-drivers devicesbcmwl-kernel-source for Broadcom cards or firmware-iwlwifi for Intel cards.Step 3: Install the Recommended Driver Automatically
sudo ubuntu-drivers autoinstallStep 4: Install a Specific Package Manually
sudo apt install bcmwl-kernel-sourcesudo apt install firmware-iwlwifisudo apt install firmware-realtekStep 5: Reload the Kernel Module
sudo modprobe with the actual module, such as wl, iwlwifi, or rtw88_pci.Step 6: Reboot and Test
Method 3: Installing Proprietary Drivers from the Manufacturer
Intel Wireless Adapters
iwlwifi driver included in the kernel. If you need newer firmware, download the linux-firmware package or extract firmware files from Intel's official Linux wireless page and place them in /lib/firmware/.Broadcom Wireless Adapters
bcmwl-kernel-source. If that does not work, Broadcom occasionally releases source code that must be compiled against your running kernel. You will need build tools installed:sudo apt install build-essential dkms linux-headers-$(uname -r)Realtek Wireless Adapters
rtw88 or rtl8xxxu drivers. Some newer Realtek cards have community-maintained drivers on GitHub. You can clone the repository, compile with make, and install with sudo make install. Always check that the driver source matches your exact chipset revision.MediaTek Wireless Adapters
mt76 driver in newer kernels. If you are on an older Ubuntu release, upgrading to a newer HWE kernel or installing backported wireless drivers may solve the issue.DKMS help by automatically rebuilding the driver when a new kernel is installed.Method 4: Using ndiswrapper for Windows Drivers
ndiswrapper can allow Ubuntu to use Windows XP or Windows 7 wireless drivers. This is a last-resort option when answering How to Install Ubuntu Wifi Driver? for unsupported hardware.
sudo apt install ndiswrapper-common ndiswrapper-modules-$(uname -r) ndisgtk.inf file and a .sys file from the manufacturer's Windows driver package.sudo ndiswrapper -i path/to/driver.infndiswrapper -lsudo modprobe ndiswrapperecho "blacklist native_driver_name" | sudo tee /etc/modprobe.d/blacklist-native.conf
Troubleshooting Common Wifi Connection Issues
Wireless Interface Is Soft or Hard Blocked
rfkill listSoft blocked: yes, unblock it with:sudo rfkill unblock wifiHard blocked: yes, check for a physical switch on your laptop or a function key combination (such as Fn + F2) that enables wireless.Power Management Disconnects Wi-Fi
/etc/NetworkManager/conf.d/default-wifi-powersave-on.confwifi.powersave = 3 to disable power saving, then restart NetworkManager:sudo systemctl restart NetworkManagerDriver Conflicts After Kernel Update
sudo dkms autoinstallDNS or Connection Drops
Airplane Mode Is Enabled
How to Verify Your Wifi Driver Is Working
Check Loaded Kernel Modules
lsmod | grep iwlwifiiwlwifi with your driver name. If the module appears, it is loaded in the kernel.Inspect Hardware Details
lspci -k | grep -A3 NetworkKernel driver in use: followed by your driver name. If it says Kernel modules: but no driver in use, the module is installed but not active.Check Network Interfaces
ip link showwlan0, wlp2s0, or similar. If it shows state DOWN, bring it up with:sudo ip link set wlan0 upwlan0 with your actual interface name.Scan for Networks
sudo iwlist wlan0 scannmcli:nmcli device wifi listComparison: Built-in, Proprietary, and Third-Party Drivers
Driver Type
Source
Stability
Performance
Ease of Installation
Best For
Built-in open-source kernel drivers
Linux kernel / Ubuntu
High
Good
Easiest (usually automatic)
Intel, Atheros, and many Realtek cards
Proprietary vendor drivers
Manufacturer or Ubuntu restricted repo
Medium to High
Excellent
Easy via Additional Drivers or apt
Broadcom, some Intel, some Realtek
Community backported drivers
GitHub / backports project
Medium
Good
Moderate (requires compilation)
New or unsupported chipsets
ndiswrapper Windows drivers
Windows .inf / .sys files
Low to Medium
Variable
Difficult
Legacy adapters with no Linux driver
Tips and Best Practices for Ubuntu Wifi Stability
sudo apt update && sudo apt upgrade regularly to receive kernel and firmware improvements.Frequently Asked Questions
How do I know which Wi-Fi driver my Ubuntu system needs?
lspci -knn | grep Net -A3 in the terminal to identify your wireless chipset. Then search for that chipset name along with Ubuntu driver support.Can I install Ubuntu Wi-Fi drivers without an internet connection?
sudo dpkg -i package.deb. However, having an Ethernet connection makes the process much simpler.Why does my Wi-Fi work after installation but stop after a reboot?
Is it safe to use proprietary Wi-Fi drivers on Ubuntu?
What should I do if none of these methods work?
lspci -knn | grep Net -A3 and lsmod so others can identify the exact issue.Conclusion
iwlist or nmcli, and follow the best practices above to keep your connection stable.