V
V
Vadim2021-12-23 23:57:08
linux
Vadim, 2021-12-23 23:57:08

How to fix Activation Network Connection failed in Ubuntu 20.04?

when connecting to some wi-fi networks (in particular, to wi-fi networks of an access point from a mobile phone), a window pops up with the above error.

lspci -v
        05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
  Subsystem: Intel Corporation Wi-Fi 6 AX200
  Flags: bus master, fast devsel, latency 0, IRQ 18
  Memory at a7600000 (64-bit, non-prefetchable) [size=16K]
  Capabilities: [c8] Power Management version 3
  Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
  Capabilities: [40] Express Endpoint, MSI 00
  Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
  Capabilities: [100] Advanced Error Reporting
  Capabilities: [14c] Latency Tolerance Reporting
  Capabilities: [154] L1 PM Substates
  Kernel driver in use: iwlwifi
  Kernel modules: iwlwifi


during connection
dmesg -w
[  745.159137] wlp5s0: authenticate with 17:45:62:02:53:29
[  745.161676] wlp5s0: send auth to 17:45:62:02:53:29 (try 1/3)
[  746.060782] iwlwifi 0000:05:00.0: Not associated and the session protection is over already...
[  746.060824] wlp5s0: Connection to AP 17:45:62:02:53:29 lost
[  746.131097] wlp5s0: send auth to 17:45:62:02:53:29 (try 2/3)
[  747.030108] iwlwifi 0000:05:00.0: Not associated and the session protection is over already...
[  747.030182] wlp5s0: Connection to AP 17:45:62:02:53:29 lost
[  747.091149] wlp5s0: send auth to 17:45:62:02:53:29 (try 3/3)
[  747.990126] iwlwifi 0000:05:00.0: Not associated and the session protection is over already...
[  747.990209] wlp5s0: Connection to AP 17:45:62:02:53:29 lost
[  748.146796] wlp5s0: authentication with 17:45:62:02:53:29 timed out


and logs from syslog:
Dec 24 00:51:09 my-host wpa_supplicant[998]: wlp5s0: Reject scan trigger since one is already pending
Dec 24 00:51:09 my-host wpa_supplicant[998]: wlp5s0: Failed to initiate AP scan
Dec 24 00:51:10 my-host NetworkManager[959]: <info>  [1640292670.8285] device (wlp5s0): supplicant interface state: disconnected -> scanning
Dec 24 00:51:10 my-host NetworkManager[959]: <info>  [1640292670.8286] device (p2p-dev-wlp5s0): supplicant management interface state: disconnected -> scanning
Dec 24 00:51:11 my-host gnome-shell[2583]: [2576:2607:1224/005111.792560:ERROR:connection_factory_impl.cc(429)] Failed to connect to MCS endpoint with error -106
Dec 24 00:51:12 my-host wpa_supplicant[998]: wlp5s0: SME: Trying to authenticate with 17:45:62:02:53:29 (SSID='Xperia_XZ1' freq=2462 MHz)
Dec 24 00:51:12 my-host kernel: [  959.597740] wlp5s0: authenticate with 17:45:62:02:53:29
Dec 24 00:51:12 my-host kernel: [  959.600498] wlp5s0: send auth to 17:45:62:02:53:29 (try 1/3)
Dec 24 00:51:12 my-host NetworkManager[959]: <info>  [1640292672.8832] device (wlp5s0): supplicant interface state: scanning -> authenticating
Dec 24 00:51:12 my-host NetworkManager[959]: <info>  [1640292672.8834] device (p2p-dev-wlp5s0): supplicant management interface state: scanning -> authenticating
Dec 24 00:51:13 my-host kernel: [  960.147015] wlp5s0: send auth to 17:45:62:02:53:29 (try 2/3)
Dec 24 00:51:14 my-host kernel: [  961.046132] iwlwifi 0000:05:00.0: Not associated and the session protection is over already...
Dec 24 00:51:14 my-host kernel: [  961.046165] wlp5s0: Connection to AP 17:45:62:02:53:29 lost
Dec 24 00:51:14 my-host kernel: [  961.171010] wlp5s0: send auth to 17:45:62:02:53:29 (try 3/3)
Dec 24 00:51:15 my-host kernel: [  962.070036] iwlwifi 0000:05:00.0: Not associated and the session protection is over already...
Dec 24 00:51:15 my-host kernel: [  962.070068] wlp5s0: Connection to AP 17:45:62:02:53:29 lost
Dec 24 00:51:15 my-host kernel: [  962.130708] wlp5s0: authentication with 17:45:62:02:53:29 timed out
Dec 24 00:51:15 my-host NetworkManager[959]: <info>  [1640292675.4316] device (wlp5s0): supplicant interface state: authenticating -> disconnected
Dec 24 00:51:15 my-host NetworkManager[959]: <info>  [1640292675.4317] device (p2p-dev-wlp5s0): supplicant management interface state: authenticating -> disconnected
Dec 24 00:51:15 my-host NetworkManager[959]: <info>  [1640292675.5317] device (wlp5s0): supplicant interface state: disconnected -> scanning
Dec 24 00:51:15 my-host NetworkManager[959]: <info>  [1640292675.5318] device (p2p-dev-wlp5s0): supplicant management interface state: disconnected -> scanning
Dec 24 00:51:17 my-host wpa_supplicant[998]: wlp5s0: SME: Trying to authenticate with 17:45:62:02:53:29 (SSID='Xperia_XZ1' freq=2462 MHz)
Dec 24 00:51:17 my-host kernel: [  964.557977] wlp5s0: authenticate with 17:45:62:02:53:29
Dec 24 00:51:17 my-host kernel: [  964.561218] wlp5s0: send auth to 17:45:62:02:53:29 (try 1/3)
Dec 24 00:51:17 my-host NetworkManager[959]: <info>  [1640292677.8379] device (wlp5s0): supplicant interface state: scanning -> authenticating
Dec 24 00:51:17 my-host NetworkManager[959]: <info>  [1640292677.8380] device (p2p-dev-wlp5s0): supplicant management interface state: scanning -> authenticating
Dec 24 00:51:18 my-host kernel: [  965.174980] wlp5s0: send auth to 17:45:62:02:53:29 (try 2/3)
Dec 24 00:51:19 my-host kernel: [  966.073987] iwlwifi 0000:05:00.0: Not associated and the session protection is over already...
Dec 24 00:51:19 my-host kernel: [  966.074374] wlp5s0: Connection to AP 17:45:62:02:53:29 lost
Dec 24 00:51:19 my-host kernel: [  966.195097] wlp5s0: send auth to 17:45:62:02:53:29 (try 3/3)
Dec 24 00:51:20 my-host kernel: [  967.094078] iwlwifi 0000:05:00.0: Not associated and the session protection is over already...
Dec 24 00:51:20 my-host kernel: [  967.094161] wlp5s0: Connection to AP 17:45:62:02:53:29 lost
Dec 24 00:51:20 my-host kernel: [  967.186927] wlp5s0: authentication with 17:45:62:02:53:29 timed out
Dec 24 00:51:20 my-host systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Dec 24 00:51:20 my-host NetworkManager[959]: <info>  [1640292680.4943] device (wlp5s0): supplicant interface state: authenticating -> disconnected
Dec 24 00:51:20 my-host NetworkManager[959]: <info>  [1640292680.4943] device (p2p-dev-wlp5s0): supplicant management interface state: authenticating -> disconnected
Dec 24 00:51:20 my-host NetworkManager[959]: <info>  [1640292680.9953] device (wlp5s0): supplicant interface state: disconnected -> scanning
Dec 24 00:51:20 my-host NetworkManager[959]: <info>  [1640292680.9954] device (p2p-dev-wlp5s0): supplicant management interface state: disconnected -> scanning
Dec 24 00:51:24 my-host systemd[1]: systemd-hostnamed.service: Succeeded.
Dec 24 00:51:35 my-host NetworkManager[959]: <warn>  [1640292695.4737] device (wlp5s0): Activation: (wifi) association took too long, failing activation
Dec 24 00:51:35 my-host NetworkManager[959]: <info>  [1640292695.4738] device (wlp5s0): state change: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Dec 24 00:51:35 my-host NetworkManager[959]: <info>  [1640292695.4747] manager: NetworkManager state is now CONNECTED_LOCAL
Dec 24 00:51:35 my-host NetworkManager[959]: <warn>  [1640292695.4777] device (wlp5s0): Activation: failed for connection 'Xperia_XZ1'
Dec 24 00:51:35 my-host NetworkManager[959]: <info>  [1640292695.4788] device (wlp5s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Dec 24 00:51:35 my-host wpa_supplicant[998]: wlp5s0: Reject scan trigger since one is already pending
Dec 24 00:51:38 my-host gnome-shell[2583]: [2576:2607:1224/005138.037464:ERROR:connection_factory_impl.cc(429)] Failed to connect to MCS endpoint with error -106


turned off power management for NIC - still does not help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
ambisinister One, 2022-01-03
@ambisinistrone

Translate syslog into Russian and read.
Everything is indicated there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question