WiFi fails to authenticate several times.
I am using NetworkManager. When my laptop is opened after being suspended, it takes several minutes for the WiFi interface to come up. 'journalctl -f' reports several failed attempts to connect to the WiFi network: ul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.1758] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.1762] device (wlan0): Activation: (wifi) access point 'Bearhouse' has security, but secrets are required. Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.1762] device (wlan0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed') Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.1765] sup-iface[0x55a80ad74130,wlan0]: wps: type pbc start... Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.2047] device (wlan0): supplicant interface state: ready -> disabled Jul 17 08:48:27 viajero NetworkManager[1440]: <warn> [1658065707.2060] device (wlan0): no secrets: No agents were available for this request. Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.2060] device (wlan0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed') Jul 17 08:48:27 viajero NetworkManager[1440]: <warn> [1658065707.2074] device (wlan0): Activation: failed for connection 'Bearhouse' Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.2077] device (wlan0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') I don't understand what is going on here, too many moving parts. What agent is missing? Sometimes the error message mentions authentication taking too long. Fixes and explanation is welcome, Jeffrey
On 17.07.2022 18:07, Jeffrey Taylor wrote:
I am using NetworkManager. When my laptop is opened after being suspended, it takes several minutes for the WiFi interface to come up. 'journalctl -f' reports several failed attempts to connect to the WiFi network:
ul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.1758] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.1762] device (wlan0): Activation: (wifi) access point 'Bearhouse' has security, but secrets are required. Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.1762] device (wlan0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed') Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.1765] sup-iface[0x55a80ad74130,wlan0]: wps: type pbc start... Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.2047] device (wlan0): supplicant interface state: ready -> disabled Jul 17 08:48:27 viajero NetworkManager[1440]: <warn> [1658065707.2060] device (wlan0): no secrets: No agents were available for this request. Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.2060] device (wlan0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed') Jul 17 08:48:27 viajero NetworkManager[1440]: <warn> [1658065707.2074] device (wlan0): Activation: failed for connection 'Bearhouse' Jul 17 08:48:27 viajero NetworkManager[1440]: <info> [1658065707.2077] device (wlan0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
I don't understand what is going on here, too many moving parts. What agent is missing?
NetworkManager supports external secrets agents that store connection authentication data. Normally they are expected to be started as part of your desktop session and either present dialog asking for necessary information or store secrets using your desktop facilities (KWallet, GNOME keyring, etc). If you do not want this, just configure NetworkManager to store secrets in connection definition so that they are always available.
Sometimes the error message mentions authentication taking too long.
Fixes and explanation is welcome, Jeffrey
participants (2)
-
Andrei Borzenkov
-
Jeffrey Taylor