← 返回命令列表

Linux command

iwctl 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

iwctl

Example

iwctl station list

Scan

iwctl station [station] scan

Example

iwctl station [station] get-networks

Connect

iwctl station [station] connect [network_name]

Example

iwctl -h

说明

iwctl is the command-line interface for iwd (iNet Wireless Daemon), a modern wireless network configuration daemon. It provides interactive and command-line modes for managing Wi-Fi connections. iwd is designed as a lightweight alternative to wpa_supplicant, with faster connection times and simpler configuration. Credentials are prompted interactively or can be pre-configured.

参数

station list
List wireless stations (interfaces)
station _STATION_ scan
Trigger network scan
station _STATION_ get-networks
Show discovered networks
station _STATION_ connect _SSID_
Connect to a network
station _STATION_ disconnect
Disconnect from current network
known-networks list
List saved network profiles
-h, --help
Display help

FAQ

What is the iwctl command used for?

iwctl is the command-line interface for iwd (iNet Wireless Daemon), a modern wireless network configuration daemon. It provides interactive and command-line modes for managing Wi-Fi connections. iwd is designed as a lightweight alternative to wpa_supplicant, with faster connection times and simpler configuration. Credentials are prompted interactively or can be pre-configured.

How do I run a basic iwctl example?

Run `iwctl` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does station list do in iwctl?

List wireless stations (interfaces)