Wifi & Firmware Realtek

Tags: #<Tag:0x00007f63f1abd7e8>

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

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.

D016955:~# dmesg|grep wifi
D016955:~# 
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 :

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

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# 
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# 
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# 
D016955:/var/log# grep -i wifi /var/log/kern.log
D016955:/var/log# 

Merci de votre aide

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

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

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

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

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

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

bonsoir

Merci d’avoir regardé.

Retour de la commande :

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

Rien.

amitiés

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!