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