iwctl:tldr:0afa6
The iwctl
command is a command-line tool used for configuring and managing wireless connections in Linux distributions that use the iwd
(iNet wireless daemon) service.
iwctl
stands for "iwd control" and provides a simple and intuitive interface for interacting with the iwd
service. It allows users to control and manage various aspects of wireless networking, such as scanning for available networks, connecting to networks, configuring network profiles, and managing network devices.
When you run iwctl
, it opens an interactive shell-like environment where you can execute various commands to manage your wireless connections.
Some examples of commands that can be used with iwctl
:
device list
: Lists all the available wireless network devices.station [device-name] scan
: Scans for available Wi-Fi networks on the specified device.station [device-name] get-networks
: Displays a list of detected Wi-Fi networks on the specified device.station [device-name] connect [network-name]
: Connects to the specified Wi-Fi network on the specified device.station [device-name] disconnect
: Disconnects from the currently connected Wi-Fi network on the specified device.station [device-name] show
: Shows information about the specified wireless network device.help
: Provides a list of available commands and their descriptions.
Using iwctl
, Linux users can easily manage and configure their wireless connections directly from the command line interface, making it a valuable tool for troubleshooting and setting up wireless networks.