Hello there! I’m currently trying to switch from NetworkManager & wpa_supplicant to iwd with impala as the frontend.
But whenever I start iwd and try to connect to a network I get “Operation aborted” without any further error messages.
Here is what I’ve done:
Disabled NetworkManager.service and wpa_supplicant.service and masked them
sudo systemctl disable --now NetworkManager.service wpa_supplicant.service
sudo systemctl mask NetworkManager wpa_supplicant
Enable iwd
sudo systemctl enable --now iwd.service
Add myself to wheel group
sudo usermod -aG wheel $USER
Restart for good measure
sudo reboot
Try to connect with iwctl
[iwd]# station wlan0 scan
[iwd]# station wlan0 get-networks
[iwd]# station wlan0 connect <network-name>
Operation aborted
I always get Operation aborted
I even tried to start iwd in debug mode with sudo /usr/libexec/iwd/iwd -d -E but the only logs when connecting to a network I got were (I’ll post more of the logs from the debug mode at the end):
src/network.c:network_connect()
src/network.c:network_connect_psk() ask_passphrase: true
src/agent.c:agent_request_passphrase() agent 0x55d05e6d3f40 owner :1.71 path /iwdrs/agent/5220c1304c354d33bc71473af94a4c99
src/agent.c:agent_send_next_request() send request to :1.71 /iwdrs/agent/5220c1304c354d33bc71473af94a4c99
src/agent.c:agent_receive_reply() agent 0x55d05e6d3f40 request id 767
src/network.c:passphrase_callback() result 1
I also tried to connect with this in the /etc/iwd/main.conf, with the same Operation aborted result:
[General]
EnableNetworkConfiguration=true
I have no clue what else I am missing. Has anyone else ever encountered this issue and knows how to fix it?
PS: For some reason I can connect to open networks, but I still don’t get an internet connection then…
Rest of the debug log:
src/main.c:main() Using configuration directory /etc/iwd
Loaded configuration from /etc/iwd/main.conf
src/storage.c:storage_create_dirs() Using state directory /var/lib/iwd
src/main.c:nl80211_appeared() Found nl80211 interface
src/module.c:iwd_modules_init()
src/knownnetworks.c:known_network_frequencies_load() No known frequency file found.
src/wsc.c:wsc_init()
src/eap.c:__eap_method_enable()
src/eap-wsc.c:eap_wsc_init()
src/eap-tls.c:eap_tls_init()
src/eap-md5.c:eap_md5_init()
src/eap-pwd.c:eap_pwd_init()
src/eap-gtc.c:eap_gtc_init()
src/eap-peap.c:eap_peap_init()
src/eap-aka.c:eap_aka_prime_init()
src/eap-aka.c:eap_aka_init()
src/eap-sim.c:eap_sim_init()
src/eap-mschapv2.c:eap_mschapv2_init()
src/eap-ttls.c:eap_ttls_init()
src/udev.c:udev_init()
src/manager.c:manager_wiphy_dump_callback() New wiphy phy0 added (0)
src/manager.c:manager_wiphy_dump_done()
src/manager.c:manager_filtered_wiphy_dump_done()
Wiphy: 0, Name: phy0
Permanent Address: 14:ac:60:d8:23:6b
2.4GHz Band:
Bitrates (non-HT):
1.0 Mbps
2.0 Mbps
5.5 Mbps
11.0 Mbps
6.0 Mbps
9.0 Mbps
12.0 Mbps
18.0 Mbps
24.0 Mbps
36.0 Mbps
48.0 Mbps
54.0 Mbps
HT Capabilities:
HT40
Short GI for 20Mhz
Short GI for 40Mhz
HT RX MCS indexes:
0-15
HE Capabilities
Interface Types: ap
Max HE RX <= 80MHz MCS: 0-11 for NSS: 2
Max HE TX <= 80MHz MCS: 0-11 for NSS: 2
Interface Types: station
Max HE RX <= 80MHz MCS: 0-11 for NSS: 2
Max HE TX <= 80MHz MCS: 0-11 for NSS: 2
5GHz Band:
Bitrates (non-HT):
6.0 Mbps
9.0 Mbps
12.0 Mbps
18.0 Mbps
24.0 Mbps
36.0 Mbps
48.0 Mbps
54.0 Mbps
HT Capabilities:
HT40
Short GI for 20Mhz
Short GI for 40Mhz
HT RX MCS indexes:
0-15
VHT Capabilities:
160 Mhz operation
Short GI for 80Mhz
Short GI for 160 and 80 + 80 Mhz
Max RX MCS: 0-9 for NSS: 2
Max TX MCS: 0-9 for NSS: 2
HE Capabilities
Interface Types: ap
Max HE RX <= 80MHz MCS: 0-11 for NSS: 2
Max HE TX <= 80MHz MCS: 0-11 for NSS: 2
Max HE RX <= 160MHz MCS: 0-11 for NSS: 2
Max HE TX <= 160MHz MCS: 0-11 for NSS: 2
Interface Types: station
Max HE RX <= 80MHz MCS: 0-11 for NSS: 2
Max HE TX <= 80MHz MCS: 0-11 for NSS: 2
Max HE RX <= 160MHz MCS: 0-11 for NSS: 2
Max HE TX <= 160MHz MCS: 0-11 for NSS: 2
6GHz Band:
Bitrates (non-HT):
6.0 Mbps
9.0 Mbps
12.0 Mbps
18.0 Mbps
24.0 Mbps
36.0 Mbps
48.0 Mbps
54.0 Mbps
HE Capabilities
Interface Types: ap
Max HE RX <= 80MHz MCS: 0-11 for NSS: 2
Max HE TX <= 80MHz MCS: 0-11 for NSS: 2
Max HE RX <= 160MHz MCS: 0-11 for NSS: 2
Max HE TX <= 160MHz MCS: 0-11 for NSS: 2
Interface Types: station
Max HE RX <= 80MHz MCS: 0-11 for NSS: 2
Max HE TX <= 80MHz MCS: 0-11 for NSS: 2
Max HE RX <= 160MHz MCS: 0-11 for NSS: 2
Max HE TX <= 160MHz MCS: 0-11 for NSS: 2
Ciphers: BIP-CMAC-256 BIP-GMAC-256 BIP-GMAC-128 CCMP-256
GCMP-256 GCMP-128 BIP-CMAC-128 CCMP-128
TKIP
Supported iftypes: station ap p2p-client p2p-go p2p-device
src/manager.c:manager_interface_dump_done()
src/manager.c:manager_create_interfaces() creating wlan0
src/manager.c:manager_create_interfaces() creating wlan0-p2p
src/wiphy.c:wiphy_update_reg_domain() New reg domain country code for (global) is 00
src/manager.c:manager_config_notify() Notification of command New Interface(7)
src/netdev.c:netdev_link_notify() event 16 on ifindex 4
src/manager.c:manager_new_station_interface_cb()
src/netdev.c:netdev_create_from_genl() Created interface wlan0[4 7]
src/manager.c:manager_config_notify() Notification of command New Interface(7)
src/manager.c:manager_new_p2p_interface_cb()
src/p2p.c:p2p_device_update_from_genl() Created P2P device 8
src/netdev.c:netdev_link_notify() event 16 on ifindex 4
src/netdev.c:netdev_set_4addr() netdev: 4 use_4addr: 0
src/netdev.c:netdev_initial_up_cb() Interface 4 initialized
src/netconfig.c:netconfig_new() Creating netconfig for interface: 4
event: state, old: disconnected, new: autoconnect_quick
src/scan.c:scan_periodic_start() Starting periodic scan for wdev 7
src/wiphy.c:wiphy_radio_work_insert() Inserting work item 1
src/wiphy.c:wiphy_radio_work_next() Starting work item 1
src/rrm.c:rrm_add_frame_watches()
src/netdev.c:netdev_link_notify() event 16 on ifindex 4
src/netdev.c:netdev_link_notify() event 16 on ifindex 4
src/manager.c:manager_config_notify() Notification of command Set Interface(6)
src/scan.c:scan_notify() Scan notification Trigger Scan(33)
src/scan.c:scan_request_triggered() Passive scan triggered for wdev 7
src/scan.c:scan_periodic_triggered() Periodic scan triggered for wdev 7
udev interface=wlan0 ifindex=4
src/scan.c:scan_notify() Scan notification New Scan Results(34)
src/netdev.c:netdev_link_notify() event 16 on ifindex 4
src/scan.c:scan_notify() Scan notification Trigger Scan(33)
src/scan.c:scan_request_triggered() Passive scan triggered for wdev 7
src/scan.c:scan_notify() Scan notification New Scan Results(34)
src/netdev.c:netdev_link_notify() event 16 on ifindex 4
src/scan.c:scan_periodic_rearm() Arming periodic scan timer: 10
src/station.c:station_print_scan_bss() Processing BSS ...
...
src/station.c:station_autoconnect_start()
src/station.c:station_autoconnect_next() autoconnect: ...
...
src/station.c:station_autoconnect_next() autoconnect: network_autoconnect: No such file or directory (-2)
...
src/wiphy.c:wiphy_radio_work_done() Work item 1 done
src/scan.c:scan_periodic_timeout() 7
src/wiphy.c:wiphy_radio_work_insert() Inserting work item 2
src/wiphy.c:wiphy_radio_work_next() Starting work item 2
src/scan.c:scan_notify() Scan notification Trigger Scan(33)
src/scan.c:scan_request_triggered() Passive scan triggered for wdev 7
src/scan.c:scan_periodic_triggered() Periodic scan triggered for wdev 7
src/scan.c:scan_notify() Scan notification New Scan Results(34)
src/netdev.c:netdev_link_notify() event 16 on ifindex 4
src/scan.c:scan_notify() Scan notification Trigger Scan(33)
src/scan.c:scan_request_triggered() Passive scan triggered for wdev 7
src/agent.c:agent_register() agent register called
src/agent.c:agent_register() agent :1.71 path /iwdrs/agent/5220c1304c354d33bc71473af94a4c99
src/scan.c:scan_notify() Scan notification New Scan Results(34)
src/netdev.c:netdev_link_notify() event 16 on ifindex 4
src/scan.c:scan_periodic_rearm() Arming periodic scan timer: 20
src/station.c:station_print_scan_bss() Processing BSS ...
...
src/station.c:station_autoconnect_start()
src/station.c:station_autoconnect_next() autoconnect: ...
...
src/station.c:station_autoconnect_next() autoconnect: network_autoconnect: No such file or directory (-2)
...
src/wiphy.c:wiphy_radio_work_done() Work item 2 done
src/network.c:network_connect()
src/network.c:network_connect_psk() ask_passphrase: true
src/agent.c:agent_request_passphrase() agent 0x55d05e6d3f40 owner :1.71 path /iwdrs/agent/5220c1304c354d33bc71473af94a4c99
src/agent.c:agent_send_next_request() send request to :1.71 /iwdrs/agent/5220c1304c354d33bc71473af94a4c99
src/agent.c:agent_receive_reply() agent 0x55d05e6d3f40 request id 273
src/network.c:passphrase_callback() result 1
src/network.c:network_connect()
src/network.c:network_connect_psk() ask_passphrase: true
src/agent.c:agent_request_passphrase() agent 0x55d05e6d3f40 owner :1.71 path /iwdrs/agent/5220c1304c354d33bc71473af94a4c99
src/agent.c:agent_send_next_request() send request to :1.71 /iwdrs/agent/5220c1304c354d33bc71473af94a4c99
src/agent.c:agent_receive_reply() agent 0x55d05e6d3f40 request id 767
src/network.c:passphrase_callback() result 1