Debian install driver wifi

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

Читайте также:  Снова включить wi fi вручную windows 10

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

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:

  1. First, identify the manufacturer of your Wi-Fi network card.
  2. 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

lshw generate hardware report in 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:

lshw showing network controller

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.

Читайте также:  Айпад 2 wifi 16gb

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

Install firmware-atheros on Debian

After the firmware installs, you can try restarting your computer. You will now see that it will detect the available Wi-Fi networks nearby.

Wi-Fi start showing

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*

install iwlwifi on Debian

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 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.

<i data-lazy-src=

# apt-get update && apt-get install firmware-iwlwifi
# modprobe -r iwlwifi ; modprobe iwlwifi

Debian 7 «Wheezy»

# Debian 7 "Wheezy" deb http://httpredir.debian.org/debian/ wheezy main contrib non-free
# apt-get update && apt-get install firmware-iwlwifi
# modprobe -r iwlwifi ; modprobe iwlwifi

Устранение неполадок

Проблема с медленным WiFi, при использовании Bluetooth

Некоторые устройства, например 6235, включают в себя Bluetooth-устройства, это может приводить к конфликтам в радио диапазонах. Некоторые устройства (7200 и выше) пытаются более грамотно решить эту проблему.

Если ваш WiFi медленным WiFi, при использовании Bluetooth, добавьте следующие в файл /etc/modprobe.d/iwlwifi.conf и перезагрузитесь:

options iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=8

Поддерживаемые устройства

Эта страница ru/HowToIdentifyADevice/PCI объясняет, как определить используемое устройство на PCI-шине.

Нижe список базируется на выводе modinfo iwlwifi в Debian с ядром 3.16 (3.16.7-ckt9-2).

PCI: 8086:0082 Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] PCI: 8086:0083 Intel Corporation Centrino Wireless-N 1000 [Condor Peak] PCI: 8086:0084 Intel Corporation Centrino Wireless-N 1000 [Condor Peak] PCI: 8086:0085 Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] PCI: 8086:0087 Intel Corporation Centrino Advanced-N + WiMAX 6250 [Kilmer Peak] PCI: 8086:0089 Intel Corporation Centrino Advanced-N + WiMAX 6250 [Kilmer Peak] PCI: 8086:008A Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] PCI: 8086:008B Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] PCI: 8086:0090 Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] PCI: 8086:0091 Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] PCI: 8086:0885 Intel Corporation Centrino Wireless-N + WiMAX 6150 PCI: 8086:0886 Intel Corporation Centrino Wireless-N + WiMAX 6150 PCI: 8086:0887 Intel Corporation Centrino Wireless-N 2230 PCI: 8086:0888 Intel Corporation Centrino Wireless-N 2230 PCI: 8086:088E Intel Corporation Centrino Advanced-N 6235 PCI: 8086:088F Intel Corporation Centrino Advanced-N 6235 PCI: 8086:0890 Intel Corporation Centrino Wireless-N 2200 PCI: 8086:0891 Intel Corporation Centrino Wireless-N 2200 PCI: 8086:0892 Intel Corporation Centrino Wireless-N 135 PCI: 8086:0893 Intel Corporation Centrino Wireless-N 135 PCI: 8086:0894 Intel Corporation Centrino Wireless-N 105 PCI: 8086:0895 Intel Corporation Centrino Wireless-N 105 PCI: 8086:0896 Intel Corporation Centrino Wireless-N 130 PCI: 8086:0897 Intel Corporation Centrino Wireless-N 130 PCI: 8086:08AE Intel Corporation Centrino Wireless-N 100 PCI: 8086:08AF Intel Corporation Centrino Wireless-N 100 PCI: 8086:08B1 Intel Corporation Wireless 7260 PCI: 8086:08B2 Intel Corporation Wireless 7260 PCI: 8086:08B3 Intel Corporation Wireless 3160 PCI: 8086:08B4 Intel Corporation Wireless 3160 PCI: 8086:095A Intel Corporation Wireless 7265 PCI: 8086:095B Intel Corporation Wireless 7265 PCI: 8086:24F3 Intel Corporation Wireless 8260 PCI: 8086:24F4 Intel Corporation Wireless 8260 PCI: 8086:422B Intel Corporation Centrino Ultimate-N 6300 PCI: 8086:422C Intel Corporation Centrino Advanced-N 6200 PCI: 8086:4232 Intel Corporation WiFi Link 5100 PCI: 8086:4235 Intel Corporation Ultimate N WiFi Link 5300 PCI: 8086:4236 Intel Corporation Ultimate N WiFi Link 5300 PCI: 8086:4237 Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection PCI: 8086:4238 Intel Corporation Centrino Ultimate-N 6300 PCI: 8086:4239 Intel Corporation Centrino Advanced-N 6200 PCI: 8086:423A Intel Corporation PRO/Wireless 5350 AGN [Echo Peak] Network Connection PCI: 8086:423B Intel Corporation PRO/Wireless 5350 AGN [Echo Peak] Network Connection PCI: 8086:423C Intel Corporation WiMAX/WiFi Link 5150 PCI: 8086:423D Intel Corporation WiMAX/WiFi Link 5150

Смотрите также

  • iwlegacy — Устройства Intel PRO/Wireless 3945 и WiFi Link 4965
  • ipw2200 — Устройства Intel PRO/Wireless 2100, 2200 и 2915
  • Как настроить WiFi

Источник

Оцените статью
Adblock
detector