When I boot up my Android Device and go to WiFi settings, the status of WiFi remains "Turning Wi-Fi on" forever. I looked it up in logcat logs, and below is the error that I see.
Question: How can I enable androidAndroid to use some other interface other than wlan0
?
1)I tried to edit ctrl_interface
parameter in /system/etc/wifi/wpa_supplicant.conf
using adb pull
and adb push
to other interfaces shown by netcfg
but Android still tries to use wlan0
.
2)I also tried to start wpa_supplicant
daemon using the below command.
/system/bin/wpa_supplicant -Dnl80211 -idummy0 -c/system/etc/wifi/wpa_supplicant.conf
but this gives an error.
E/wpa_supplicant( 5390): dummy0: Failed to initialize driver interface
I tried to edit
ctrl_interface
parameter in/system/etc/wifi/wpa_supplicant.conf
usingadb pull
andadb push
to other interfaces shown bynetcfg
, but Android still tries to usewlan0
.I also tried to start
wpa_supplicant
daemon using the below command./system/bin/wpa_supplicant -Dnl80211 -idummy0 -c/system/etc/wifi/wpa_supplicant.conf
but this gives an error.
E/wpa_supplicant( 5390): dummy0: Failed to initialize driver interface