hostapd_cli 命令介绍
来源:互联网 发布:挖矿赚钱软件 编辑:程序博客网 时间:2024/06/11 16:27
hostapd_cli –h
Options:
-h help (show this usage text)
-v shown version information
-p<path> path to findcontrol sockets (default: /var/run/hostapd)
-a<file> run in daemonmode executing the action file based on events
from hostapd
-B run a daemon in the background
-i<ifname> Interface tolisten on (default: first interface found in the
socket path)
hostapd_cli 在mstar上面的连接:
hostapd_cli -i uap0 -p /data/misc/wifi/hostapd
连上之后没有交互的EVENT上来,需要分析
命令
命令缩写
描述
测试
all_sta
al
显示当前连入的STA,并记录连上的时间长度
> all_sta
40:f3:08:39:b6:74
connected_time=579
00:90:4c:78:5d:5c
connected_time=3359
> all
00:90:4c:78:5d:5c
connected_time=3458
deauthenticate <addr>
dea
解除验证
> all
40:f3:08:39:b6:74 ---à我的设备
connected_time=59
00:90:4c:78:5d:5c
connected_time=4008
> dea 40:f3:08:39:b6:74 -à可以看到设备断开,又启动连接
OK
disassociate <addr>
断开连接
过程与上面差不多
wps_pin
AP端的wps功能
功能有问题无法测试
wps_pbc
Ap端的wps功能
功能有问题无法测试
wps_config <SSID> <auth> <encr> <key>
配置
- hostapd_cli 命令介绍
- hostapd_cli命令源码分析
- hostapd_cli
- wpa_supplicant--wpa_cli与hostapd_cli
- ${}命令介绍
- DEBUG命令介绍[转载]
- nm 命令介绍
- objcopy命令介绍
- 批处理命令介绍
- Linux基本命令介绍
- symbian命令介绍
- 简要AT命令介绍
- crontab命令介绍
- objcopy命令介绍
- ipcs,ipcm命令介绍
- objcopy命令介绍
- grep命令介绍
- ldconfig命令介绍
- Unix shell输入输出重定向
- 修改GDAL库支持RPC像方改正模型
- 安卓之乱码
- ios小项目之密码生成器-------生成密码部分
- Android开发之程序员必须要懂得Android的重要设计理念
- hostapd_cli 命令介绍
- 总结eclipse常用快捷键和使用技巧
- spring+springMVC,声明式事务失效,原因以及解决办法
- 理解A*寻路算法具体过程
- matlab中文件操作
- wikioi2969 角谷猜想 记忆化搜索
- 设计模式第三站--装饰模式
- Eclipse安装Maven后JRE警告
- poj 3411 Paid Roads