Hi. I’m having weird problem with NetworkManager. After reboot, suspend or even toggling wifi on/off in UI, Network Manager doesn’t list any connections and can’t connect. BUT if I run iw wlp3s0 scan
, it jolts into action and connects correctly. It also lists wifis but only temporarily - after few minutes it only lists active connection.
Here is some info (state before I run iw scan):
ip link
2: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state DORMANT mode DORMANT group default qlen 1000
link/ether 1c:87:2c:b8:b8:c9 brd ff:ff:ff:ff:ff:ff
nmcli d
DEVICE TYPE STATE CONNECTION
wlp3s0 wifi disconnected --
nmcli d show wlp3s0
GENERAL.DEVICE: wlp3s0
GENERAL.TYPE: wifi
GENERAL.HWADDR: 1C:87:2C:B8:B8:C9
GENERAL.MTU: 1500
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.GATEWAY: --
IP6.GATEWAY: --
nmcli d wifi list --rescan yes
-- returns empty list
nmcli c up MyWifi --ask
Error: Connection activation failed: The Wi-Fi network could not be found
device (wlp3s0): Activation: (wifi) association took too long, failing activation
journalctl after it’s connected and I toggle wifi:
Aug 11 10:47:27 fedora NetworkManager[4486]: <info> [1723366047.2030] manager: rfkill: Wi-Fi now enabled by radio killswitch
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2033] manager: (wlp3s0): rfkill: setting radio enabled
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2219] supplicant: create-iface[491f10a378d59bbd]: interface /fi/w1/wpa_supplicant1/Interfaces/5 on :1.22 created (created by us)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2220] sup-iface[9c8963c0b2df9a7e,5,???]: new supplicant interface /fi/w1/wpa_supplicant1/Interfaces/5 on :1.22
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2249] sup-iface[9c8963c0b2df9a7e,5,???]: supports 1 scan SSIDs (scan: +active +ssid)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2254] sup-iface[9c8963c0b2df9a7e,5,wlp3s0]: state: disconnected (was internal-invalid, plain property)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2256] sup-iface[9c8963c0b2df9a7e,5,wlp3s0]: supplicant interface for ifindex=2, ifname="wlp3s0", driver="nl80211" (requested nl80211,wext)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2257] sup-iface[9c8963c0b2df9a7e,5,wlp3s0]: interface supported features: AP? FT- SAE- BIP+
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2257] sup-iface[9c8963c0b2df9a7e,5,wlp3s0]: state: set state "disconnected" (was "internal-starting")
Aug 11 10:47:27 fedora NetworkManager[4486]: <info> [1723366047.2258] device (wlp3s0): supplicant interface state: internal-starting -> disconnected
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2258] device[45333d9aa0da786e] (wlp3s0): supplicant ready
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2258] device[45333d9aa0da786e] (wlp3s0): add_pending_action (2): 'recheck-available'
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2258] device[45333d9aa0da786e] (wlp3s0): remove_pending_action (1): 'waiting-for-supplicant'
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2259] device[45333d9aa0da786e] (wlp3s0): add_pending_action (2): 'queued-state-change-disconnected'
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2259] device[45333d9aa0da786e] (wlp3s0): queue-state[disconnected, reason:supplicant-available, id:3687]: queue state change
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2259] device[45333d9aa0da786e] (wlp3s0): is available, will transition to disconnected
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2259] device[45333d9aa0da786e] (wlp3s0): remove_pending_action (1): 'recheck-available'
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2259] device[45333d9aa0da786e] (wlp3s0): queue-state[disconnected, reason:supplicant-available, id:3687]: change state
Aug 11 10:47:27 fedora NetworkManager[4486]: <info> [1723366047.2259] device (wlp3s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2259] device[45333d9aa0da786e] (wlp3s0): add_pending_action (2): 'in-state-change'
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2260] device[45333d9aa0da786e] (wlp3s0): ip6: addrgenmode6: set none (already set)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2260] device[45333d9aa0da786e] (wlp3s0): ip6: addrgenmode6: toggle disable_ipv6 sysctl after disabling addr-gen-mode
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2261] platform-linux: sysctl: reading '/proc/sys/net/ipv6/conf/wlp3s0/disable_ipv6': '0'
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2261] platform-linux: sysctl: setting '/proc/sys/net/ipv6/conf/wlp3s0/disable_ipv6' to '1' (current value is '0')
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2263] platform-linux: sysctl: setting '/proc/sys/net/ipv6/conf/wlp3s0/disable_ipv6' to '0' (current value is '1')
ug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2263] platform-linux: sysctl: setting '/proc/sys/net/ipv6/conf/wlp3s0/disable_ipv6' to '0' (current value is identical)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2264] platform-linux: sysctl: setting '/proc/sys/net/ipv6/conf/wlp3s0/accept_ra' to '0' (current value is identical)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2264] platform-linux: sysctl: setting '/proc/sys/net/ipv6/conf/wlp3s0/use_tempaddr' to '0' (current value is identical)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2270] config: device-state: write #2 (/run/NetworkManager/devices/2); managed=managed, route-metric-default=0-0
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2270] device[45333d9aa0da786e] (wlp3s0): wifi-scan: scan-periodic-allowed=1, scan-explicit-allowed=1
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2270] device[45333d9aa0da786e] (wlp3s0): wifi-scan: start periodic scan (0 SSIDs to probe scan)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2270] device[45333d9aa0da786e] (wlp3s0): wifi-scan: kickoff: periodic scan starting (next scan is scheduled in 3.000 sec)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2271] sup-iface[9c8963c0b2df9a7e,5,wlp3s0]: request-scan: request scanning (0 ssids)...
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2272] device[45333d9aa0da786e] (wlp3s0): wifi-scan: scanning-state: scanning
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2272] device[45333d9aa0da786e] (wlp3s0): add_pending_action (3): 'wifi-scan'
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2273] device[45333d9aa0da786e] (wlp3s0): wifi-scan: kickoff: don't scan (has scan_request_cancellable)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2273] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv4] periodic-check: re-scheduled in 1000 milliseconds (1 seconds interval)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2273] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv4] start check (seq:223, periodic-check)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2273] connectivity: (wlp3s0,IPv4,223) skip connectivity check due to no IP address configured
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2273] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv6] periodic-check: re-scheduled in 1000 milliseconds (1 seconds interval)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2274] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv6] start check (seq:224, periodic-check)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2274] connectivity: (wlp3s0,IPv6,224) skip connectivity check due to no IP address configured
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2274] device[45333d9aa0da786e] (wlp3s0): remove_pending_action (2): 'in-state-change'
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2274] device[45333d9aa0da786e] (wlp3s0): remove_pending_action (1): 'queued-state-change-disconnected'
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2274] platform-linux: event-notification: RTM_DELROUTE, flags 0, seq 0: ignore
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2275] connectivity: (wlp3s0,IPv4,223) check completed: NONE; no IP address configured
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2275] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv4] complete check (seq:223, state:NONE)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2275] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv4] periodic-check: re-scheduled in 1999 milliseconds (2 seconds interval)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.2275] connectivity: (wlp3s0,IPv6,224) check completed: NONE; no IP address configured
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2275] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv6] complete check (seq:224, state:NONE)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2275] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv6] periodic-check: re-scheduled in 1999 milliseconds (2 seconds interval)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2279] sup-iface[9c8963c0b2df9a7e,5,wlp3s0]: request-scan: request scanning success
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.2279] device[45333d9aa0da786e] (wlp3s0): wifi-scan: scan request completed (D-Bus request)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.7289] device[45333d9aa0da786e] (wlp3s0): wifi-scan: scan request completed (after extra delay)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.7290] device[45333d9aa0da786e] (wlp3s0): wifi-scan: scanning-state: idle (notify last-scan)
Aug 11 10:47:27 fedora NetworkManager[4486]: <trace> [1723366047.7291] device[45333d9aa0da786e] (wlp3s0): wifi-scan: kickoff: don't scan (rate limited for another 0.998 sec, schedule timeout)
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.7291] device[45333d9aa0da786e] (wlp3s0): add_pending_action (2): 'autoactivate'
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.7291] device[45333d9aa0da786e] (wlp3s0): remove_pending_action (1): 'wifi-scan'
Aug 11 10:47:27 fedora NetworkManager[4486]: <debug> [1723366047.7292] device[45333d9aa0da786e] (wlp3s0): remove_pending_action (0): 'autoactivate'
Aug 11 10:47:28 fedora NetworkManager[4486]: <trace> [1723366048.4120] device[45333d9aa0da786e] (wlp3s0): stats: refresh 2
Aug 11 10:47:28 fedora NetworkManager[4486]: <debug> [1723366048.4120] platform-linux: do-request-link: 2
Aug 11 10:47:28 fedora NetworkManager[4486]: <trace> [1723366048.4121] platform-linux: event-notification: RTM_NEWLINK, flags 0, seq 576: 2: wlp3s0 <UP,LOWER_UP;broadcast,multicast,up,lowerup> mtu 1500 arp 1 wifi? not-init addrgenmode none addr 1C:87:2C:B8:B8:C9 permad>
Aug 11 10:47:28 fedora NetworkManager[4486]: <trace> [1723366048.7273] device[45333d9aa0da786e] (wlp3s0): wifi-scan: kickoff: don't scan (periodic scan waiting for another 1.499 sec, schedule timeout)
Aug 11 10:47:29 fedora NetworkManager[4486]: <trace> [1723366049.2279] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv4] periodic-check: re-scheduled in 1999 milliseconds (2 seconds interval)
Aug 11 10:47:29 fedora NetworkManager[4486]: <trace> [1723366049.2280] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv4] start check (seq:225, periodic-check)
Aug 11 10:47:29 fedora NetworkManager[4486]: <debug> [1723366049.2281] connectivity: (wlp3s0,IPv4,225) skip connectivity check due to no IP address configured
Aug 11 10:47:29 fedora NetworkManager[4486]: <trace> [1723366049.2281] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv6] periodic-check: re-scheduled in 1999 milliseconds (2 seconds interval)
Aug 11 10:47:29 fedora NetworkManager[4486]: <trace> [1723366049.2281] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv6] start check (seq:226, periodic-check)
Aug 11 10:47:29 fedora NetworkManager[4486]: <debug> [1723366049.2281] connectivity: (wlp3s0,IPv6,226) skip connectivity check due to no IP address configured
Aug 11 10:47:29 fedora NetworkManager[4486]: <debug> [1723366049.2282] connectivity: (wlp3s0,IPv4,225) check completed: NONE; no IP address configured
Aug 11 10:47:29 fedora NetworkManager[4486]: <trace> [1723366049.2282] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv4] complete check (seq:225, state:NONE)
Aug 11 10:47:29 fedora NetworkManager[4486]: <trace> [1723366049.2282] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv4] periodic-check: re-scheduled in 3999 milliseconds (4 seconds interval)
Aug 11 10:47:29 fedora NetworkManager[4486]: <debug> [1723366049.2283] connectivity: (wlp3s0,IPv6,226) check completed: NONE; no IP address configured
Aug 11 10:47:29 fedora NetworkManager[4486]: <trace> [1723366049.2283] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv6] complete check (seq:226, state:NONE)
Aug 11 10:47:29 fedora NetworkManager[4486]: <trace> [1723366049.2283] device[45333d9aa0da786e] (wlp3s0): connectivity: [IPv6] periodic-check: re-scheduled in 3999 milliseconds (4 seconds interval)
Aug 11 10:47:30 fedora NetworkManager[4486]: <trace> [1723366050.4133] device[45333d9aa0da786e] (wlp3s0): stats: refresh 2
Aug 11 10:47:30 fedora NetworkManager[4486]: <debug> [1723366050.4134] platform-linux: do-request-link: 2
Aug 11 10:47:30 fedora NetworkManager[4486]: <trace> [1723366050.4136] platform-linux: event-notification: RTM_NEWLINK, flags 0, seq 577: 2: wlp3s0 <UP,LOWER_UP;broadcast,multicast,up,lowerup> mtu 1500 arp 1 wifi? not-init addrgenmode none addr 1C:87:2C:B8:B8:C9 permad>