Connecting to Wi-Fi on Arch Linux using iwd
INFO
A simple guide to using iwd (iNet wireless daemon) to connect to Wi-Fi on Arch Linux.
Connecting to a Wi-Fi Network
Start the
iwdinteractive shell to manage your Wi-Fi:shelliwctlList available networks:
shellstation wlan0 get-networksConnect to your desired network:
shellstation wlan0 connect "your_wifi_name"To exit the
iwdinteractive shell:shellexit
Useful Commands
List all wireless devices:
shelldevice listList all wireless adapters:
shelladapter listDisconnect from a Wi-Fi network:
shellstation wlan0 disconnect
View Info
INFO
To view detailed information about your wireless device, you can use the following commands:
To see general information about the device like the MAC address:
shelldevice wlan0 showTo view the connection details:
shellstation wlan0 showTo see detailed information about the adapter:
shelladapter phy0 show
Troubleshooting
INFO
If you're trying to connect and your wireless device shows "Powered off" when you run device list, and you get an error message when trying to power it on, here's how to fix it:
First, make sure that the adapter is powered on using the following command:
shelladapter phy0 set-property Powered onThen, power on the wireless device itself:
shelldevice wlan0 set-property Powered onINFO
Replace
phy0andwlan0with your specific adapter and device names, if necessary.
