You are not logged in.

#1 2022-10-30 15:27:27

user456132
Member
Registered: 2022-08-01
Posts: 14

[SOLVED] Unable to connect to a home 2.4G wifi using NetworkManage

Hello, guys!

Problem
I have a home wifi router that works on two frequencies: 2.4G and 5G, It creates different access points on different frequencies.
I can't connect to the 2.4G access point using NetworkManager (nor cli nor gui).
I faced this problem on other linux distributions as well: ubuntu, kali, manjaro. But it works without issues on windows.

So why exactly NetworkManager?
Well, I don't know if the problem with the NetworkManager itself, but I can connect to that access point via iwd(iwctl).
I don't know how to comment that, it just works as expected.

It would also work with NetworkManager if I set 11n_disable option to 1 for iwlwifi kernel module.
Some people say that 11n_disable=2 or 11n_disable=8 may also work, but it doesn't, only 11n_disable=1.
Why then I created this post if it works with this option set?
Because when I set this option the connection speed just sucks.
It falls down to 100 KB/s, while when I use iwctl and don't use the 11n_disable option (set to 0 by default) the connection speed is about 3 MB/s (my normal connection speed).

So the connection to the access point works if: either a windows sytem, or connection using iwctl, or when iwlwifi option 11n_disable == 1 (but as I said speed sucks), or if I connect to another access point.

Notes:
I have the same problem on my another laptop that also has different wireless adapter (Intel Wireless vs Qualcomm Atheros).
It seems the problem is not with the 2.4G frequency itself, because I also tested my phone's hotspot that also works on 2.4G frequency, and it works without issues.
I also configured my home router to use the same wifi channel as my phone hotspot use, didn't help.

Logs
I attach the output of journalctl starting from the moment of pressing connection button in NetworkManager GUI (KDE plasma) until disconnection due to failure (replaced bssid with 01:23:45:67:89:ab):

Oct 30 16:10:27 host NetworkManager[478]: <info>  [1667139027.9627] device (wlan0): Activation: starting connection 'ruby24' (9a70e4f2-c574-455b-bbce-131c371d1d48)
Oct 30 16:10:27 host audit[478]: USYS_CONFIG pid=478 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-activate uuid=9a70e4f2-c574-455b-bbce-131c371d1d48 name="ruby24" pid=1015 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
Oct 30 16:10:27 host NetworkManager[478]: <info>  [1667139027.9628] audit: op="connection-activate" uuid="9a70e4f2-c574-455b-bbce-131c371d1d48" name="ruby24" pid=1015 uid=1000 result="success"
Oct 30 16:10:27 host NetworkManager[478]: <info>  [1667139027.9628] device (wlan0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Oct 30 16:10:27 host NetworkManager[478]: <info>  [1667139027.9630] manager: NetworkManager state is now CONNECTING
Oct 30 16:10:27 host kernel: audit: type=1111 audit(1667139027.960:88): pid=478 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-activate uuid=9a70e4f2-c574-455b-bbce-131c371d1d48 name="ruby24" pid=1015 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0189] device (wlan0): set-hw-addr: reset MAC address to 6C:94:66:78:EC:10 (preserve)
Oct 30 16:10:28 host dhcpcd[470]: wlan0: old hardware address: 5a:b7:7c:31:b9:d4
Oct 30 16:10:28 host dhcpcd[470]: wlan0: new hardware address: 6c:94:66:78:ec:10
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0216] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0217] device (wlan0): Activation: (wifi) access point 'ruby24' has security, but secrets are required.
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0217] device (wlan0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0218] sup-iface[16f09bc838f6cb5f,0,wlan0]: wps: type pbc start...
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0223] device (wlan0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0224] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0225] device (wlan0): Activation: (wifi) connection 'ruby24' has security, and secrets exist.  No new secrets needed.
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0225] Config: added 'ssid' value 'ruby24'
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0225] Config: added 'scan_ssid' value '1'
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0225] Config: added 'bgscan' value 'simple:30:-70:86400'
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0225] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK SAE FT-SAE'
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0225] Config: added 'auth_alg' value 'OPEN'
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0225] Config: added 'psk' value '<hidden>'
Oct 30 16:10:28 host DiscoverNotifier[1277]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/1”"
Oct 30 16:10:28 host akonadi_maildispatcher_agent[1517]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/1”"
Oct 30 16:10:28 host akonadi_mailmerge_agent[1535]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/1”"
Oct 30 16:10:28 host akonadi_sendlater_agent[1541]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/1”"
Oct 30 16:10:28 host akonadi_notes_agent[1540]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/1”"
Oct 30 16:10:28 host akonadi_followupreminder_agent[1512]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/1”"
Oct 30 16:10:28 host kded5[925]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/1”"
Oct 30 16:10:28 host kdeconnectd[1265]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/1”"
Oct 30 16:10:28 host wpa_supplicant[699]: wlan0: WPS-CANCEL
Oct 30 16:10:28 host wpa_supplicant[699]: wlan0: SME: Trying to authenticate with 01:23:45:67:89:ab (SSID='ruby24' freq=2412 MHz)
Oct 30 16:10:28 host kernel: wlan0: authenticate with 01:23:45:67:89:ab
Oct 30 16:10:28 host kernel: wlan0: bad VHT capabilities, disabling VHT
Oct 30 16:10:28 host kernel: wlan0: Invalid HE elem, Disable HE
Oct 30 16:10:28 host kernel: wlan0: 80 MHz not supported, disabling VHT
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0990] device (wlan0): supplicant interface state: disconnected -> authenticating
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.0990] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> authenticating
Oct 30 16:10:28 host kernel: wlan0: send auth to 01:23:45:67:89:ab (try 1/3)
Oct 30 16:10:28 host wpa_supplicant[699]: wlan0: Trying to associate with 01:23:45:67:89:ab (SSID='ruby24' freq=2412 MHz)
Oct 30 16:10:28 host kernel: wlan0: authenticated
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.1813] device (wlan0): supplicant interface state: authenticating -> associating
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.1813] device (p2p-dev-wlan0): supplicant management interface state: authenticating -> associating
Oct 30 16:10:28 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 1/3)
Oct 30 16:10:28 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 2/3)
Oct 30 16:10:28 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 3/3)
Oct 30 16:10:28 host kernel: wlan0: association with 01:23:45:67:89:ab timed out
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.6107] device (wlan0): supplicant interface state: associating -> disconnected
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.6108] device (p2p-dev-wlan0): supplicant management interface state: associating -> disconnected
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.6668] device (wlan0): supplicant interface state: disconnected -> scanning
Oct 30 16:10:28 host NetworkManager[478]: <info>  [1667139028.6669] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Oct 30 16:10:29 host kwin_x11[926]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15805, resource id: 29360293, major code: 15 (QueryTree), minor code: 0
Oct 30 16:10:30 host wpa_supplicant[699]: wlan0: SME: Trying to authenticate with 01:23:45:67:89:ab (SSID='ruby24' freq=2412 MHz)
Oct 30 16:10:30 host kernel: wlan0: authenticate with 01:23:45:67:89:ab
Oct 30 16:10:30 host kernel: wlan0: bad VHT capabilities, disabling VHT
Oct 30 16:10:30 host kernel: wlan0: Invalid HE elem, Disable HE
Oct 30 16:10:30 host kernel: wlan0: 80 MHz not supported, disabling VHT
Oct 30 16:10:30 host kernel: wlan0: send auth to 01:23:45:67:89:ab (try 1/3)
Oct 30 16:10:30 host NetworkManager[478]: <info>  [1667139030.0948] device (wlan0): supplicant interface state: scanning -> authenticating
Oct 30 16:10:30 host NetworkManager[478]: <info>  [1667139030.0948] device (p2p-dev-wlan0): supplicant management interface state: scanning -> authenticating
Oct 30 16:10:30 host wpa_supplicant[699]: wlan0: Trying to associate with 01:23:45:67:89:ab (SSID='ruby24' freq=2412 MHz)
Oct 30 16:10:30 host kernel: wlan0: send auth to 01:23:45:67:89:ab (try 2/3)
Oct 30 16:10:30 host kernel: wlan0: authenticated
Oct 30 16:10:30 host NetworkManager[478]: <info>  [1667139030.2212] device (wlan0): supplicant interface state: authenticating -> associating
Oct 30 16:10:30 host NetworkManager[478]: <info>  [1667139030.2212] device (p2p-dev-wlan0): supplicant management interface state: authenticating -> associating
Oct 30 16:10:30 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 1/3)
Oct 30 16:10:30 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 2/3)
Oct 30 16:10:30 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 3/3)
Oct 30 16:10:30 host kernel: wlan0: association with 01:23:45:67:89:ab timed out
Oct 30 16:10:30 host NetworkManager[478]: <info>  [1667139030.6471] device (wlan0): supplicant interface state: associating -> disconnected
Oct 30 16:10:30 host NetworkManager[478]: <info>  [1667139030.6472] device (p2p-dev-wlan0): supplicant management interface state: associating -> disconnected
Oct 30 16:10:31 host NetworkManager[478]: <info>  [1667139031.1172] device (wlan0): supplicant interface state: disconnected -> scanning
Oct 30 16:10:31 host NetworkManager[478]: <info>  [1667139031.1173] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Oct 30 16:10:31 host plasmashell[1015]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Oct 30 16:10:33 host plasmashell[1015]: kf.runner: KRunner plugin "org.kde.zanshin" still uses a .desktop file ("plasma-runner-zanshin.desktop"). Please port it to JSON metadata.
Oct 30 16:10:33 host wpa_supplicant[699]: wlan0: SME: Trying to authenticate with 01:23:45:67:89:ab (SSID='ruby24' freq=2412 MHz)
Oct 30 16:10:33 host kernel: wlan0: authenticate with 01:23:45:67:89:ab
Oct 30 16:10:33 host NetworkManager[478]: <info>  [1667139033.6706] device (wlan0): supplicant interface state: scanning -> authenticating
Oct 30 16:10:33 host kernel: wlan0: bad VHT capabilities, disabling VHT
Oct 30 16:10:33 host kernel: wlan0: Invalid HE elem, Disable HE
Oct 30 16:10:33 host kernel: wlan0: 80 MHz not supported, disabling VHT
Oct 30 16:10:33 host kernel: wlan0: send auth to 01:23:45:67:89:ab (try 1/3)
Oct 30 16:10:33 host NetworkManager[478]: <info>  [1667139033.6706] device (p2p-dev-wlan0): supplicant management interface state: scanning -> authenticating
Oct 30 16:10:33 host wpa_supplicant[699]: wlan0: Trying to associate with 01:23:45:67:89:ab (SSID='ruby24' freq=2412 MHz)
Oct 30 16:10:33 host kernel: wlan0: authenticated
Oct 30 16:10:33 host plasmashell[1015]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Oct 30 16:10:33 host plasmashell[1015]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Oct 30 16:10:33 host NetworkManager[478]: <info>  [1667139033.7280] device (wlan0): supplicant interface state: authenticating -> associating
Oct 30 16:10:33 host NetworkManager[478]: <info>  [1667139033.7281] device (p2p-dev-wlan0): supplicant management interface state: authenticating -> associating
Oct 30 16:10:33 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 1/3)
Oct 30 16:10:33 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 2/3)
Oct 30 16:10:33 host dbus-daemon[854]: [session uid=1000 pid=854] Activating via systemd: service name='org.kde.runners.baloo' unit='plasma-baloorunner.service' requested by ':1.17' (uid=1000 pid=1015 comm="/usr/bin/plasmashell --no-respawn")
Oct 30 16:10:33 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 3/3)
Oct 30 16:10:33 host systemd[837]: Starting KRunner provider for baloo file indexer...
Oct 30 16:10:34 host kernel: wlan0: association with 01:23:45:67:89:ab timed out
Oct 30 16:10:34 host dbus-daemon[854]: [session uid=1000 pid=854] Successfully activated service 'org.kde.runners.baloo'
Oct 30 16:10:34 host systemd[837]: Started KRunner provider for baloo file indexer.
Oct 30 16:10:34 host NetworkManager[478]: <info>  [1667139034.1103] device (wlan0): supplicant interface state: associating -> disconnected
Oct 30 16:10:34 host NetworkManager[478]: <info>  [1667139034.1103] device (p2p-dev-wlan0): supplicant management interface state: associating -> disconnected
Oct 30 16:10:34 host kwin_x11[926]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22891, resource id: 29360329, major code: 18 (ChangeProperty), minor code: 0
Oct 30 16:10:34 host kwin_x11[926]: kwin_core: XCB error: 152 (BadDamage), sequence: 22994, resource id: 16779517, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Oct 30 16:10:34 host kwin_x11[926]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23012, resource id: 29360330, major code: 18 (ChangeProperty), minor code: 0
Oct 30 16:10:34 host systemd[837]: Started Falkon - Web Browser.
Oct 30 16:10:35 host plasmashell[2070]: Falkon: Python plugin support initialized
Oct 30 16:10:35 host NetworkManager[478]: <info>  [1667139035.0835] device (wlan0): supplicant interface state: disconnected -> scanning
Oct 30 16:10:35 host NetworkManager[478]: <info>  [1667139035.0835] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'nfs' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'gzip' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'zeroconf' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'recentdocuments' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'xmpp' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'perldoc' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'ghelp' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'sevenz' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'recentlyused' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'activities' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'tags' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'zip' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'aim' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'baloosearch' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'webdav' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'webdavs' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'ldap' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'timeline' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'adiumxtra' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'smb' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'bookmarks' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'ar' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'bluetooth' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'metainfo' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'lzma' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'zstd' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'mtp' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'akonadi' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'remote' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'filenamesearch' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'camera' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'applications' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'gdrive' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'trash' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'cifs' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'ldaps' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'help' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'programs' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'sftp' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'videodvd' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'obexftp' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'kdeconnect' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'xz' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'ms-its' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'fonts' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'bzip' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'info' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'desktop' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'audiocd' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'bzip2' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'thumbnail' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'man' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'fish' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Please register the custom scheme 'tar' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Oct 30 16:10:35 host plasmashell[2070]: Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
Oct 30 16:10:35 host plasmashell[2070]: Falkon: 2 extensions loaded
Oct 30 16:10:35 host kwin_x11[926]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23803, resource id: 16780147, major code: 3 (GetWindowAttributes), minor code: 0
Oct 30 16:10:35 host kwin_x11[926]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 23804, resource id: 16780147, major code: 14 (GetGeometry), minor code: 0
Oct 30 16:10:35 host systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Oct 30 16:10:35 host audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 30 16:10:35 host kernel: audit: type=1131 audit(1667139035.303:89): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 30 16:10:40 host plasmashell[2476]: libpng warning: iCCP: known incorrect sRGB profile
Oct 30 16:10:40 host plasmashell[2476]: libpng warning: iCCP: known incorrect sRGB profile
Oct 30 16:10:43 host plasmashell[1015]: trying to show an empty dialog
Oct 30 16:10:49 host plasmashell[1015]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ExpandedRepresentation.qml:162: TypeError: Cannot read property 'text' of null
Oct 30 16:10:49 host plasmashell[1015]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
Oct 30 16:10:49 host plasmashell[1015]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
Oct 30 16:10:49 host plasmashell[1015]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
Oct 30 16:10:49 host plasmashell[1015]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
Oct 30 16:10:49 host plasmashell[1015]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
Oct 30 16:10:50 host wpa_supplicant[699]: wlan0: SME: Trying to authenticate with 01:23:45:67:89:ab (SSID='ruby24' freq=2412 MHz)
Oct 30 16:10:50 host kernel: wlan0: authenticate with 01:23:45:67:89:ab
Oct 30 16:10:50 host kernel: wlan0: bad VHT capabilities, disabling VHT
Oct 30 16:10:50 host kernel: wlan0: Invalid HE elem, Disable HE
Oct 30 16:10:50 host kernel: wlan0: 80 MHz not supported, disabling VHT
Oct 30 16:10:50 host kernel: wlan0: send auth to 01:23:45:67:89:ab (try 1/3)
Oct 30 16:10:50 host NetworkManager[478]: <info>  [1667139050.5217] device (wlan0): supplicant interface state: scanning -> authenticating
Oct 30 16:10:50 host NetworkManager[478]: <info>  [1667139050.5217] device (p2p-dev-wlan0): supplicant management interface state: scanning -> authenticating
Oct 30 16:10:50 host wpa_supplicant[699]: wlan0: Trying to associate with 01:23:45:67:89:ab (SSID='ruby24' freq=2412 MHz)
Oct 30 16:10:50 host kernel: wlan0: authenticated
Oct 30 16:10:50 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 1/3)
Oct 30 16:10:50 host NetworkManager[478]: <info>  [1667139050.5686] device (wlan0): supplicant interface state: authenticating -> associating
Oct 30 16:10:50 host NetworkManager[478]: <info>  [1667139050.5687] device (p2p-dev-wlan0): supplicant management interface state: authenticating -> associating
Oct 30 16:10:50 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 2/3)
Oct 30 16:10:50 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 3/3)
Oct 30 16:10:50 host kernel: wlan0: association with 01:23:45:67:89:ab timed out
Oct 30 16:10:50 host wpa_supplicant[699]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="ruby24" auth_failures=1 duration=10 reason=CONN_FAILED
Oct 30 16:10:50 host NetworkManager[478]: <info>  [1667139050.9841] device (wlan0): supplicant interface state: associating -> disconnected
Oct 30 16:10:50 host NetworkManager[478]: <info>  [1667139050.9842] device (p2p-dev-wlan0): supplicant management interface state: associating -> disconnected
Oct 30 16:10:52 host NetworkManager[478]: <info>  [1667139052.8715] device (wlan0): disconnecting for new activation request.
Oct 30 16:10:52 host NetworkManager[478]: <info>  [1667139052.8715] device (wlan0): state change: config -> deactivating (reason 'new-activation', sys-iface-state: 'managed')
Oct 30 16:10:52 host NetworkManager[478]: <info>  [1667139052.8717] manager: NetworkManager state is now DISCONNECTING

I also attach the output of journalctl during the connection using iwctl (it works):

Oct 30 17:10:24 host kernel: wlan0: authenticate with 01:23:45:67:89:ab
Oct 30 17:10:24 host kernel: wlan0: bad VHT capabilities, disabling VHT
Oct 30 17:10:24 host kernel: wlan0: Invalid HE elem, Disable HE
Oct 30 17:10:24 host kernel: wlan0: 80 MHz not supported, disabling VHT
Oct 30 17:10:24 host kernel: wlan0: send auth to 01:23:45:67:89:ab (try 1/3)
Oct 30 17:10:24 host kernel: wlan0: authenticated
Oct 30 17:10:24 host kernel: wlan0: associate with 01:23:45:67:89:ab (try 1/3)
Oct 30 17:10:24 host kernel: wlan0: RX AssocResp from 01:23:45:67:89:ab (capab=0x1431 status=0 aid=3)
Oct 30 17:10:24 host kernel: wlan0: associated
Oct 30 17:10:24 host dhcpcd[470]: wlan0: carrier acquired
Oct 30 17:10:24 host dhcpcd[470]: wlan0: IAID 66:ae:ce:aa
Oct 30 17:10:24 host dhcpcd[470]: wlan0: adding address fe80::7cf7:e7d2:a362:caba
Oct 30 17:10:25 host dhcpcd[470]: wlan0: soliciting an IPv6 router
Oct 30 17:10:25 host dhcpcd[470]: wlan0: rebinding lease of 192.168.0.138
Oct 30 17:10:26 host dhcpcd[470]: wlan0: probing address 192.168.0.138/24
Oct 30 17:10:30 host dhcpcd[470]: wlan0: leased 192.168.0.138 for 7200 seconds
Oct 30 17:10:30 host dhcpcd[470]: wlan0: adding route to 192.168.0.0/24
Oct 30 17:10:30 host dhcpcd[470]: wlan0: adding default route via 192.168.0.1
Oct 30 17:10:38 host dhcpcd[470]: wlan0: no IPv6 Routers available

System
lsmod:

Module                  Size  Used by
algif_aead             16384  0
cbc                    16384  0
des_generic            16384  0
libdes                 24576  1 des_generic
ecb                    16384  0
algif_skcipher         16384  0
cmac                   16384  0
md4                    16384  0
algif_hash             16384  0
af_alg                 36864  3 algif_hash,algif_skcipher,algif_aead
ccm                    20480  6
hid_multitouch         32768  0
iTCO_wdt               16384  0
mei_pxp                20480  0
intel_pmc_bxt          16384  1 iTCO_wdt
mei_hdcp               24576  0
iTCO_vendor_support    16384  1 iTCO_wdt
asus_nb_wmi            28672  0
pmt_telemetry          16384  0
asus_wmi               65536  1 asus_nb_wmi
pmt_class              16384  1 pmt_telemetry
ledtrig_audio          16384  1 asus_wmi
intel_rapl_msr         20480  0
platform_profile       16384  1 asus_wmi
wmi_bmof               16384  0
btusb                  65536  0
btrtl                  28672  1 btusb
btbcm                  24576  1 btusb
btintel                45056  1 btusb
btmtk                  16384  1 btusb
bluetooth             937984  6 btrtl,btmtk,btintel,btbcm,btusb
ecdh_generic           16384  1 bluetooth
snd_usb_audio         397312  2
snd_usbmidi_lib        45056  1 snd_usb_audio
snd_rawmidi            49152  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
intel_tcc_cooling      16384  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
kvm_intel             389120  0
kvm                  1138688  1 kvm_intel
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
polyval_clmulni        16384  0
polyval_generic        16384  1 polyval_clmulni
gf128mul               16384  1 polyval_generic
ghash_clmulni_intel    16384  0
aesni_intel           393216  4
crypto_simd            16384  1 aesni_intel
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
rapl                   16384  0
intel_cstate           20480  0
intel_uncore          217088  0
pcspkr                 16384  0
snd_sof_pci_intel_tgl    16384  0
snd_sof_intel_hda_common   180224  1 snd_sof_pci_intel_tgl
soundwire_intel        53248  1 snd_sof_intel_hda_common
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_cadence      45056  1 soundwire_intel
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp     20480  1 snd_sof_intel_hda_common
snd_sof               307200  2 snd_sof_pci,snd_sof_intel_hda_common
snd_sof_utils          20480  1 snd_sof
snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
snd_hda_ext_core       36864  3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match    69632  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
soundwire_bus         126976  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_core          393216  4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
uvcvideo              163840  0
snd_compress           28672  1 snd_soc_core
videobuf2_vmalloc      20480  1 uvcvideo
iwlmvm                524288  0
spi_nor               118784  0
videobuf2_memops       20480  1 videobuf2_vmalloc
ac97_bus               16384  1 snd_soc_core
mac80211             1298432  1 iwlmvm
snd_hda_codec_hdmi     86016  2
e1000e                327680  0
snd_pcm_dmaengine      16384  1 snd_soc_core
videobuf2_v4l2         40960  1 uvcvideo
mtd                    90112  1 spi_nor
i2c_i801               45056  0
mei_me                 53248  2
i2c_smbus              20480  1 i2c_i801
videobuf2_common       86016  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
snd_hda_intel          61440  2
libarc4                16384  1 mac80211
mei                   172032  5 mei_hdcp,mei_pxp,mei_me
intel_lpss_pci         28672  0
intel_lpss             16384  1 intel_lpss_pci
snd_intel_dspcfg       36864  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
idma64                 20480  0
videodev              315392  3 videobuf2_v4l2,uvcvideo,videobuf2_common
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
iwlwifi               491520  1 iwlmvm
i915                 3149824  179
mc                     73728  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_hda_codec         188416  3 snd_hda_codec_hdmi,snd_hda_intel,snd_soc_hdac_hda
snd_hda_core          118784  7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
processor_thermal_device_pci    16384  0
processor_thermal_device    20480  1 processor_thermal_device_pci
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
drm_buddy              20480  1 i915
joydev                 28672  0
mousedev               24576  0
processor_thermal_rfim    16384  1 processor_thermal_device
ttm                    94208  1 i915
processor_thermal_mbox    16384  2 processor_thermal_rfim,processor_thermal_device
thunderbolt           401408  0
intel_vsec             20480  0
snd_pcm               172032  12 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
processor_thermal_rapl    20480  1 processor_thermal_device
drm_display_helper    180224  1 i915
snd_timer              49152  1 snd_pcm
ucsi_acpi              16384  0
intel_rapl_common      32768  2 intel_rapl_msr,processor_thermal_rapl
cec                    81920  2 drm_display_helper,i915
typec_ucsi             53248  1 ucsi_acpi
snd                   126976  21 snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
intel_gtt              28672  1 i915
typec                  90112  1 typec_ucsi
soundcore              16384  1 snd
igen6_edac             32768  0
roles                  16384  1 typec_ucsi
wmi                    45056  2 asus_wmi,wmi_bmof
mac_hid                16384  0
int3403_thermal        20480  0
int340x_thermal_zone    20480  2 int3403_thermal,processor_thermal_device
video                  61440  2 asus_wmi,i915
tpm_crb                20480  0
tpm_tis                16384  0
tpm_tis_core           36864  1 tpm_tis
tpm                   102400  3 tpm_tis,tpm_crb,tpm_tis_core
rng_core               20480  1 tpm
i2c_hid_acpi           16384  0
i2c_hid                40960  1 i2c_hid_acpi
intel_hid              28672  0
sparse_keymap          16384  2 intel_hid,asus_wmi
int3400_thermal        20480  0
acpi_thermal_rel       16384  1 int3400_thermal
acpi_pad               24576  0
cfg80211             1118208  3 iwlmvm,iwlwifi,mac80211
rfkill                 32768  8 iwlmvm,asus_wmi,bluetooth,cfg80211
8021q                  40960  0
garp                   16384  1 8021q
mrp                    20480  1 8021q
stp                    16384  1 garp
llc                    16384  2 stp,garp
pkcs8_key_parser       16384  0
crypto_user            24576  0
fuse                  176128  3
bpf_preload            24576  0
ip_tables              36864  0
x_tables               57344  1 ip_tables
usbhid                 73728  0
ext4                 1015808  1
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  188416  1 ext4
nvme                   61440  1
nvme_core             208896  2 nvme
nvme_common            24576  1 nvme_core
serio_raw              20480  0
atkbd                  36864  0
libps2                 20480  1 atkbd
vivaldi_fmap           16384  1 atkbd
spi_intel_pci          16384  0
xhci_pci               20480  0
crc32c_intel           24576  2
spi_intel              28672  1 spi_intel_pci
vmd                    24576  0
xhci_pci_renesas       24576  1 xhci_pci
i8042                  49152  1 asus_nb_wmi
serio                  28672  4 serio_raw,atkbd,i8042

lspci -nnk | grep -iA3 net:

0000:00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
	DeviceName: Onboard - Ethernet
	Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz [8086:0074]
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
--
0000:00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (16) I219-LM [8086:1a1e] (rev 01)
	DeviceName: Onboard - Ethernet
	Subsystem: ASUSTeK Computer Inc. Device [1043:204f]
	Kernel driver in use: e1000e
	Kernel modules: e1000e

Please let me know if I should provide more information!
Hope for your help!

Last edited by user456132 (2022-10-30 17:30:31)

Offline

#2 2022-10-30 15:59:52

seth
Member
Registered: 2012-09-03
Posts: 60,804

Re: [SOLVED] Unable to connect to a home 2.4G wifi using NetworkManage

1. please edit your post and use code tags, not quote tags (you'll see, why)
2.

Well, I don't know if the problem with the NetworkManager itself, but I can connect to that access point via iwd(iwctl).

https://wiki.archlinux.org/title/Networ … Fi_backend (don't run the iwd service in parallel, NM will do that for you)

Edit: I see that dhcpcd is also enabled, it'll conflict w/ NM, so disable it. Post the ouptut of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

If running iwd as NM backend doesn't help, the IP might not like the MAC randomization, so disable that: https://wiki.archlinux.org/title/Networ … domization

Last edited by seth (2022-10-30 16:02:07)

Offline

#3 2022-10-30 17:30:16

user456132
Member
Registered: 2022-08-01
Posts: 14

Re: [SOLVED] Unable to connect to a home 2.4G wifi using NetworkManage

seth wrote:

1. please edit your post and use code tags, not quote tags (you'll see, why)
2.

Well, I don't know if the problem with the NetworkManager itself, but I can connect to that access point via iwd(iwctl).

https://wiki.archlinux.org/title/Networ … Fi_backend (don't run the iwd service in parallel, NM will do that for you)

Edit: I see that dhcpcd is also enabled, it'll conflict w/ NM, so disable it. Post the ouptut of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

If running iwd as NM backend doesn't help, the IP might not like the MAC randomization, so disable that: https://wiki.archlinux.org/title/Networ … domization

Running NM with iwd backend helped! It works perfect!
Thank you for your help!

Offline

Board footer

Powered by FluxBB