iwd(1)
iwd is a wireless daemon that manages Wi-Fi connections on Linux systems with a minimal, efficient design.
Synopsis
iwctl [COMMAND] [ARGUMENTS]Description
iwd (iNet Wireless Daemon) is a modern replacement for wpa_supplicant and is responsible for managing Wi-Fi connections on Linux. It provides a simple command-line interface through iwctl for connecting to wireless networks, viewing available networks, and managing credentials.
iwd is designed to be lightweight and efficient, requiring fewer dependencies than traditional wireless management tools. It integrates well with systemd and supports WPA2/WPA3 encryption, scanning for available networks, and automatic connection to known networks.
Common options
| Flag | What it does |
|---|---|
device list | list all wireless devices available on the system |
station <device> scan | scan for available Wi-Fi networks on the specified device |
station <device> get-networks | show the list of networks found from the last scan |
station <device> connect <network> | connect to a wireless network (prompts for password if needed) |
station <device> disconnect | disconnect from the currently connected network |
station <device> show | display connection status and signal strength for a device |
known-networks list | list all known/saved wireless networks |
known-networks forget <network> | remove a network from the known networks list |
--help | display help message for iwctl |
Examples
Display all wireless network interfaces (e.g., wlan0)
iwctl device listScan for available Wi-Fi networks on wlan0
iwctl station wlan0 scanShow the list of Wi-Fi networks discovered in the last scan
iwctl station wlan0 get-networksConnect to a network named 'MyWiFi' (you'll be prompted for the password)
iwctl station wlan0 connect 'MyWiFi'Display current connection status, signal strength, and IP info for wlan0
iwctl station wlan0 showList all previously connected networks saved on the system
iwctl known-networks listDisconnect from the currently connected network
iwctl station wlan0 disconnectRemove a saved network from the known networks list
iwctl known-networks forget 'OldNetwork'