iwctl - Man Page
Internet wireless control utility
Examples (TL;DR)
- Start the interactive mode, in this mode you can enter the commands directly, with autocompletion:
iwctl
- Call general help:
iwctl --help
- Display your Wi-Fi stations:
iwctl station list
- Start looking for networks with a station:
iwctl station station scan
- Display the networks found by a station:
iwctl station station get-networks
- Connect to a network with a station, if credentials are needed they will be asked:
iwctl station station connect network_name
Synopsis
iwctl [options ...] [commands ...]
Description
Tool for configuring iwd daemon via D-Bus interface. It supports both an interactive mode and command line mode.
Options
- --username, -u
Provide username.
- --password, -p
Provide password.
- --passphrase, -P
Provide passphrase.
- --dont-ask, -v
Don't ask for missing credentials.
- --help, -h
Show help message and exit.
Examples
Interactive mode
To start an interactive mode and list all available commands do: .. code-block:
$ iwctl [iwd]# help
To connect to a network: .. code-block:
[iwd]# device list [iwd]# station DEVICE scan [iwd]# station DEVICE get-networks [iwd]# station DEVICE connect SSID
Command line mode
To list all available commands in command line mode and exit do: .. code-block:
$ iwctl --help
To connect to a network: .. code-block:
$ iwctl device list $ iwctl station DEVICE scan $ iwctl station DEVICE get-networks $ iwctl --passphrase=PASSPHRASE station DEVICE connect SSID
See Also
Author
Marcel Holtmann <marcel@holtmann.org>
Copyright
2013-2019 Intel Corporation
Referenced By
22 September 2019 Linux Connectivity