各位好,我使用Marvell8787,在freescale imx51平台上使用,用wpa_supplicant手动可以连接路由器。
但是,当修改相关部分,使平板的UI上的wifi打开可自动搜索AP时发生错误,logcat信息如下,请高手指教,不胜感激。# logcat -c
# logcat
WLAN FW already running! Skip FW download
WLAN FW is active
--------- beginning of /dev/log/main
D/Tethering( 2199): wlan0 is not a tetherable iface, ignoring
D/Tethering( 2199): uap0 is not a tetherable iface, ignoring
D/Tethering( 2199): wfd0 is not a tetherable iface, ignoring
ADDRCONF(NETDEV_UP): wlan0: link is not ready
E/wpa_supplicant( 2561): Failed to initialize control interface 'wlan0'.
E/wpa_supplicant( 2561): You may have another wpa_supplicant process already running or the file was
E/wpa_supplicant( 2561): left by an unclean termination of wpa_supplicant in which case you will need
E/wpa_supplicant( 2561): to manually remove this file before starting wpa_supplicant again.
I/wpa_supplicant( 2561): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
I//system/bin/wpa_supplicant( 2560): mkdir[ctrl_interface]: Read-only file system
I/logwrapper( 2560): /system/bin/wpa_supplicant terminated by exit(255)
E/WifiHW ( 2199): Unable to open connection to supplicant on "wlan0": No such file or directory
D/WifiStateTracker( 2199): Reset connections and stopping DHCP
D/WifiStateTracker( 2199): Disabling interface
D/dalvikvm( 2482): GC_CONCURRENT freed 252K, 47% free 3098K/5831K, external 1207K/1719K, paused 3ms+2ms
E/WifiHW ( 2199): Supplicant not running, cannot connect
E/WifiHW ( 2199): Supplicant not running, cannot connect
E/WifiHW ( 2199): Supplicant not running, cannot connect
V/WifiStateTracker( 2199): Supplicant died unexpectedly
D/WifiStateTracker( 2199): Reset connections and stopping DHCP
D/WifiStateTracker( 2199): Disabling interface
D/NetworkStateTracker( 2199): setDetailed state, old =DISCONNECTED and new state=DISCONNECTED
D/WifiStateTracker( 2199): Reset connections and stopping DHCP
D/WifiStateTracker( 2199): Disabling interface
E/Tethering( 2199): attempting to remove unknown iface (wlan0), ignoring
E/Tethering( 2199): attempting to remove unknown iface (uap0), ignoring
E/Tethering( 2199): attempting to remove unknown iface (wfd0), ignoring
D/dalvikvm( 2199): GC_CONCURRENT freed 875K, 44% free 4272K/7623K, external 2765K/3965K, paused 5ms+5ms
但是,当修改相关部分,使平板的UI上的wifi打开可自动搜索AP时发生错误,logcat信息如下,请高手指教,不胜感激。# logcat -c
# logcat
WLAN FW already running! Skip FW download
WLAN FW is active
--------- beginning of /dev/log/main
D/Tethering( 2199): wlan0 is not a tetherable iface, ignoring
D/Tethering( 2199): uap0 is not a tetherable iface, ignoring
D/Tethering( 2199): wfd0 is not a tetherable iface, ignoring
ADDRCONF(NETDEV_UP): wlan0: link is not ready
E/wpa_supplicant( 2561): Failed to initialize control interface 'wlan0'.
E/wpa_supplicant( 2561): You may have another wpa_supplicant process already running or the file was
E/wpa_supplicant( 2561): left by an unclean termination of wpa_supplicant in which case you will need
E/wpa_supplicant( 2561): to manually remove this file before starting wpa_supplicant again.
I/wpa_supplicant( 2561): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
I//system/bin/wpa_supplicant( 2560): mkdir[ctrl_interface]: Read-only file system
I/logwrapper( 2560): /system/bin/wpa_supplicant terminated by exit(255)
E/WifiHW ( 2199): Unable to open connection to supplicant on "wlan0": No such file or directory
D/WifiStateTracker( 2199): Reset connections and stopping DHCP
D/WifiStateTracker( 2199): Disabling interface
D/dalvikvm( 2482): GC_CONCURRENT freed 252K, 47% free 3098K/5831K, external 1207K/1719K, paused 3ms+2ms
E/WifiHW ( 2199): Supplicant not running, cannot connect
E/WifiHW ( 2199): Supplicant not running, cannot connect
E/WifiHW ( 2199): Supplicant not running, cannot connect
V/WifiStateTracker( 2199): Supplicant died unexpectedly
D/WifiStateTracker( 2199): Reset connections and stopping DHCP
D/WifiStateTracker( 2199): Disabling interface
D/NetworkStateTracker( 2199): setDetailed state, old =DISCONNECTED and new state=DISCONNECTED
D/WifiStateTracker( 2199): Reset connections and stopping DHCP
D/WifiStateTracker( 2199): Disabling interface
E/Tethering( 2199): attempting to remove unknown iface (wlan0), ignoring
E/Tethering( 2199): attempting to remove unknown iface (uap0), ignoring
E/Tethering( 2199): attempting to remove unknown iface (wfd0), ignoring
D/dalvikvm( 2199): GC_CONCURRENT freed 875K, 44% free 4272K/7623K, external 2765K/3965K, paused 5ms+5ms
解决方案 »
- listview里面item里的每一个怎么设定点击事件?
- 菜鸟求助:安卓模拟器如何设置分辨率为1920*1080
- android 处理图片到固定像素
- android新人在线求教如何用tm-extractors-0.4读取word文档
- xml中定义了android:id="@android:id/list" ,在程序中如何如何调用呢?
- 关于Layout_gravity的疑问
- Android Dialog问题
- 求android openGL书籍
- gps定位得不到经纬度 求大虾帮忙看看
- android自定义悬浮数字键盘
- HTC手机接受不到很多broadcast吗?
- 截图软件,Nexus7平板之framebuffer问题
他这个是因为配置文件中,有关interface的接口名称出错了,接口名称要跟iwconfig和ifconfig中显示的接口名称一致。log信息,因为不一致,所以显示,无定义,无效的。