Bonjour à Toutes et à Tous,
Je rencontre le problème suivant sur une nouvelle machine : le niveau du WIFI est très faible alors que je suis à proximité de la box.
Le module WIFI concerné est une clé USB tp-link TL-WN823N V3.0. Le module n'est pas en cause, il fonctionne correctement sous Windows.
Ma question, avant de faire des essais : quel est le driver le plus approprié pour cette clé USB?
Le chipset est un rtl8192eu, pour lequel le seul github maintenu que j'ai trouvé est :
https://github.com/Mange/rtl8192eu-linux-driver dont la dernière mise à jour date d'il y a 6 semaines. Ce qui me gène sur ce driver est :
NOTE: This is just a "mirror". I have no knowledge about this code or how it works. Expect no support from me or any contributors here. I just think GitHub is a nicer way of keeping track of this than random forum posts and precompiled binaries being sent by email. I don't want someone else to have to spend 5 days of googling and compiling with random patches until it works.
Ce qui n'est pas terrible...
Le github de Larry Finger ne contient pas de driver pour ce chipset et celui de jeremy31 pointe sur celui cité ci-dessus.
Les sujets que j'ai trouvé sur cette puce sont assez anciens :
https://forum.ubuntu-fr.org/viewtopic.php?id=1993877
ou qui n'apporte pas de réponse
https://forum.ubuntu-fr.org/viewtopic.php?id=2030398&p=2
Le driver actuel est celui des noyaux 4.15 (pour l'instant 4.15.0-45), le
rtl8xxxu. J'ai cru lire que pour les 4.15 c'était pas top, mais je n'ai pas retrouvé cette affirmation.
Voici le résultat du WIFI Check.
>> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
>> lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2357:0109
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> lspci -k -nn | grep -A 3 -i net
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:8677]
Kernel driver in use: r8169
Kernel modules: r8169
>> sudo lshw -C network
*-network
description: Ethernet interface
produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
fabriquant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 0
information bus: pci@0000:04:00.0
nom logique: enp4s0
version: 15
numéro de série: 04:92:26:48:42:71
taille: 10Mbit/s
capacité: 1Gbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
ressources: irq:19 portE/S:3000(taille=256) mémoire:a3204000-a3204fff mémoire:a3200000-a3203fff
*-network
description: Interface réseau sans fil
identifiant matériel: 2
information bus: usb@1:8
nom logique: wlx503eaaa1e0f2
numéro de série: 50:3e:aa:a1:e0:f2
fonctionnalités: ethernet physical wireless
configuration: broadcast=yes driver=rtl8xxxu driverversion=4.15.0-45-generic firmware=N/A ip=192.168.1.10 link=yes multicast=yes wireless=IEEE 802.11
>> lsmod
Module Size Used by
ccm 20480 9
arc4 16384 2
nls_iso8859_1 16384 1
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
snd_hda_codec_hdmi 49152 1
snd_hda_codec_realtek 106496 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
kvm_intel 212992 0
snd_hda_intel 40960 5
snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 81920 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
kvm 598016 1 kvm_intel
snd_hwdep 20480 1 snd_hda_codec
irqbypass 16384 1 kvm
eeepc_wmi 16384 0
asus_wmi 28672 1 eeepc_wmi
crct10dif_pclmul 16384 0
sparse_keymap 16384 1 asus_wmi
snd_pcm 98304 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
wmi_bmof 16384 0
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
pcbc 16384 0
snd_seq 65536 2 snd_seq_midi,snd_seq_midi_event
aesni_intel 188416 6
rtl8xxxu 122880 0
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
glue_helper 16384 1 aesni_intel
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
mac80211 778240 1 rtl8xxxu
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
snd_timer 32768 2 snd_seq,snd_pcm
snd 81920 21 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
input_leds 16384 0
intel_cstate 20480 0
cfg80211 622592 1 mac80211
intel_rapl_perf 16384 0
soundcore 16384 1 snd
serio_raw 16384 0
nvidia_uvm 757760 0
mei_me 40960 0
mei 90112 1 mei_me
shpchp 36864 0
mac_hid 16384 0
acpi_pad 180224 0
wmi 24576 2 asus_wmi,wmi_bmof
sch_fq_codel 20480 6
parport_pc 36864 1
ppdev 20480 0
lp 20480 0
parport 49152 3 parport_pc,lp,ppdev
ip_tables 28672 0
x_tables 40960 1 ip_tables
autofs4 40960 2
nvidia_drm 40960 2
nvidia_modeset 1110016 3 nvidia_drm
nvidia 14360576 85 nvidia_uvm,nvidia_modeset
drm_kms_helper 172032 1 nvidia_drm
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 401408 5 drm_kms_helper,nvidia_drm
r8169 86016 0
ahci 40960 3
ipmi_devintf 20480 0
psmouse 147456 0
mii 16384 1 r8169
libahci 32768 1 ahci
ipmi_msghandler 53248 2 ipmi_devintf,nvidia
video 45056 1 asus_wmi
>> iwconfig
wlx503eaaa1e0f2 IEEE 802.11 ESSID:"Livebox-47fc"
Mode:Managed Frequency:2.462 GHz Access Point: 00:19:70:B2:93:95
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=24/70 Signal level=-86 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:71 Missed beacon:0
>> ifconfig -a
enp4s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 04:92:26:48:42:71 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
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 (Boucle locale)
RX packets 399 bytes 34845 (34.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 399 bytes 34845 (34.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlx503eaaa1e0f2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::b5d3:7869:ca81:86cb prefixlen 64 scopeid 0x20<link>
ether 50:3e:aa:a1:e0:f2 txqueuelen 1000 (Ethernet)
RX packets 9152 bytes 12050308 (12.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4852 bytes 559370 (559.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>> sudo iwlist scan
>> uname -r -m
4.15.0-45-generic x86_64
>> cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
>> nm-tool
>> nmcli dev wifi
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
* Livebox-47fc Infra 11 130 Mo/s 36 ▂▄__ WPA2
orange Infra 11 130 Mo/s 27 ▂___ --
Livebox-E410 Infra 1 195 Mo/s 0 ____ WPA2
Livebox-B260 Infra 11 195 Mo/s 0 ____ WPA2
orange Infra 11 195 Mo/s 0 ____ --
SFR WiFi Mobile Infra 11 130 Mo/s 0 ____ WPA2 802.1X
SFR WiFi FON Infra 11 130 Mo/s 0 ____ --
SFR_35F8 Infra 11 130 Mo/s 0 ____ WPA1 WPA2
>> nmcli connection list (< 15.04) ou nmcli connection show (>= 15.04)
NAME UUID TYPE DEVICE
Livebox-47fc ebddbb2f-e916-4bbc-99db-f350f2774f2d wifi wlx503eaaa1e0f2
Connexion filaire 1 3f93c5d5-022d-3cc3-b9c3-d074520cec3c ethernet --
orange 2e80fb81-a5de-4985-be3d-23cb80e330ca wifi --
>> nmcli connection status
>> sudo rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Je ne pourrai intervenir sur la machine que dans le courant de la soirée.