用wpa_cli工具时候报错
来源:互联网 发布:中国移动宽带测速软件 编辑:程序博客网 时间:2024/05/16 10:50
网上搜索了很多信息都搞不定,最后只有看源码了,跟踪到bind报错是如此目录和文件,原来文件系统是只读的,而且也没有/tmp的目录,所以我改了下目录。改到可以读写的目录下就可以,wpa_lic可以连接上了,ret = os_snprintf(ctrl->local.sun_path, sizeof(ctrl->local.sun_path), "/mnt/mtd/jsyjzz/wpa_ctrl_%d-%d", getpid(), counter); 在这个wpa_ctrl_open函数里面。
wpa_cli v0.7.3
Copyright (c) 2004-2010, Jouni Malinen <j@w1.fi> and contributorsThis program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.
Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.
Selected interface 'wlan0'
Could not connect to plicant - re-trying
原因:在makefile中CONFIG_CTRL_IFACE=unix 改成CONFIG_CTRL_IFACE=udp这样就可以连接上了
在.config中udp = UDP sockets using localhost (127.0.0.1) 打开。unix注销掉,
总结,估计是不支持unix传输,只是支持udp传输
- 用wpa_cli工具时候报错
- wpa_cli 调试工具
- wpa_cli调试工具的使用
- wpa_cli调试工具的使用
- wpa_cli调试工具的使用
- wpa_cli调试工具的使用
- wpa_cli调试工具的使用
- 使用wpa_cli工具连接无线网络
- wpa_cli调试工具的使用
- wpa_cli调试工具的使用
- wpa_cli调试工具的使用
- 用Toad 工具 修改 view的时候 遇到报错不了的问题
- 用wpa_cli 连接无线网络
- 用wpa_cli 连接无线网络
- 用wpa_cli 连接无线网络
- 用wpa_cli 连接无线网络
- 用wpa_cli 连接无线网络
- 用wpa_cli 连接无线网络
- Android多媒体之录制
- 二叉查找树(Binary Search Tree)
- test
- AVL树
- 中国高铁综合技术不成熟
- 用wpa_cli工具时候报错
- 红黑树 RBT (Red Black Tree)
- Android中ContentProvider实现联系人的读写
- 搜索引擎技术之概要预览
- tomcat启动startup.bat一闪而过
- Spring学习之——依赖注入(下)
- Connection Timeout Using LINQ DataContext
- Architect thinking
- Activity生命周期