Pour résumer, le Wifi ne se lance pas au démarrage et je dois le lancer manuellement. Il s'arrête ensuite rapidement, parfois au bout de quelques secondes, puis je le relance, puis il s'arrête, et ainsi de suite, depuis ce matin. J'utilise un VPN, qui se déconnecte parfois, mais sans déconnecter le Wifi lui-même. Dans tous les cas, l'icône Wifi et l'icône VPN restent en mode recherche (avec les trois points), de même que les Paramètres de Gnome et nm-connection-editor me dit que ma connexion Wifi n'a pas été utilisée depuis 21 heures (j'ai mis mon PC en veille à ce moment-là, et tout fonctionnait bien alors). Ce matin, en sortie de veille, le problème est apparu, et redémarrer n'a servi à rien.
Par contre, pour lui j'utilise la connexion virbr0, (qui se connectait sans VPN...). Je n'utilise pas de machine virtuelle du tout, et n'en ai aucune installée sur le PC, même si Gnome Machines est présent. La désactiver à l'aide de ifconfig ne change rien.
De plus, le VPN ne fonctionne clairement pas car mon adresse IP passe en clair.
Voici ce que journalctl me donne (j'ai anonymisé certaines données avec «XXXX»), lors de la dernière déconnexion (pas de message lors des trois minutes précédentes):
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <error> [1623876956.2705] vpn-connection[XXXX,"ProtonVPN FR#XXXX",0]: Failed to request VPN secrets #3: No agents were available for this request.
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.2723] device (wlp1s0): state change: secondaries -> failed (reason 'secondary-connection-failed', sys-iface-state: 'managed')
juin 16 22:55:56 localhost.localdomain kernel: wlp1s0: deauthenticating from XXXX by local choice (Reason: 3=DEAUTH_LEAVING)
juin 16 22:55:56 localhost.localdomain wpa_supplicant[984]: wlp1s0: CTRL-EVENT-DISCONNECTED bssid=70:fc:8f:3c:9e:ed reason=3 locally_generated=1
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Interface wlp1s0.IPv6 no longer relevant for mDNS.
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Leaving mDNS multicast group on interface wlp1s0.IPv6 with address XXXX.
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Interface wlp1s0.IPv4 no longer relevant for mDNS.
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Leaving mDNS multicast group on interface wlp1s0.IPv4 with address 192.168.1.13.
juin 16 22:55:56 localhost.localdomain wpa_supplicant[984]: dbus: wpa_dbus_property_changed: no property SessionLength in object /fi/w1/wpa_supplicant1/Interfaces/0
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Withdrawing address record for fe80::2335:f52e:6695:b295 on wlp1s0.
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3234] device (wlp1s0): set-hw-addr: set MAC address to XXXX (scanning)
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Withdrawing address record for 192.168.1.13 on wlp1s0.
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Joining mDNS multicast group on interface wlp1s0.IPv4 with address 192.168.1.13.
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: New relevant interface wlp1s0.IPv4 for mDNS.
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Registering new address record for 192.168.1.13 on wlp1s0.IPv4.
juin 16 22:55:56 localhost.localdomain wpa_supplicant[984]: wlp1s0: Reject scan trigger since one is already pending
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <warn> [1623876956.3408] device (wlp1s0): Activation: failed for connection 'Freebox-XXXX'
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3584] device (wlp1s0): supplicant interface state: completed -> interface_disabled
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3585] device (p2p-dev-wlp1s0): supplicant management interface state: completed -> interface_disabled
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3587] device (wlp1s0): supplicant interface state: interface_disabled -> scanning
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3588] device (p2p-dev-wlp1s0): supplicant management interface state: interface_disabled -> scanning
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3634] vpn-connection[XXXX,"ProtonVPN FR#XXXX",0]: VPN plugin: state changed: stopped (6)
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3705] vpn-connection[XXXX,"ProtonVPN FR#XXXX",0]: VPN service disappeared
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3863] device (wlp1s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
juin 16 22:55:56 localhost.localdomain audit[801]: NETFILTER_CFG table=firewalld:1;filter_INPUT_ZONES:257 family=1 entries=499 op=nft_unregister_rule pid=801 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
juin 16 22:55:56 localhost.localdomain audit[801]: NETFILTER_CFG table=firewalld:1;filter_FORWARD_OUT_ZONES:272 family=1 entries=500 op=nft_unregister_rule pid=801 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
juin 16 22:55:56 localhost.localdomain audit[801]: NETFILTER_CFG table=firewalld:2;nat_POSTROUTING_ZONES:95 family=2 entries=179 op=nft_unregister_rule pid=801 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
juin 16 22:55:56 localhost.localdomain audit[801]: NETFILTER_CFG table=firewalld:3;nat_POSTROUTING_ZONES:95 family=10 entries=179 op=nft_unregister_rule pid=801 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
juin 16 22:55:56 localhost.localdomain audit[801]: NETFILTER_CFG table=firewalld:1;filter_FORWARD_IN_ZONES:270 family=1 entries=501 op=nft_unregister_rule pid=801 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
juin 16 22:55:56 localhost.localdomain audit[801]: NETFILTER_CFG table=firewalld:2;nat_PREROUTING_ZONES:88 family=2 entries=180 op=nft_unregister_rule pid=801 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
juin 16 22:55:56 localhost.localdomain audit[801]: NETFILTER_CFG table=firewalld:3;nat_PREROUTING_ZONES:88 family=10 entries=180 op=nft_unregister_rule pid=801 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
juin 16 22:55:56 localhost.localdomain audit[801]: NETFILTER_CFG table=firewalld:1;mangle_PREROUTING_ZONES:244 family=1 entries=502 op=nft_unregister_rule pid=801 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
juin 16 22:55:56 localhost.localdomain audit[801]: NETFILTER_CFG table=?:0;?:0 family=0 entries=28 op=nft_register_gen pid=801 subj=system_u:system_r:firewalld_t:s0 comm="firewalld"
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3950] dhcp4 (wlp1s0): canceled DHCP transaction
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3951] dhcp4 (wlp1s0): state changed bound -> terminated
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3955] dhcp6 (wlp1s0): canceled DHCP transaction
juin 16 22:55:56 localhost.localdomain NetworkManager[927]: <info> [1623876956.3956] dhcp6 (wlp1s0): state changed timeout -> terminated
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Withdrawing address record for 192.168.1.13 on wlp1s0.
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Leaving mDNS multicast group on interface wlp1s0.IPv4 with address 192.168.1.13.
juin 16 22:55:56 localhost.localdomain avahi-daemon[799]: Interface wlp1s0.IPv4 no longer relevant for mDNS.
juin 16 22:55:56 localhost.localdomain wpa_supplicant[984]: wlp1s0: Reject scan trigger since one is already pending
juin 16 22:55:56 localhost.localdomain systemd-resolved[777]: wlp1s0: Bus client set default route setting: no
juin 16 22:55:56 localhost.localdomain systemd-resolved[777]: wlp1s0: Bus client reset DNS server list.
juin 16 22:55:57 localhost.localdomain geoclue[1380]: Failed to create query: No WiFi networks found
juin 16 22:55:57 localhost.localdomain NetworkManager[927]: <info> [1623876957.6068] device (wlp1s0): supplicant interface state: scanning -> disconnected
juin 16 22:55:57 localhost.localdomain NetworkManager[927]: <info> [1623876957.6071] device (p2p-dev-wlp1s0): supplicant management interface state: scanning -> disconnected
juin 16 22:55:58 localhost.localdomain gnome-shell[1915]: libinput error: event4 - Logitech M570: client bug: event processing lagging behind by 23ms, your system is too slow
juin 16 22:56:01 localhost.localdomain geoclue[1380]: Failed to query location: Error resolving “location.services.mozilla.com”: Nom ou service inconnu
juin 16 22:56:02 localhost.localdomain brave-browser.desktop[3670]: [3671:3716:0616/225602.091777:ERROR:get_updates_processor.cc(255)] PostClientToServerMessage() failed during GetUpdates with error 2
juin 16 22:56:20 localhost.localdomain gnome-shell[1915]: JS ERROR: status_code=2 reason_phrase=Erreur de résolution de « api.coinbase.com » : Nom ou service inconnu method=GET uri=https://api.coinbase.com/v2/exchange-rates?currency=ETH
HTTPError@/home/nicolas/.local/share/gnome-shell/extensions/bitcoin-markets@ottoallmendinger.github.com/extension.js:135:26
getJSON/</<@/home/nicolas/.local/share/gnome-shell/extensions/bitcoin-markets@ottoallmendinger.github.com/extension.js:200:33
juin 16 22:56:20 localhost.localdomain gnome-shell[1915]: JS ERROR: status_code=2 reason_phrase=Erreur de résolution de « api.coinbase.com » : Nom ou service inconnu method=GET uri=https://api.coinbase.com/v2/exchange-rates?currency=ETH
HTTPError@/home/nicolas/.local/share/gnome-shell/extensions/bitcoin-markets@ottoallmendinger.github.com/extension.js:135:26
getJSON/</<@/home/nicolas/.local/share/gnome-shell/extensions/bitcoin-markets@ottoallmendinger.github.com/extension.js:200:33
juin 16 22:56:47 localhost.localdomain brave-browser.desktop[3670]: [3671:3716:0616/225647.103318:ERROR:get_updates_processor.cc(255)] PostClientToServerMessage() failed during GetUpdates with er
J'ai cherché un peu, et beaucoup d'informations datent, mais Network Manager semble être le coupable. Le site suivant conseille de désactiver l'IPV6:
https://unix.stackexchange.com/questions/588333/networkmanager-keeps-connecting-and-disconnecting-how-can-i-fix-this, sauf que désactiver l'IPV6 ne change absolument rien (même en ayant au préalable désactivé le Wifi).
Merci d'avance!
Il est à noter que ce n'est pas la première fois que j'ai ce genre de souci. Une petite mise à jour par là, et le problème revient, sous des versions de Fedora différentes. À force de rechercher ici et là, je commence à me demander si network-manager n'a pas un gros problème de conception.