Bonjour à toutes et à tous,
J'ai depuis quelques jours (semaines ?) un bug assez embêtant : lorsque mon ordinateur sort de veille, il ne trouve pas de réseau. Le wifi s'allume et tout, mais il ne détecte rien. Et lorsque je relance network manager, rien n'y fait : le seul moyen de récupérer une connexion est de rallumer l'ordinateur. Et clairement, ce n'est pas une solution de long terme.
Voici les quelques infos de base sur le wifi :
>> 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 003: ID 13d3:3491 IMC Networks
Bus 001 Device 002: ID 0bda:57e6 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> lspci -k -nn | grep -A 3 -i net
02:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 30)
Subsystem: AzureWave QCA9377 802.11ac Wireless Network Adapter [1a3b:2231]
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
>> sudo lshw -C network
*-network
description: Interface réseau sans fil
produit: QCA9377 802.11ac Wireless Network Adapter
fabriquant: Qualcomm Atheros
identifiant matériel: 0
information bus: pci@0000:02:00.0
nom logique: wlp2s0
version: 30
numéro de série: 80:a5:89:02:26:5d
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-54-generic firmware=WLAN.TF.2.1-00021-QCARMSWP-1 ip=10.1.26.127 latency=0 link=yes multicast=yes wireless=IEEE 802.11
ressources: irq:128 mémoire:81000000-811fffff
>> lsmod | sort
acpi_thermal_rel 16384 1 int3400_thermal
aesni_intel 188416 315
aes_x86_64 20480 1 aesni_intel
ak8975 20480 0
arc4 16384 2
asus_nb_wmi 28672 0
asus_wireless 16384 0
asus_wmi 28672 1 asus_nb_wmi
ath10k_core 360448 1 ath10k_pci
ath10k_pci 45056 0
ath 28672 1 ath10k_core
autofs4 40960 2
binfmt_misc 20480 1
bluetooth 548864 33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
bnep 20480 2
btbcm 16384 1 btusb
btintel 16384 1 btusb
btrfs 1122304 0
btrtl 16384 1 btusb
btusb 45056 0
cfg80211 622592 3 ath,mac80211,ath10k_core
cmac 16384 1
coretemp 16384 0
crc32_pclmul 16384 0
crct10dif_pclmul 16384 0
cryptd 24576 159 crypto_simd,ghash_clmulni_intel,aesni_intel
crypto_simd 16384 1 aesni_intel
cuse 16384 3
dm_crypt 40960 1
drm 401408 15 drm_kms_helper,i915
drm_kms_helper 167936 1 i915
dw_dmac 16384 0
dw_dmac_core 24576 1 dw_dmac
ecdh_generic 24576 2 bluetooth
elan_i2c 36864 0
fb_sys_fops 16384 1 drm_kms_helper
ghash_clmulni_intel 16384 0
glue_helper 16384 1 aesni_intel
hfs 57344 0
hfsplus 106496 0
hid 118784 2 i2c_hid,hid_multitouch
hid_multitouch 20480 0
i2c_algo_bit 16384 1 i915
i2c_hid 20480 0
i2c_mux 16384 1 inv_mpu6050_i2c
i915 1617920 21
industrialio 69632 4 industrialio_triggered_buffer,inv_mpu6050,kfifo_buf,ak8975
industrialio_triggered_buffer 16384 2 inv_mpu6050,ak8975
input_leds 16384 0
int3400_thermal 16384 0
int340x_thermal_zone 16384 1 processor_thermal_device
intel_cstate 20480 0
intel_int0002_vgpio 16384 1
intel_powerclamp 16384 0
intel_rapl 20480 0
intel_soc_dts_iosf 16384 1 processor_thermal_device
inv_mpu6050 20480 2 inv_mpu6050_i2c
inv_mpu6050_i2c 16384 0
ip_tables 28672 0
irqbypass 16384 1 kvm
jfs 188416 0
joydev 24576 0
kfifo_buf 16384 1 industrialio_triggered_buffer
kvm 598016 1 kvm_intel
kvm_intel 212992 0
libcrc32c 16384 1 xfs
lp 20480 0
lpc_ich 24576 0
mac80211 778240 1 ath10k_core
mac_hid 16384 0
media 40960 2 videodev,uvcvideo
mei 90112 1 mei_txe
mei_txe 20480 0
minix 32768 0
mmc_block 36864 4
Module Size Used by
msdos 20480 0
nls_iso8859_1 16384 1
ntfs 102400 0
parport 49152 3 parport_pc,lp,ppdev
parport_pc 36864 0
pcbc 16384 0
ppdev 20480 0
processor_thermal_device 16384 0
punit_atom_debug 16384 0
pwm_lpss 16384 1 pwm_lpss_platform
pwm_lpss_platform 16384 0
qnx4 16384 0
raid6_pq 114688 1 btrfs
rfcomm 77824 4
sch_fq_codel 20480 5
sdhci 49152 1 sdhci_acpi
sdhci_acpi 16384 0
serio_raw 16384 0
shpchp 36864 0
snd 81920 23 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
snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 49152 1
snd_hda_codec_realtek 106496 1
snd_hda_core 81920 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel 40960 6
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 98304 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 65536 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_timer 32768 2 snd_seq,snd_pcm
soundcore 16384 1 snd
sparse_keymap 16384 1 asus_wmi
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
ufs 77824 0
uvcvideo 86016 0
video 45056 2 asus_wmi,i915
videobuf2_core 40960 2 videobuf2_v4l2,uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
videobuf2_vmalloc 16384 1 uvcvideo
videodev 184320 3 videobuf2_core,videobuf2_v4l2,uvcvideo
wmi 24576 1 asus_wmi
xfs 1200128 0
xor 24576 1 btrfs
x_tables 40960 1 ip_tables
zram 24576 2
zstd_compress 163840 1 btrfs
>> iwconfig
wlp2s0 IEEE 802.11 ESSID:"BNF"
Mode:Managed Frequency:5.18 GHz Access Point: B4:5D:50:CF:41:B0
Bit Rate=6 Mb/s Tx-Power=30 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=52/70 Signal level=-58 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:359 Missed beacon:0
>> ifconfig -a
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 1540 bytes 147221 (147.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1540 bytes 147221 (147.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.1.26.127 netmask 255.255.254.0 broadcast 10.1.27.255
inet6 fe80::6c02:6e3a:f5dd:29b7 prefixlen 64 scopeid 0x20<link>
ether 80:a5:89:02:26:5d txqueuelen 1000 (Ethernet)
RX packets 45243 bytes 28676203 (28.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5292 bytes 1189757 (1.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
(Toutes ces commandes étant passées alors que je viens de redémarrer l'ordinateur, donc pas en sortie de veille - mais je ne sais pas si ça change quoi que ce soit)
J'ai regardé un peu sur le forum, j'ai essayé des solutions proposées, mais pour le moment rien n'y fait. Comme je suis loin d'être un pro d'ubuntu, je me dis qu'il y a peut-être un truc que j'adapte mal à mon propre ordinateur. Si une bonne âme veut bien me guider dans le chemin tortueux qui me mènera vers un ordinateur qui fonctionne, je lui en serais très reconnaissant !
EDIT : solution trouvée en #59, par NicoApi73.