请问一个ARM板子上的Linux系统的wpa_supplicant的一个纠结的问题
出于公司需要,得在ARM板子上面配置一个wifi模块,模块型号是:8192cu。默认的Linux下只有wireless_tools工具包可以使用,但是这个玩意貌似不支持WPA认证方式,后来去搜到可以用wpa_supplicant进行WPA的认证,然后我就去http://hostap.epitest.fi/wpa_supplicant/下载了最新的wpa_supplicant工具包,放到服务器上,通过修改Makefile,但是我没有更改默认的编译选项,只是简单的使用了默认的defconfig文件复制到.config……把生成的工具移植到了ARM板子上,然后配置的wireless_tools.conf文件如下:
/nand1 # cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid="FT"
psk=43b7932b98ccfd0f78de8324332ac67854a6050098721af4eeee5f2b6d9fec83
}
/nand1 # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
ioctl[SIOCSIWAP]: Operation not permitted
Trying to associate with b0:48:7a:60:39:ce (SSID='FT' freq=2427 MHz)
Associated with b0:48:7a:60:39:ce
WPA: Key negotiation completed with b0:48:7a:60:39:ce [PTK=CCMP GTK=CCMP]
CTRL-EVENT-CONNECTED - Connection to b0:48:7a:60:39:ce completed (auth) [id=0 id_str=]
CTRL-EVENT-TERMINATING - signal 2 received
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWAP]: Operation not permitted
/nand1 #