# Wifi & Firmware Realtek

**URL:** <https://www.debian-fr.org/t/wifi-firmware-realtek/77356>\
**Category:** Support Debian\
**Tags:** wifi\
**Created:** [Août 13, 2018, 8:10 UTC](https://www.debian-fr.org/t/wifi-firmware-realtek/77356 "2018-08-13T20:10:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![erwann](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/e/b19c9b/32.png) [@erwann](https://www.debian-fr.org/u/erwann)\
**Post date:** [Août 13, 2018, 8:10 UTC](https://www.debian-fr.org/t/wifi-firmware-realtek/77356/1 "2018-08-13T20:10:05Z")

</div>

bonjour

j’ai une Debian stable (9.5) installée sur un disque externe USB3 que j’ai présenté à un portable Lenovo (A275). Nikel après avoir mis à jour les firmware (la Debian tournait avant sur un portable Dell).

Le Wifi me résiste encore et toujours.

lspci m’a appris que c’est un contrôleur Realtek B8822BE

```nohighlight
D016955:~# lspci -k -nn |grep -i realtek -A 3
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0e)
	Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:511f]
	Kernel driver in use: r8169
	Kernel modules: r8169
01:00.1 Serial controller [0700]: Realtek Semiconductor Co., Ltd. Device [10ec:816a] (rev 0e)
	Subsystem: Lenovo Device [17aa:511f]
01:00.2 Serial controller [0700]: Realtek Semiconductor Co., Ltd. Device [10ec:816b] (rev 0e)
	Subsystem: Lenovo Device [17aa:511f]
01:00.3 IPMI Interface [0c07]: Realtek Semiconductor Co., Ltd. Device [10ec:816c] (rev 0e)
	Subsystem: Lenovo Device [17aa:511f]
	Kernel driver in use: ipmi_si
	Kernel modules: ipmi_si
01:00.4 USB controller [0c03]: Realtek Semiconductor Co., Ltd. Device [10ec:816d] (rev 0e)
	Subsystem: Lenovo Device [17aa:511f]
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
	Subsystem: Lenovo RTS522A PCI Express Card Reader [17aa:511f]
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
	Subsystem: Lenovo Device [17aa:b023]
04:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
	Subsystem: Samsung Electronics Co Ltd Device [144d:a801]
D016955:~# 

```

J’ai donc installé sans succès le paquet “firmware-realtek” de la version “stable” avant d’opter pour celui de la version “unstable” ou figure spécifiquement le driver référencé.

Il ne semble pas pris en compte.

```nohighlight
D016955:~# dmesg|grep wifi
D016955:~# 

```

```nohighlight
D016955:~# dmesg|grep rtl
[14.481166] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[14.481169] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
[14.838413] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822b_config.bin
[14.838420] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
[14.980846] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822b_fw.bin
D016955:~#

```

voici l’état du paquet :

```nohighlight
D016955:~# apt-cache policy firmware-realtek
firmware-realtek:
  Installé : 20180518-1
  Candidat : 20180518-1
 Table de version :
 *** 20180518-1 100
        100 /var/lib/dpkg/status
     20161130-3 500
        500 http://debian.ens-cachan.fr/ftp/debian stretch/non-free amd64 Packages
D016955:~# 

```

Rien de particulier dans la log

```nohighlight
D016955:/var/log# grep -i rtl /var/log/syslog
Aug 13 21:13:08 D016955 kernel: [11.673499] r8169 0000:01:00.0 eth0: RTL8168ep/8111ep at 0xffffae93010b5000, 54:e1:ad:a2:e7:a4, XID 10200800 IRQ 42
Aug 13 21:13:11 D016955 kernel: [14.481166] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
Aug 13 21:13:11 D016955 kernel: [14.481169] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
Aug 13 21:13:11 D016955 kernel: [14.838413] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822b_config.bin
Aug 13 21:13:11 D016955 kernel: [14.838420] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
Aug 13 21:13:11 D016955 kernel: [14.980846] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822b_fw.bin
D016955:/var/log# 

```

```nohighlight
D016955:/var/log# grep -i rtl /var/log/kern.log
Aug 13 20:34:31 D016955 kernel: [12.549309] r8169 0000:01:00.0 eth0: RTL8168ep/8111ep at 0xffffa9f600e81000, 54:e1:ad:a2:e7:a4, XID 10200800 IRQ 40
Aug 13 20:34:33 D016955 kernel: [14.984435] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
Aug 13 20:34:33 D016955 kernel: [14.984440] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
Aug 13 20:34:33 D016955 kernel: [15.031700] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822b_config.bin
Aug 13 20:34:33 D016955 kernel: [15.031720] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
Aug 13 20:34:33 D016955 kernel: [15.048785] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822b_fw.bin
Aug 13 21:13:08 D016955 kernel: [11.673499] r8169 0000:01:00.0 eth0: RTL8168ep/8111ep at 0xffffae93010b5000, 54:e1:ad:a2:e7:a4, XID 10200800 IRQ 42
Aug 13 21:13:11 D016955 kernel: [14.481166] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
Aug 13 21:13:11 D016955 kernel: [14.481169] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
Aug 13 21:13:11 D016955 kernel: [14.838413] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822b_config.bin
Aug 13 21:13:11 D016955 kernel: [14.838420] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
Aug 13 21:13:11 D016955 kernel: [14.980846] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822b_fw.bin
D016955:/var/log# 

```

```nohighlight
grep -i wifi /var/log/syslog
Aug 13 21:13:18 D016955 NetworkManager[653]: <info> [1534187598.6848] manager[0x563fda9b8040]: WiFi hardware radio set enabled
Aug 13 21:13:19 D016955 NetworkManager[653]: <info> [1534187599.9465] keyfile: new connection /etc/NetworkManager/system-connections/WIFI_HOTEL_DU_PORT_132 (1108473b-7a98-44ae-b1f5-667879480ffd,"WIFI_HOTEL_DU_PORT_132")
Aug 13 21:13:20 D016955 NetworkManager[653]: <info> [1534187600.3080] manager: WiFi enabled by radio killswitch; enabled by state file
Aug 13 21:13:20 D016955 NetworkManager[653]: <info> [1534187600.5262] Loaded device plugin: NMWifiFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wifi.so)
D016955:/var/log# 

```

```nohighlight
D016955:/var/log# grep -i wifi /var/log/kern.log
D016955:/var/log# 

```

Merci de votre aide

---

<div class="post-metadata">

**Author:** ![littlejohn75](https://www.debian-fr.org/user_avatar/www.debian-fr.org/littlejohn75/32/3840_2.png) [@littlejohn75](https://www.debian-fr.org/u/littlejohn75)\
**Post date:** [Août 13, 2018, 9:13 UTC](https://www.debian-fr.org/t/wifi-firmware-realtek/77356/2 "2018-08-13T21:13:35Z")

</div>

> [@erwann](#):
>
> J’ai donc installé sans succès le paquet “firmware-realtek”

En fait, vous vaez installé _avec_ succès ledit paquet, comme le prouve la sortie de

```auto
apt-cache policy firmware-realtek

```

Le problème est que en cherchant `realtek` vous n’êtes pas suffisamment attentif : le pilote `r8169` est pour une puce realtek qui gère une interface réseau câblée gigabit

> [@erwann](#):
>
> c’est un contrôleur Realtek B8822BE
> 
> D016955:~# lspci -k -nn |grep -i realtek -A 3
> 
> 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0e)
> 
> Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:511f]
> 
> Kernel driver in use: r8169

C’est écrit en toute lettre dans votre message.  
Ce pilote n’a rien à voir avec le wifi.

Sur ma machine (CLEVO) j’ai bien à la fois le module realtek r8169 pour le prise réseau et un module `iwlwifi` pour le wifi

```auto
fp2@debpacha:~$ lspci -k | fgrep -A 3 -i ethernet
05:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
	Subsystem: CLEVO/KAPOK Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Kernel driver in use: r8169
	Kernel modules: r8169
fp2@debpacha:~$ lspci -k | fgrep -A2 -i wireless
04:00.0 Network controller: Intel Corporation Wireless 7260 (rev c3)
	Subsystem: Intel Corporation Wireless-N 7260
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
fp2@debpacha:~$ dpkg -l | fgrep wifi
ii firmware-iwlwifi 20161130-3 all Binary firmware for Intel Wireless cards
ii firmware-realtek 20161130-3 all Binary firmware for Realtek wired/wifi/BT adapters
ii wifi-radar 2.0.s08+dfsg-1.1 all graphical utility for managing Wi-Fi profiles
fp2@debpacha:~$ 

```

Donnez le retour de

```auto
lspci | fgrep -i wire

```

Cordialement,  
Regards,  
Mit freundlichen Grüßen,  
مع تحياتي الخالصة

* * *

F. Petitjean

« On ne perd pas son temps en aiguisant ses outils. »  
Proverbe français

---

<div class="post-metadata">

**Author:** ![jweber](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/j/e95f7d/32.png) [@jweber](https://www.debian-fr.org/u/jweber)\
**Post date:** [Août 13, 2018, 9:57 UTC](https://www.debian-fr.org/t/wifi-firmware-realtek/77356/3 "2018-08-13T21:57:48Z")

</div>

Je crains qu’il ne faille attendre un peu ;  
[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905867](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905867)

---

<div class="post-metadata">

**Author:** ![erwann](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/e/b19c9b/32.png) [@erwann](https://www.debian-fr.org/u/erwann)\
**Post date:** [Août 14, 2018, 4:22 UTC](https://www.debian-fr.org/t/wifi-firmware-realtek/77356/4 "2018-08-14T16:22:29Z")

</div>

bonsoir

Merci d’avoir regardé.

Retour de la commande :

> D016955:~# lspci | fgrep wire  
> D016955:~#

Rien.

amitiés

---

<div class="post-metadata">

**Author:** ![erwann](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/e/b19c9b/32.png) [@erwann](https://www.debian-fr.org/u/erwann)\
**Post date:** [Août 14, 2018, 4:32 UTC](https://www.debian-fr.org/t/wifi-firmware-realtek/77356/5 "2018-08-14T16:32:14Z")

</div>

Aïe…  
D’habitude je reste plutôt sur du “stable”, voire “testing”.  
je n’ai donc pas l’habitude des rapports de bogues  
J’ai voulu explorer du “unstable”, bien mal m’en a pris.  
Je patienterai donc.

merci!
