Bonjour il y a une peu plus d'un an je me suis offert un Dell G3 15 Gaming Laptop et j'y ai installé Ubuntu 19.04 et j'avais remarque que la connexion wifi n'était pas stable (pertes de connexion intempestives et répétées) et j'avais opté pour une petite clé wifi qui elle fonctionné très bien.
Entre temps j'ai installé la mise à jour 20.04 et depuis (et visiblement je suis pas le seul) beaucoup d'adaptateur usb wifi ne marche plus.
Donc je voulais prendre le problème à la racine et corriger le problème avec ma carte wifi de base. C'est une Intel Wireless-AC 9462.
J'ai fais le wificheck mais j'ai eu cette erreur
./wificheck: ligne 74: nm-tool : commande introuvable
D'avance merci
>> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
>> lsusb
Bus 004 Device 004: ID 2109:0817 VIA Labs, Inc.
Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 004 Device 002: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 2109:8888 VIA Labs, Inc.
Bus 003 Device 008: ID 059f:1016 LaCie, Ltd Desktop Hard Drive
Bus 003 Device 007: ID 2109:0100 VIA Labs, Inc.
Bus 003 Device 006: ID 046d:c318 Logitech, Inc. Illuminated Keyboard
Bus 003 Device 005: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 003 Device 003: ID 2109:2817 VIA Labs, Inc.
Bus 003 Device 002: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 27c6:5301 Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 0bda:568a Realtek Semiconductor Corp. Integrated Webcam
Bus 001 Device 005: ID 8087:0aaa Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> lspci -k -nn | grep -A 3 -i net
00:14.3 Network controller [0280]: Intel Corporation Wireless-AC 9560 [Jefferson Peak] [8086:a370] (rev 10)
DeviceName: Onboard - Ethernet
Subsystem: Intel Corporation Wireless-AC 9560 [Jefferson Peak] [8086:42a4]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
--
3c:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1028:0885]
Kernel driver in use: r8169
Kernel modules: r8169
>> sudo lshw -C network
*-network
description: Ethernet interface
produit: Wireless-AC 9560 [Jefferson Peak]
fabricant: Intel Corporation
identifiant matériel: 14.3
information bus: pci@0000:00:14.3
nom logique: wlo1
version: 10
numéro de série: 50:00:af:00:91:a0
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical
configuration : broadcast=yes driver=iwlwifi driverversion=5.4.0-45-generic firmware=46.6bf1df06.0 9000-pu-b0-jf-b0- ip=192.168.2.71 latency=0 link=yes multicast=yes
ressources : irq:16 mémoire:ed41c000-ed41ffff
*-network
description: Ethernet interface
produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
fabricant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 0
information bus: pci@0000:00:00.0
nom logique: enp60s0
version: 15
numéro de série: 3c:00:30:00:b1:7c
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-fd autonegotiation
configuration : autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII
ressources : irq:17 portE/S:3000(taille=256) mémoire:ed204000-ed204fff mémoire:ed200000-ed203fff
*-network:0
description: Ethernet interface
identifiant matériel: 2
nom logique: docker0
numéro de série: 02:00:51:00:94:1f
fonctionnalités: ethernet physical
configuration : broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes
*-network:1
description: Ethernet interface
identifiant matériel: 3
information bus: usb@4:1.2
nom logique: enx00e04c680e8c
numéro de série: 00:00:4c:00:0e:8c
taille: 1Gbit/s
capacité: 1Gbit/s
fonctionnalités: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration : autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.10.11 duplex=full ip=192.168.2.41 link=yes multicast=yes port=MII speed=1Gbit/s
>> lsmod | sort
ac97_bus 16384 1 snd_soc_core
acpi_pad 184320 0
acpi_thermal_rel 16384 1 int3400_thermal
aesni_intel 372736 22
af_alg 24576 22 algif_hash,algif_skcipher
ahci 40960 1
algif_hash 16384 5
algif_skcipher 16384 5
aufs 262144 0
autofs4 45056 3
binfmt_misc 24576 1
bluetooth 581632 41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
bnep 24576 2
bpfilter 32768 0
bridge 176128 1 br_netfilter
br_netfilter 28672 0
btbcm 16384 1 btusb
btintel 24576 1 btusb
btrtl 24576 1 btusb
btusb 57344 0
ccm 20480 9
cdc_acm 40960 0
cdc_ether 20480 0
cfg80211 684032 3 iwlmvm,iwlwifi,mac80211
cmac 16384 11
compat 16384 4 iwlmvm,iwlwifi,mac80211,cfg80211
coretemp 20480 0
crc32_pclmul 16384 0
crct10dif_pclmul 16384 1
cryptd 24576 7 crypto_simd,ghash_clmulni_intel
crypto_simd 16384 1 aesni_intel
dcdbas 20480 1 dell_smbios
dell_laptop 24576 0
dell_smbios 28672 2 dell_wmi,dell_laptop
dell_wmi 20480 0
dell_wmi_descriptor 20480 2 dell_wmi,dell_smbios
drm 491520 13 drm_kms_helper,nvidia_drm,i915
drm_kms_helper 184320 2 nvidia_drm,i915
ecc 28672 1 ecdh_generic
ecdh_generic 16384 2 bluetooth
fb_sys_fops 16384 1 drm_kms_helper
ghash_clmulni_intel 16384 0
glue_helper 16384 1 aesni_intel
hid 131072 4 i2c_hid,usbhid,hid_multitouch,hid_generic
hid_generic 16384 0
hid_multitouch 28672 0
i2c_algo_bit 16384 1 i915
i2c_hid 28672 0
i2c_i801 32768 0
i915 1986560 4
idma64 20480 0
input_leds 16384 0
int3400_thermal 20480 0
int3403_thermal 20480 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
intel_cstate 20480 0
intel_lpss 16384 1 intel_lpss_pci
intel_lpss_pci 20480 0
intel_pch_thermal 16384 0
intel_powerclamp 20480 0
intel_rapl_common 24576 2 intel_rapl_msr,processor_thermal_device
intel_rapl_msr 20480 0
intel_soc_dts_iosf 20480 1 processor_thermal_device
intel_wmi_thunderbolt 20480 0
ipmi_devintf 20480 0
ipmi_msghandler 106496 2 ipmi_devintf,nvidia
iptable_filter 16384 1
iptable_nat 16384 1
ip_tables 32768 2 iptable_filter,iptable_nat
iwlmvm 434176 0
iwlwifi 372736 1 iwlmvm
joydev 24576 0
kvm 663552 1 kvm_intel
kvm_intel 282624 0
ledtrig_audio 16384 4 snd_hda_codec_generic,snd_hda_codec_realtek,snd_sof,dell_laptop
libahci 32768 1 ahci
libarc4 16384 1 mac80211
libcrc32c 16384 2 nf_conntrack,nf_nat
llc 16384 2 bridge,stp
lp 20480 0
mac80211 782336 1 iwlmvm
mac_hid 16384 0
mc 53248 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
mei 106496 3 mei_hdcp,mei_me
mei_hdcp 24576 0
mei_me 40960 1
memstick 20480 1 rtsx_usb_ms
mii 20480 2 usbnet,r8152
Module Size Used by
mxm_wmi 16384 0
nf_conntrack 139264 4 xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_conntrack_netlink 45056 0
nf_defrag_ipv4 16384 1 nf_conntrack
nf_defrag_ipv6 24576 1 nf_conntrack
nf_nat 40960 2 iptable_nat,xt_MASQUERADE
nfnetlink 16384 2 nf_conntrack_netlink
nls_iso8859_1 16384 1
nvidia 20680704 499 nvidia_uvm,nvidia_modeset
nvidia_drm 45056 11
nvidia_modeset 1114112 11 nvidia_drm
nvidia_uvm 966656 0
nvme 49152 2
nvme_core 102400 4 nvme
overlay 114688 0
parport 53248 3 parport_pc,lp,ppdev
parport_pc 40960 0
pinctrl_cannonlake 36864 0
pinctrl_intel 28672 1 pinctrl_cannonlake
ppdev 24576 0
processor_thermal_device 24576 0
psmouse 155648 0
r8152 69632 0
r8169 90112 0
rapl 20480 0
realtek 24576 1
rfcomm 81920 16
rtsx_usb 28672 2 rtsx_usb_sdmmc,rtsx_usb_ms
rtsx_usb_ms 24576 0
rtsx_usb_sdmmc 32768 0
sch_fq_codel 20480 3
serio_raw 20480 0
snd 90112 31 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_compress,snd_soc_core,snd_pcm,snd_rawmidi
snd_compress 24576 1 snd_soc_core
snd_hda_codec 131072 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_codec_generic 81920 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 61440 2
snd_hda_codec_realtek 126976 1
snd_hda_core 90112 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_ext_core 28672 3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_intel 53248 9
snd_hwdep 20480 1 snd_hda_codec
snd_intel_dspcfg 24576 3 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common
snd_pcm 106496 8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_rawmidi 36864 1 snd_seq_midi
snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_soc_acpi 16384 2 snd_sof_pci,snd_soc_acpi_intel_match
snd_soc_acpi_intel_match 32768 2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_core 245760 3 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_sof 106496 4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
snd_sof_intel_byt 20480 1 snd_sof_pci
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_intel_hda_common 69632 1 snd_sof_pci
snd_sof_intel_ipc 20480 1 snd_sof_intel_byt
snd_sof_pci 20480 0
snd_sof_xtensa_dsp 16384 1 snd_sof_pci
snd_timer 36864 2 snd_seq,snd_pcm
soundcore 16384 1 snd
sparse_keymap 16384 1 dell_wmi
stp 16384 1 bridge
sunrpc 393216 1
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
uas 28672 0
usbhid 57344 0
usbnet 45056 1 cdc_ether
usb_storage 77824 2 uas
uvcvideo 98304 0
video 49152 3 dell_wmi,dell_laptop,i915
videobuf2_common 49152 2 videobuf2_v4l2,uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
videobuf2_vmalloc 20480 1 uvcvideo
videodev 225280 3 videobuf2_v4l2,uvcvideo,videobuf2_common
virt_dma 20480 1 idma64
wmi 32768 6 intel_wmi_thunderbolt,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor,mxm_wmi
wmi_bmof 16384 0
x86_pkg_temp_thermal 20480 0
xfrm_algo 16384 1 xfrm_user
xfrm_user 36864 1
x_tables 40960 5 xt_conntrack,iptable_filter,xt_addrtype,ip_tables,xt_MASQUERADE
xt_addrtype 16384 2
xt_conntrack 16384 1
xt_MASQUERADE 20480 1
>> iwconfig
>> ifconfig -a
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:00:51:00:94:1f txqueuelen 0 (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
enp60s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 3c:00:30:00:b1:7c 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
enx00e04c680e8c: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.41 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::00:950f:a8b8:5ff4 prefixlen 64 scopeid 0x20<link>
ether 00:00:4c:00:0e:8c txqueuelen 1000 (Ethernet)
RX packets 43998 bytes 49397537 (49.3 MB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 22202 bytes 4283244 (4.2 MB)
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 1367 bytes 133312 (133.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1367 bytes 133312 (133.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.71 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::338b:00:ecf3:b2f2 prefixlen 64 scopeid 0x20<link>
ether 50:00:af:00:91:a0 txqueuelen 1000 (Ethernet)
RX packets 1601 bytes 293136 (293.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 135 bytes 18630 (18.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>> sudo iwlist scan
>> uname -r -m
5.4.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 BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY
00:00:00:00:00:07 ancayavibox Infra 11 270 Mbit/s 100 ▂▄▆█ WPA2
* 00:00:00:00:00:06 ancayavibox-5g Infra 44 270 Mbit/s 65 ▂▄▆_ WPA2
>> nmcli connection list (< 15.04) ou nmcli connection show (>= 15.04)
NAME UUID TYPE DEVICE
Connexion filaire 2 a077d598-8500-3922-0000-979d0f709f33 ethernet enx00e04c680e8c
ancayavibox-5g 7adc9974-2c2e-4805-0000-f9d96f524c26 wifi wlo1
docker0 d57e423e-e8bd-454a-0000-32a635ccf52b bridge docker0
ancayavibox 5682d210-f5de-4271-0000-ebc50b4a1dec wifi --
Connexion filaire 1 2419d30f-e2f1-355c-0000-6ff9cac287e9 ethernet --
>> nmcli connection status
>> sudo rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no