iwctl(1)
Interactive wireless control tool for managing WiFi connections on iwd (Internet Wireless Daemon) systems.
Synopsis
iwctl [OPTION]... [COMMAND]Description
iwctl is an interactive command-line utility for managing wireless networks when using iwd as the wireless daemon. It provides a menu-driven interface to scan for networks, connect to WiFi, manage credentials, and view connection status.
When run without arguments, iwctl enters an interactive shell where you can execute commands. You can also run single commands directly by passing them as arguments. Common workflows include scanning available networks, connecting to a SSID, and viewing device information.
Common options
| Flag | What it does |
|---|---|
-h, --help | Show help message and exit |
-v, --version | Show version information |
-I, --interactive | Force interactive mode (enters shell) |
-n, --no-print-commands | Don't print commands being executed in interactive mode |
Examples
Enter interactive iwctl shell for managing WiFi connections
iwctlScan for available WiFi networks on device wlan0
iwctl station wlan0 scanDisplay list of available networks from last scan
iwctl station wlan0 get-networksConnect to WiFi network named 'MySSID' (prompts for password if needed)
iwctl station wlan0 connect MySSIDDisconnect from the currently connected WiFi network
iwctl station wlan0 disconnectList all wireless devices available on the system
iwctl device listDisplay detailed status and information about wlan0 connection
iwctl station wlan0 showShow list of previously connected and remembered networks
iwctl known-networks list