Intel Wlan Realtek Linux Driver 1 1 1

Installer driver WLAN sous Linux

On obtient tous les pilotes lors de l’installation si on choisit l’ISO :

– firmware Debian 10 DVD1 (si on n’a que du WI-FI)

– firmware Debian 10 netinst (à condition de brancher un cable Ethernet)

  1. Choisir une distribution complète : exemple Debian qui possède tous les dépots des firmware !!!   Exemple : netinst avec cable Ethernet
  2. Voici les commandes à saisir pour installer le bon pilote : histoire d’une galère !!!  .. avec la solution en 4 lignes à la fin …

La solution a été trouvée grâce au site : debian-facile.org

Matériel : SCHNEIDER portable

franck@FranckPascal:~$ su
Mot de passe : 

root@FranckPascal:/home/franck# lshw -C network
  *-network                 
       description: Ethernet interface
       identifiant matériel: 1
       information bus: usb@1:5.1
       nom logique: enx8439be65789f
       numéro de série: 84:39:be:65:78:9f
       taille: 10Mbit/s
       capacité: 100Mbit/s
       fonctionnalités: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.09.9 duplex=half link=no multicast=yes port=MII speed=10Mbit/s

root@FranckPascal:/home/franck# inxi -F
System:
  Host: FranckPascal Kernel: 4.19.0-8-amd64 x86_64 bits: 64 
  Desktop: Xfce 4.12.4 Distro: Debian GNU/Linux 10 (buster) 
Network:
  Message: No Device data found. 
  Device-1: Realtek RTL8152 Fast Ethernet Adapter type: USB driver: r8152 
  IF: enx8439be65789f state: down mac: 84:39:be:65:78:9f 
Info:
  Processes: 144 Uptime: 2m Memory: 3.69 GiB used: 338.0 MiB (9.0%) 
  Shell: bash inxi: 3.0.32 

root@FranckPascal:/home/franck# lspci -nn | grep -i network

root@FranckPascal:/home/franck# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 058f:5608 Alcor Micro Corp. 
Bus 001 Device 006: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 005: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet Adapter
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 0bda:b720 Realtek Semiconductor Corp. 
Bus 001 Device 007: ID 03f0:0941 HP, Inc 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@FranckPascal:/home/franck# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enx8439be65789f: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 84:39:be:65:78:9f brd ff:ff:ff:ff:ff:ff

root@FranckPascal:/home/franck# dmesg | grep firmware
[    8.399032] usb 1-3: rtl8xxxu: Loading firmware rtlwifi/rtl8723bu_nic.bin
[    8.504000] usb 1-3: firmware: failed to load rtlwifi/rtl8723bu_nic.bin (-2)
[    8.504063] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    8.504119] usb 1-3: Direct firmware load for rtlwifi/rtl8723bu_nic.bin failed with error -2
[    8.504125] usb 1-3: request_firmware(rtlwifi/rtl8723bu_nic.bin) failed
[    8.504126] usb 1-3: Fatal - failed to load firmware
[    8.556913] bluetooth hci0: firmware: failed to load rtl_bt/rtl8723b_fw.bin (-2)
[    8.556975] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_fw.bin failed with error -2
[    8.556979] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8723b_fw.bin not found

root@FranckPascal:/home/franck# apt-cache search rtlwifi
firmware-realtek - Binary firmware for Realtek wired/wifi/BT adapters

root@FranckPascal:/home/franck# dpkg -l | grep firmw
ii  firmware-atheros                      20190114-2                          all          Binary firmware for Atheros wireless cards
ii  firmware-iwlwifi                      20190114-2                          all          Binary firmware for Intel Wireless cards
ii  firmware-linux-free                   3.4                                 all          Binary firmware for various drivers in the Linux kernel
ii  firmware-misc-nonfree                 20190114-2                          all          Binary firmware for various drivers in the Linux kernel
ii  intel-microcode                       3.20191115.2~deb10u1 amd64        Processor microcode firmware for Intel CPUs

root@FranckPascal:/home/franck# modprobe -rv iwlwifi && modprobe -v iwlwifi
bash: modprobe : commande introuvable

root@FranckPascal:/home/franck# sudo modprobe -rv iwlwifi && sudo modprobe -v iwlwifi
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko 

root@FranckPascal:/home/franck# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enx8439be65789f: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 84:39:be:65:78:9f brd ff:ff:ff:ff:ff:ff

root@FranckPascal:/home/franck# sudo reboot


Enfin la solution : Le firmware manquant étaitfirmware-realtek (RTL..)


1) Visionner les erreur au démarrage :dmesg | grep firmware
2) Lister les firmwares déjà installés :dpkg -l | grep firmware
3) Installer le firmware manquant :apt-get install firmware-realt*
4) Redémarrer : sudo reboot

Tant que KO installer un autre firmware… etc...

OK : le 10 avril 2020 !

# inxi -F

Network:
  Message: No Device data found. 
  Device-1: Realtek RTL8152 Fast Ethernet Adapter type: USB driver: r8152 
  IF: enx8439be65789f state: down mac: 84:39:be:65:78:9f 
  IF-ID-1: wlx8420962c2b49 state: up mac: 84:20:96:2c:2b:49  (nouvelle ligne!)


# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enx8439be65789f: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 84:39:be:65:78:9f brd ff:ff:ff:ff:ff:ff
3: wlx8420962c2b49: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 84:20:96:2c:2b:49 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.24/24 brd 192.168.1.255 scope global dynamic noprefixroute wlx8420962c2b49
       valid_lft 85946sec preferred_lft 85946sec
    inet6 fe80::5c8d:929c:8584:38f9/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever