You are not logged in.
Howdy,
I'm able to connect to the hotspot on my phone, but not my home network. Other devices like my phone and a windows computer does work.
I have an x260 Thinkpad.
After running
iwctl station wlan0 connect networknameI get "operation failed"
and with
journalctl -fI get
Aug 05 19:04:37 JoelSingh iwd[414]: event: connect-info, ssid: networkname, bss: 0a:58:28:13:b5:ba, signal: -42, load: 10/255
Aug 05 19:04:37 JoelSingh iwd[414]: event: state, old: autoconnect_full, new: connecting
Aug 05 19:04:37 JoelSingh kernel: wlan0: authenticate with 0a:58:28:13:b5:ba
Aug 05 19:04:37 JoelSingh kernel: wlan0: send auth to 0a:58:28:13:b5:ba (try 1/3)
Aug 05 19:04:37 JoelSingh kernel: wlan0: 0a:58:28:13:b5:ba denied authentication (status 77)
Aug 05 19:04:37 JoelSingh kernel: wlan0: authenticate with 0a:58:28:13:b5:ba
Aug 05 19:04:37 JoelSingh kernel: wlan0: send auth to 0a:58:28:13:b5:ba (try 1/3)
Aug 05 19:04:37 JoelSingh kernel: wlan0: authenticate with 0a:58:28:13:b5:ba
Aug 05 19:04:37 JoelSingh kernel: wlan0: send auth to 0a:58:28:13:b5:ba (try 1/3)
Aug 05 19:04:37 JoelSingh kernel: wlan0: authenticated
Aug 05 19:04:37 JoelSingh kernel: wlan0: associate with 0a:58:28:13:b5:ba (try 1/3)
Aug 05 19:04:37 JoelSingh kernel: wlan0: RX AssocResp from 0a:58:28:13:b5:ba (capab=0x1931 status=0 aid=8)
Aug 05 19:04:37 JoelSingh iwd[414]: WARNING: src/netdev.c:netdev_associate_event() condition !hdr failed
Aug 05 19:04:37 JoelSingh kernel: wlan0: associated
Aug 05 19:04:37 JoelSingh kernel: wlan0: deauthenticating from 0a:58:28:13:b5:ba by local choice (Reason: 3=DEAUTH_LEAVING)
Aug 05 19:04:37 JoelSingh iwd[414]: event: connect-failed, status: 1
Aug 05 19:04:37 JoelSingh iwd[414]: event: state, old: connecting, new: disconnected
Aug 05 19:04:37 JoelSingh iwd[414]: event: state, old: disconnected, new: autoconnect_quick
Aug 05 19:04:38 JoelSingh iwd[414]: event: state, old: autoconnect_quick, new: autoconnect_fullFrom looking at it myself the problem seems to be:
Aug 05 19:04:37 JoelSingh kernel: wlan0: RX AssocResp from 0a:58:28:13:b5:ba (capab=0x1931 status=0 aid=8)
Aug 05 19:04:37 JoelSingh iwd[414]: WARNING: src/netdev.c:netdev_associate_event() condition !hdr failedBut after googling I didn't find a solution. What should I do to troubleshoot further?
Also from related posts, I saw it was apparently useful to to have the output of
journalctl -b, here is a pastebin: https://pastebin.com/WfRPXUnM
I'm inexperienced so sorry if I'm missing something obvious. And thanks a bunch in advance for your help.
EDIT: I found a solution:
Install NetworkManager:
sudo pacman -S networkmanager Enable iwd and networkmanager to run right now and on boot every time
systemctl enable iwd systemctl enable NetworkManager and then use
nmtui to connect to your wifi network
I found that iwd had to be run for my wlan0 network interface to be visible to networkmanager. I'm not sure why using networkmanager fixed my issue but it did. Hopefully it helps others!
Last edited by JoelMyBoy (2024-08-06 14:19:37)
Offline