Faced with the need to deploy a production environment based on Debian 10 Buster, many users encounter a classic problem: no wireless connection immediately after installing the system. This occurs because the distribution's policy strictly adheres to free software principles, excluding proprietary binary modules from the standard repository by default. This is why network adapter The system may simply not recognize it without manually installing additional firmware packages.
However, the situation is not hopeless, even if you can't connect an Ethernet cable directly. There are proven methods for establishing a network using a USB modem, a smartphone, or temporarily using an alternative distribution to download the necessary files. In this article, we will detail the steps for various chipsets, including popular solutions from Realtek, Intel And Broadcom.
Restoring WiFi functionality is the first and critical step to fully using the operating system. Proper installation proprietary drivers This will ensure not only internet access but also stable data transfer speeds and proper device power management. Let's move on to diagnosing your equipment to determine the appropriate solution.
Identifying the network adapter and checking its status
Before you start downloading files, you need to know the exact model of your network controller. There are no universal solutions, as each chipset Requires a specific set of microcode. The most reliable way to obtain this information is using command-line utilities, which provide a detailed report on the connected hardware.
Enter the command lspci for devices connected via the PCI bus (usually internal cards of laptops and PCs), or lsusb For external USB dongles. In the list that appears, look for lines containing the words "Network," "Wireless," "WiFi," or manufacturer names. Write down the device ID, such as 8086:3165, as it may be needed to find the exact firmware version.
It is also useful to check whether the Linux kernel sees the device itself, even without a driver. The command lshw -C network will show the configuration status. If in the field configuration indicated driver= (empty value) or driver=rtl8192cu (but the network is not working), this confirms the need to install or update the firmware.
⚠️ Attention: If the teamlspciorlsusbIf your device isn't showing up at all, it may be disabled at the BIOS/UEFI level or physically faulty. Check your BIOS settings under Peripherals or Wireless Configuration.
Once you have your device ID, consult the table below to determine which firmware package you most likely need. This will help you navigate the many packages available in the Debian repositories.
| Chip manufacturer | Device series | Firmware package (Debian 10) | Support status |
|---|---|---|---|
| Intel | Centrino, Wi-Fi 6 | firmware-iwlwifi | Open/Proprietary |
| Realtek | RTL8188, RTL8812, RTL8821 | firmware-realtek | Proprietary |
| Broadcom | BCM43xx | firmware-brcm80211 | Proprietary |
| Atheros | AR9xxx | firmware-atheros | Open |
Setting up software sources and connecting to the Internet
Since the standard Debian 10 installation does not include repositories non-free And non-free-firmware By default, the first step is to activate them. This is where the necessary binaries are stored. You will need to edit the file /etc/apt/sources.list, adding the appropriate components to the repository lines.
Use a text editor nano or vim to make changes. Find the lines that start with deb or deb-src, and add the words to the end of the line contrib non-free non-free-firmwareAfter saving the file, you need to update the package lists with the command apt update.
sudo nano /etc/apt/sources.list
The difficulty is that you need internet access to execute the update command. If WiFi isn't working, try one of the following workarounds: connect your smartphone via USB (USB tethering), which will be detected as a wired connection. eth1 or usb0, or using another computer to download .deb packages and transferring them via a flash drive.
It's important to keep in mind that the repository structure may change over time. If you're using archived versions of Debian or specific forks, the package paths may differ. Always check the documentation section of the official Debian project website for up-to-date repository addresses.
Installing universal firmware packages
For most modern devices, especially laptops with combined Intel and Realtek modules, there is a meta package that contains microcode for a wide range of hardware. Installing the package firmware-misc-nonfree often solves the problem immediately, without having to look for a specific driver for your model.
Perform the installation via terminal, making sure that the sources non-free already connected. The system will automatically detect the presence of suitable equipment and install the appropriate files into the directory. /lib/firmwareThis is the simplest and safest method for beginner users.
sudo apt install firmware-misc-nonfree
If your adapter requires specific firmware, for example for older Broadcom cards or specific Realtek models, you may need separate packages: firmware-brcm80211, firmware-realtek or firmware-iwlwifiAfter installing any of these packages, be sure to restart your computer or restart the Network Management service.
☑️ Checking firmware installation
It's worth noting that simply having files in the system doesn't always guarantee they'll load. The Linux kernel must be up-to-date enough to support your device. Debian 10 uses the 4.19 kernel series, which may not be sufficient for the newest WiFi 6 adapters released after 2020.
Troubleshooting Realtek adapters (RTL8812AU, RTL8821CU)
Chip-based devices Realtek often attract the most complaints, as the manufacturer does not always provide high-quality drivers for Linux. In particular, models with a USB interface, such as RTL8812AU or RTL8821CU, require compiling the driver from source code, since ready-made binaries may not be available in standard repositories or may work unstable.
To get started, you'll need the compilation tools: kernel header files (linux-headers), compiler gcc and assembly system makeWithout them, you won't be able to install the driver manually. Install them using the command sudo apt install build-essential linux-headers-$(uname -r).
⚠️ Attention: Header files version (linux-headers) must strictly correspond to the version of the running kernel. Use the commanduname -r, to find out the exact version and install packages specifically for it.
The most reliable source of drivers for Realtek is the repository morrownr on GitHub, where enthusiasts maintain up-to-date versions. However, if you don't have access to Git, you can try finding the package. realtek-rtl88xxau-dkms in the Debian repositories, although it may be outdated.
Alternative method for Realtek
If standard methods don't help, try cloning the driver repository from GitHub (from another PC or phone), compressing it into an archive, transferring it to Debian, and running the installation from there. This requires git and make skills.
The DKMS driver installation process automates module assembly every time the system kernel is updated, eliminating the need to repeat the procedure manually. This is critical for maintaining long-term network stability.
Working with Broadcom and Intel drivers
The chip situation Broadcom in Debian 10 has been significantly improved compared to previous versions. Package firmware-brcm80211 Contains the necessary firmware for most BCM43xx series models. However, sometimes additional kernel module configuration or disabling conflicting drivers is required, such as b43 or bcma.
For devices Intel the situation is usually the most favorable. Driver iwlwifi It's built into the kernel, and problems are most often related to the missing firmware file. Make sure the package is installed. firmware-iwlwifiIf the network does not appear after installation, check the kernel logs using the command dmesg | grep iwlwifi for firmware loading errors.
In some cases, Intel cards require disabling power saving mode, which can cause connection interruptions. This is done by creating a configuration file in /etc/modprobe.d/ with parameter power_save=0This manipulation may increase energy consumption, but it stabilizes the signal.
Remember that after any changes to kernel module configuration or installation of new drivers, you must perform a full system reboot, not just restart the network service. This ensures that the new module loads correctly, replacing the old one.
Diagnostics and troubleshooting
If WiFi still doesn't work after all these steps, we'll move on to a deeper diagnostic. First, check the network interface status with the command ip link showIf the interface is present but has a status DOWN, try to raise it with the command sudo ip link set wlan0 up (replacing wlan0 to the name of your interface).
A common problem is blocking the wireless module at the software or hardware level. Utility rfkill allows you to see the status of the locks. If you see Soft blocked: yes, unlock the device with the command sudo rfkill unblock wifiIf so, Hard blocked: yes, look for a physical switch on the laptop case or a combination of Fn keys.
sudo rfkill list all
sudo rfkill unblock all
It's also worth checking whether the installed driver conflicts with other modules. In the file /etc/modprobe.d/blacklist.conf You can create a blacklist for drivers that could intercept the device. For example, for some Realtek cards, you need to block the driver. rtl8192cu, so that the new one works rtl8xxxu.
⚠️ Caution: Use caution when editing blacklist files. Accidentally disabling a system module may result in loss of access to the network or other peripheral devices. Always back up configuration files.
Log analysis is the final and most informative step. The team dmesg | tail, executed immediately after a connection attempt or reboot, will show the latest kernel messages. Look for lines with the words "firmware," "error," "failed," or "loaded" to determine at what stage the failure occurs.
Secret parameter for diagnostics
Add the debug=1 parameter when loading the driver module (via modprobe) to obtain extended information about its operation in the system log. This will help identify the cause of hidden errors.
Frequently Asked Questions (FAQ)
Is it possible to install WiFi drivers on Debian 10 without internet?
Yes, this is possible. You'll need to download the required .deb packages (firmware and dependencies) on another computer with network access, transfer them to a USB drive, and install them locally using the command sudo dpkg -i package_name.debYou can also use your smartphone in USB modem mode, which is often detected by the system as a wired Ethernet connection.
Why did the sound disappear or the mouse stop working after installing the drivers?
This is a rare but possible interrupt or kernel resource conflict, especially when using custom Realtek drivers. Try updating your kernel to a newer version from backports or reverting your blacklist.conf changes. Also, check if you've installed a driver designed for a different chip model.
Should I upgrade to Debian 11 or 12 for better WiFi support?
Debian 11 (Bullseye) and 12 (Bookworm) feature significantly improved hardware support out of the box, including non-free-firmware repositories enabled by default in Debian 12. If your hardware is very new (released after 2021), upgrading to a more recent version of the distribution may eliminate the need for manual driver installation.
How can I check which driver my adapter is currently using?
Use the command lspci -k or lsusb -vIn the output, next to your device, you'll see a line labeled "Kernel driver in use," which indicates the name of the active kernel module. If it's empty, the driver isn't loaded.