当前位置: 代码迷 >> Wireless >> 小弟我移植了8191su,然后用 wpa_supplicant运行,/wpa_cli报错
  详细解决方案

小弟我移植了8191su,然后用 wpa_supplicant运行,/wpa_cli报错

热度:426   发布时间:2016-04-28 09:36:56.0
我移植了8191su,然后用 wpa_supplicant运行,./wpa_cli报错
./wpa_supplicant -Dwext -iwlan0 -c./wpa_supplicant.conf &
然后./wpa_cli
结果[root@(none) fei]$ ./wpa_cli -iwlan0
wpa_cli v0.6.9
Copyright (c) 2004-2009, Jouni Malinen <[email protected]> and contributors

This 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.


Could not connect to wpa_supplicant - re-trying

我查到了源码中ctrl_conn = wpa_ctrl_open(cfile);返回0,但是我查看了/var/run/wpa_supplicant下面有wlan0接口的。就是连接不上,求助啊
移植 wifi

------解决方案--------------------
查看一下设备的MAC地址的开头两位是否为0,