[Pkg-utopia-maintainers] Bug#1023004: Bug#1023004: network-manager: does not attempt reconnect after a temporary wifi failure

Vincent Lefevre vincent at vinc17.net
Sun Oct 30 03:27:11 GMT 2022


On 2022-10-29 10:17:09 +0200, Michael Biebl wrote:
> Am 29.10.22 um 01:26 schrieb Vincent Lefevre:
> > Package: network-manager
> > Version: 1.40.2-1
> > Severity: normal
> > 
> > In case of temporary wifi failure, network-manager doesn't try to
> > reconnect. Here are the logs:
> > 
> > Oct 29 00:58:06 zira wpa_supplicant[851]: wlp61s0: CTRL-EVENT-BEACON-LOSS

Note that I get CTRL-EVENT-BEACON-LOSS quite often. In general,
NetworkManager can reconnect, but not always. I could reproduce
the issue:

Oct 30 04:08:02 zira wpa_supplicant[1765023]: wlp61s0: CTRL-EVENT-BEACON-LOSS
Oct 30 04:08:02 zira wpa_supplicant[1765023]: wlp61s0: CTRL-EVENT-BEACON-LOSS
Oct 30 04:08:02 zira wpa_supplicant[1765023]: wlp61s0: CTRL-EVENT-BEACON-LOSS
Oct 30 04:08:02 zira wpa_supplicant[1765023]: wlp61s0: CTRL-EVENT-BEACON-LOSS
Oct 30 04:08:03 zira dhclient[1765928]: DHCPREQUEST for 192.168.43.172 on wlp61s0 to 255.255.255.255 port 67
Oct 30 04:08:03 zira wpa_supplicant[1765023]: wlp61s0: CTRL-EVENT-DISCONNECTED bssid=02:03:aa:bd:c4:e0 reason=4 locally_generated=1
Oct 30 04:08:03 zira wpa_supplicant[1765023]: wlp61s0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
Oct 30 04:08:03 zira wpa_supplicant[1765023]: wlp61s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Cosmo WiFi_3428" auth_failures=1 duration=10 reason=WRONG_KEY
Oct 30 04:08:03 zira wpa_supplicant[1765023]: wlp61s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Oct 30 04:08:03 zira NetworkManager[956]: <info>  [1667099283.2631] device (wlp61s0): supplicant interface state: 4way_handshake -> disconnected
Oct 30 04:08:03 zira NetworkManager[956]: <info>  [1667099283.2632] device (p2p-dev-wlp61s0): supplicant management interface state: 4way_handshake -> disconnected
Oct 30 04:08:03 zira NetworkManager[956]: <info>  [1667099283.3630] device (wlp61s0): supplicant interface state: disconnected -> scanning
Oct 30 04:08:03 zira NetworkManager[956]: <info>  [1667099283.3631] device (p2p-dev-wlp61s0): supplicant management interface state: disconnected -> scanning
Oct 30 04:08:11 zira dhclient[1765928]: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 3
Oct 30 04:08:13 zira NetworkManager[956]: <warn>  [1667099293.9252] device (wlp61s0): link timed out.
Oct 30 04:08:13 zira NetworkManager[956]: <info>  [1667099293.9259] device (wlp61s0): state change: activated -> failed (reason 'supplicant-timeout', sys-iface-state: 'managed')
Oct 30 04:08:13 zira NetworkManager[956]: <info>  [1667099293.9265] manager: NetworkManager state is now DISCONNECTED
Oct 30 04:08:13 zira NetworkManager[956]: <warn>  [1667099293.9274] device (wlp61s0): Activation: failed for connection 'cosmo'

> Can you try with iwd as well?

I've tried, following https://wiki.debian.org/NetworkManager/iwd
but I get

Error: Connection activation failed: (7) Secrets were required, but not provided.

when I want to connect with nmcli.

In any case, NM with iwd would have a similar issue as said on the wiki:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/628

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-utopia-maintainers mailing list