|
最近调试WIFI 模块,驱动和工具都正确编译和运行,但就是无法搜寻到WIFI,系统是天嵌带的Linux3.1, 文件系统为cramfs
采用rtl8189es sdio wifi, 在嵌入式平台 arm9 S3C2416+Linux3.1+arm-linux-gcc(4.3.3), 编译正常生成8189es.ko
在arm9 insmod 8189es.ko 也能正确加载,可以正确查询到 wlan0设备
通过ifconfig wlan0 up 可以启用wlan0
(1)但通过iwlist wlan0 scan无法搜寻到AP 热点
(2) 编译wpa_supplicant 后,运行wap_supplicant 和 wpa_cli 也无法搜寻到AP热点
我手头上有8188EU.KO(usb wifi),在linux 虚拟机上工作正常,但在嵌入式2416中,问题与SDIO相同
我分析过虚拟机和2416平台下,加载USB WIFI 的打印信息,基本相同。但虚拟机WIFI 工作正常。
执行 ./wpa_supplicant -Dwext -iwlan0 -c /rbin/appdata/wifi/wpa.conf -dd&
系统会提示:
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
Using existing control interface directory.
ctrl_iface bind(PF_UNIX) failed: Address already in use
ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination
Successfully replaced leftover ctrl_iface socket '/rbin/appdata/wifi/run/wlan0'
不知道是否与我的内核开关有关系,感觉驱动已经经常加载和运行了,不知道出什么问题了,恳请能尽快给予分析和帮助 |
|