$linuxjunkies
>

iwd(1)

iwd is a wireless daemon that manages Wi-Fi connections on Linux systems with a minimal, efficient design.

UbuntuDebianFedoraArch

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

FlagWhat it does
device listlist all wireless devices available on the system
station <device> scanscan for available Wi-Fi networks on the specified device
station <device> get-networksshow 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> disconnectdisconnect from the currently connected network
station <device> showdisplay connection status and signal strength for a device
known-networks listlist all known/saved wireless networks
known-networks forget <network>remove a network from the known networks list
--helpdisplay help message for iwctl

Examples

Display all wireless network interfaces (e.g., wlan0)

iwctl device list

Scan for available Wi-Fi networks on wlan0

iwctl station wlan0 scan

Show the list of Wi-Fi networks discovered in the last scan

iwctl station wlan0 get-networks

Connect 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 show

List all previously connected networks saved on the system

iwctl known-networks list

Disconnect from the currently connected network

iwctl station wlan0 disconnect

Remove a saved network from the known networks list

iwctl known-networks forget 'OldNetwork'

Related commands