- How to Install wifi drivers on Debian 11 Bullseye
- Step 1 — Open sources.list
- Step 2 — Update your system
- Step 3 — Install kernel headers
- Step 4 — Install broadcom-sta-dkms
- Step 5 — Remove conflicting modules
- Step 6 — Enable wl driver
- Conclusion
- How to Enable WiFi in Debian 11 Bullseye, Fix Missing wlan0
- Step 1: Identifying Wi-Fi Network Card Manufacturer on Debian
- Step 2: Installing firmware matching your network card manufacturer on Debian.
- For Atheros Card:
- For Intel Card:
- Intel Wireless WiFi Link, Wireless-N, Advanced-N, Ultimate-N devices
- Debian 7 «Wheezy»
- Устранение неполадок
- Проблема с медленным WiFi, при использовании Bluetooth
- Поддерживаемые устройства
- Смотрите также
How to Install wifi drivers on Debian 11 Bullseye
In this tutorial you will learn how to install broadcom wifi drivers on Debian 11. If you recently have installed Debian 11 and were not able to install wifi drivers during the installation, you can skip setting up them and do it after installing the system.
It is important to have internet access when installing Debian because it will install a Desktop GUI and all the packages for an usable system.
The difference is that when you install debian without internet access, debian will install only the base system, which means you won’t have a desktop GUI and you will have to setup everything by yourself as base system basically means only a terminal that you can use to install a desktop environment and other stuff. However, this is totally up to you, internet access will save some of your time, but in the other hand there’s nothing wrong why to not do this manually by using the base system.
Step 1 — Open sources.list
To be able to install wifi drivers, first you need to make the necessary changes by adding the source from where wifi drivers will be downloaded on the sources file.
Sources.list is the file that we need to open via a text editor
sudo nano /etc/apt/sources.list
and paste the following source below
deb http://deb.debian.org/debian bullseye contrib non-free
Next, save it by pressing CTRL+X and confirm with Y.
Step 2 — Update your system
Once you have added the non free source on sources.list file, you need to update your system
Wait for the update to finish and move to the next step. If you encounter issues during the update, make sure your account has the right permission to perform an update on your system.
Step 3 — Install kernel headers
broadcom-sta-dkms is the kernel module support for the wireless lan driver. Before installing broadcom-sta-dkms you need to install kernel headers to make sure broadcom-sta-dkms will work as intented.
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
Step 4 — Install broadcom-sta-dkms
Next, to install broadcom-sta-dkms, run
sudo apt install broadcom-sta-dkms
Step 5 — Remove conflicting modules
Use the modprobe command to remove any modules that might be conflicting with other modules.
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
Step 6 — Enable wl driver
Now all you have to do is to enable the wl driver, to do this simply run the command below
After loading the wl driver, the wifi card on your computer will be recognized and you should see the wifi icon on the taskbar, if wifi doesn’t start automatically and you can’t see any available wifi make sure to turn on wifi by pressing the wifi button on your laptop or by right clicking over the wifi icon and clicking «Enable Wifi» option.
Conclusion
In this tutorial, we explained step by step how to install wifi drivers on Debian 11 and what difference makes the internet connection during the installation of Debian 11.
How to Enable WiFi in Debian 11 Bullseye, Fix Missing wlan0
Are you looking for a way to fix no Wi-Fi problem on Debian? If yes, then you have landed on the right page. In this tutorial, I will share a straightforward method that you can apply to fix the missing Wi-Fi adapter issue on Debian.
If you just did a fresh Debian install on a PC, then you will most likely run into an issue where you can’t access Wi-Fi. Debian will not even show you wlan0 device if you run ip addr show the command.
This happens because the Debian ISO doesn’t include the Wi-Fi firmware by default. Thus, you have to manually install the firmware from a non-free repo in order to use the Wi-Fi facility.
Depending on the network card manufacturer of your computer, you have to install the correct firmware. If you are using a laptop of popular brands such as Lenovo, Acer, Samsung or Asus, which usually use Atheros network card, it could be a little daunting to find the right version of the firmware to install.
I ran into this issue a little while ago and couldn’t find a quick solution so I thought maybe share the fix, so others do not have to face what I went through. Let’s cut to the chase and see the steps involved:
- First, identify the manufacturer of your Wi-Fi network card.
- Install the firmware matching your network card manufacturer.
See how to complete these two steps below.
Step 1: Identifying Wi-Fi Network Card Manufacturer on Debian
There is a CLI utility called lshw which can help you identify all the hardware installed on your computer, including the network card. A very good chance is that it will be pre-installed. If not, then you will have to install it by connecting your PC to an Ethernet connection. You can use your Android phone as an Ethernet device via USB tethering.
Install lshw like this:
sudo apt install lshw
It is now time to use lshw to find out the network card vendor. Run the command below and wait for it to generate the HTML report.
lshw -html > lsh.html
Open the generated HTML report(lsh.html) in the browser and search for network or network controller. You will find the result something like this:
From this screenshot, it is now evident that the vendor of my network card is Atheros! But it can also be Intel. It all depends on the PC/laptop manufacturer. Never mind, it doesn’t matter because, firmware for both these cards available for Debian. See in next section, how to install it.
Step 2: Installing firmware matching your network card manufacturer on Debian.
In the last step, you will know what network card is installed on your system. So, based on what card it is, you need to install the correct firmware.
For Atheros Card:
On my Lenovo Ideapad 300-15ISK, it was Atheros card, as evident from the snapshots above.
So, to install the firmware for Atheros, you issue the following command.
sudo apt install firmware-atheros
After the firmware installs, you can try restarting your computer. You will now see that it will detect the available Wi-Fi networks nearby.
Alternatively, you can download the DEB file for the same firmware on some other device, transfer to the Debian PC, and manually install it.
After getting the DEB file, you open the terminal in the Downloads directory and issue this command.
sudo dpkg -i firmware-atheros*
After it completes, successfully, you will have both; wla0 will start showing along with the Wi-Fi network.
For Intel Card:
To install the firmware for Intel network controller, you issue the following command.
sudo apt install firmware-iwlwifi
After it installs successfully, restart your computer. You will now see that it will detect nearby Wi-Fi networks.
Alternatively, you also download the DEB file for the same firmware on some other device, transfer to the Debian PC, and install it manually.
Find and get Intel Wireless firmware here: firmware-iwlwifi (20210315-3) [non-free]
After getting the DEB file, you open the terminal in the Downloads directory and issue this command.
sudo dpkg -i firmware-iwlwifi*
After it completes, successfully, you will have both; wlan0 will start showing along with the Wi-Fi network.
These are the only two steps you have to perform. If you follow them correctly, I am sure you will get Wi-Fi access on Debian in easy way. Although, I hope that they make this process a bit smoother by restoring these back to the installation ISO.
Intel Wireless WiFi Link, Wireless-N, Advanced-N, Ultimate-N devices
Эта страница описывает, как включить поддержку для устройств Intel 802.11n в ОС Debian.
- Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
- Intel Wireless WiFi 5150AGN
- Intel WiFi Link 1000BGN
- Intel 6000 Series WiFi Adapters (6200AGN and 6300AGN)
- Intel Wireless WiFi Link 6250AGN Adapter
- Intel 6005 Series WiFi Adapters
- Intel 6030 Series WiFi Adapters
- Intel Wireless WiFi Link 6150BGN 2 Adapter
- Intel 100 Series WiFi Adapters (100BGN and 130BGN)
- Intel 2000 Series WiFi Adapters
- Intel 7260 WiFi Adapter
- Intel 7265 WiFi Adapter
- Intel 3160 WiFi Adapter
Поддерживаемые устройства перечислены в конце этой страницы. Несвободные микропрограммы (Non-free firmware) требуют установки пакета firmware-iwlwifi.