hostapd是用户态的守护进程,用于无线station接入和安全认证,hostapd_cli是用于访问hostapd并且获取当前ap信息和对ap进行操作的客户端程序。
用法如下:
/*查看帮助*/
@OpenWrt:/tmp# ./hostapd_cli --help
hostapd_cli v2.0-develCopyright (c) 2004-2012, Jouni Malinen <[email protected]> and contributors
usage: hostapd_cli [-p<path>] [-i<ifname>] [-hvB] [-a<path>] \
[-G<ping interval>] [command..]
Options:
-h help (show this usage text)
-v shown version information
-p<path> path to find control sockets (default: /var/run/hostapd)
-a<file> run in daemon mode executing the action file based on events
from hostapd
-B run a daemon in the background
-i<ifname> Interface to listen on (default: first interface found in the
socket path)
<