Bonjour,
J’ai installé Bullseye il y a quelques jours et tout fonctionnait pour le mieux, y compris mon dongle USB wifi Realtek RTL8188SU qui fonctionnait parfaitement avec le package firmware-realtek. Tout est correct pendant plusieurs jours, jusqu’à ce que d’une minute à l’autre je perde la connection wifi sur ma debian.
Là j’ai fait toutes les recherches du monde sur mon problème, essayé diverses solutions, mais rien n’y fait, le dongle ne clignote pas, nm-applet affiche « device not ready », impossible de le connecter. Pourtant il fonctionne sur un pc windows et le wifi fonctionne aussi.
Au final j’ai formaté et réinstallé Bullseye, même problème.
J’en suis même arrivé à formater et installer Buster, mais rien n’y fait, le dongle ne veut pas se connecter. J’arrive à cours de solution, d’autant que j’ai fait plusieurs installation par le passé et à chaque fois il suffisait d’installer firmware-realtek et reboot pour que ça fonctionne directement.
Voilà le résultat de certaines commandes qui pourraient etre utile à l’analyse :
>> lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
>> lsusb
Bus 002 Device 006: ID 248a:8367 Maxxter
Bus 002 Device 005: ID 045e:07b2 Microsoft Corp. 2.4GHz Transceiver v8.0 used by mouse Wireless Desktop 900
Bus 002 Device 004: ID 062a:470a MosArt Semiconductor Corp.
Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
**Bus 001 Device 004: ID 0b05:1786 ASUSTek Computer, Inc. USB-N10 802.11n Network Adapter [Realtek RTL8188SU]**
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> lspci -k -nn | grep -A 3 -i net
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
Subsystem: Dell 82579LM Gigabit Network Connection (Lewisville) [1028:047e]
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
>> lshw -C network
*-network
description: Ethernet interface
product: 82579LM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: enp0s25
version: 04
serial: 18:03:73:d9:71:d4
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-4 ip=192.168.2.39 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:25 memory:e1500000-e151ffff memory:e1580000-e1580fff ioport:5040(size=32)
*-network DISABLED
description: Wireless interface
physical id: 1
bus info: usb@1:1.4
logical name: wlx08606e637787
serial: 66:b1:06:6c:e3:0e
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=r8712u multicast=yes wireless=unassociated
>> lsmod | sort
ac97_bus 16384 1 snd_ac97_codec
aesni_intel 200704 0
aes_x86_64 20480 1 aesni_intel
ahci 40960 3
autofs4 49152 2
button 20480 0
cdrom 65536 1 sr_mod
cfg80211 774144 0
coretemp 16384 0
crc16 16384 1 ext4
crc32c_generic 16384 0
crc32c_intel 24576 3
crc32_pclmul 16384 0
crct10dif_pclmul 16384 0
cryptd 28672 3 crypto_simd,ghash_clmulni_intel,aesni_intel
crypto_simd 16384 1 aesni_intel
dcdbas 16384 0
drm 495616 3 drm_kms_helper,radeon,ttm
drm_kms_helper 208896 1 radeon
e1000e 282624 0
ecb 16384 0
ehci_hcd 94208 1 ehci_pci
ehci_pci 16384 0
evdev 28672 29
ext4 745472 2
fscrypto 32768 1 ext4
ghash_clmulni_intel 16384 0
glue_helper 16384 1 aesni_intel
hid 139264 4 usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp
hid_generic 16384 0
hid_logitech_dj 24576 0
hid_logitech_hidpp 40960 0
i2c_algo_bit 16384 1 radeon
i2c_i801 28672 0
intel_cstate 16384 0
intel_powerclamp 16384 0
intel_rapl 24576 0
intel_rapl_perf 16384 0
intel_uncore 135168 0
ip_tables 28672 0
irqbypass 16384 1 kvm
iTCO_vendor_support 16384 1 iTCO_wdt
iTCO_wdt 16384 0
jbd2 122880 1 ext4
joydev 24576 0
kvm 757760 1 kvm_intel
kvm_intel 233472 0
libahci 40960 1 ahci
libata 270336 2 libahci,ahci
lp 20480 0
lpc_ich 28672 0
mbcache 16384 1 ext4
mei 118784 3 mei_wdt,mei_me
mei_me 45056 1
mei_wdt 16384 0
mfd_core 16384 1 lpc_ich
Module Size Used by
parport 57344 3 parport_pc,lp,ppdev
parport_pc 32768 1
pcc_cpufreq 16384 0
pcspkr 16384 0
ppdev 20480 0
psmouse 172032 0
r8712u 204800 0
radeon 1630208 0
rfkill 28672 2 cfg80211
scsi_mod 249856 4 sd_mod,libata,sg,sr_mod
sd_mod 61440 5
serio_raw 16384 0
sg 36864 0
snd 94208 33 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ac97_codec,snd_ca0106,snd_pcm,snd_rawmidi
snd_ac97_codec 147456 1 snd_ca0106
snd_ca0106 53248 3
snd_hda_codec 151552 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 61440 1
snd_hda_codec_realtek 126976 1
snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel 49152 8
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 114688 7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_ac97_codec,snd_ca0106,snd_hda_core
snd_rawmidi 40960 1 snd_ca0106
snd_seq_device 16384 1 snd_rawmidi
snd_timer 36864 1 snd_pcm
soundcore 16384 1 snd
sr_mod 28672 0
ttm 126976 1 radeon
usb_common 16384 1 usbcore
usbcore 299008 4 ehci_pci,usbhid,r8712u,ehci_hcd
usbhid 57344 0
video 49152 0
x86_pkg_temp_thermal 16384 0
x_tables 45056 1 ip_tables
>> iwconfig
Ici j’ajouterai que mon dongle a un nom bizarre. Lors de ma précédente installation j’avais désactivé le renommage du périphérique en ajoutant « net.ifnames=0 » à /etc/default/grub. Après ça j’avais bien un périphérique qui s’appelait « wlan0 » mais je n’avais pas de wifi pour autant, donc je ne sais pas si ça change quelque chose.
wlx08606e637787 unassociated Nickname:"rtl_wifi"
Mode:Auto Access Point: Not-Associated Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>> ifconfig -a
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.39 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::1a03:73ff:fed9:71d4 prefixlen 64 scopeid 0x20<link>
ether 18:03:73:d9:71:d4 txqueuelen 1000 (Ethernet)
RX packets 38214 bytes 41556683 (39.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23446 bytes 3442587 (3.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xe1500000-e1520000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 4 bytes 240 (240.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 240 (240.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlx08606e637787: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 66:b1:06:6c:e3:0e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>> iwlist scan
lo Interface doesn’t support scanning.
wlx08606e637787 Interface doesn't support scanning : Network is down
enp0s25 Interface doesn't support scanning.
>> uname -r -m
4.19.0-18-amd64 x86_64
>> cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
>> nmcli dev wifi
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
>> nmcli connection show
NAME UUID TYPE DEVICE
Wired connection 1 b3387980-6612-4d0e-9d55-a7ac67999d6f ethernet enp0s25
>> rfkill list
Ne renvoie rien du tout.
Enfin, voilà ce qu’il se passe quand je déconnecte puis reconnecte le dongle wifi
>> dmesg -T
[Thu Feb 10 11:13:52 2022] usb 1-1.4: USB disconnect, device number 4
[Thu Feb 10 11:13:53 2022] usb 1-1.4: new high-speed USB device number 5 using ehci-pci
[Thu Feb 10 11:13:54 2022] usb 1-1.4: New USB device found, idVendor=0b05, idProduct=1786, bcdDevice= 2.00
[Thu Feb 10 11:13:54 2022] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Thu Feb 10 11:13:54 2022] usb 1-1.4: Product: ASUS EZ N Network Adapter
[Thu Feb 10 11:13:54 2022] usb 1-1.4: Manufacturer: Manufacturer Realtek
[Thu Feb 10 11:13:54 2022] usb 1-1.4: SerialNumber: 00e04c000001
[Thu Feb 10 11:13:54 2022] r8712u: register rtl8712_netdev_ops to netdev_ops
[Thu Feb 10 11:13:54 2022] usb 1-1.4: r8712u: USB_SPEED_HIGH with 4 endpoints
[Thu Feb 10 11:13:54 2022] usb 1-1.4: r8712u: Boot from EFUSE: Autoload OK
[Thu Feb 10 11:13:54 2022] usb 1-1.4: r8712u: CustomerID = 0x0010
[Thu Feb 10 11:13:54 2022] usb 1-1.4: r8712u: MAC Address from efuse = 08:60:6e:63:77:87
[Thu Feb 10 11:13:54 2022] usb 1-1.4: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[Thu Feb 10 11:13:54 2022] usb 1-1.4: firmware: direct-loading firmware rtlwifi/rtl8712u.bin
[Thu Feb 10 11:13:54 2022] r8712u 1-1.4:1.0 wlx08606e637787: renamed from wlan0
[Thu Feb 10 11:13:54 2022] IPv6: ADDRCONF(NETDEV_UP): wlx08606e637787: link is not ready
(je pense que je n’avais pas la dernière ligne avec ADDRCONF(NETDEV_UP) lorsque je testais sous Bullseye.
Dites moi s’il manque des informations, ou si je ferai mieux de revenir sous Bullseye et reprendre mon analyse là bas.
Je ne comprends plus, là
Merci d’avance