I am trying to connect to WiFi using a USB WiFi stick by making use of OTG on my Android Nexus 6. The USB WiFi stick has a separate AP. However, I am unable to see this AP in the list of available WiFi networks on my android phone.

I have installed a CROM with a custom kernel including the drivers of the WiFi stick. I can see the drivers and firmware being loaded using dmesg:

[ 3480.147186] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 3480.161788] usb 3-1: New USB device found, idVendor=2ef5, idProduct=0008
[ 3480.161807] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3480.161819] usb 3-1: Product: Dongle
[ 3480.161829] usb 3-1: Manufacturer: WiFi
[ 3480.161838] usb 3-1: SerialNumber: AB1018S052
[ 3480.174615] wifi 3-1:1.0: Firmware Version: 10441, $Revision: 13790 $
[ 3480.176511] ieee80211 phy9: Selected rate control algorithm 'minstrel_ht'
[ 3480.180991] ueventd: firmware: loading 'wifi/wifi_x/fpga_xc.bit' for '/devices/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb3/3-1/3-1:1.0/firmware/wifi!wifi_x!fpga_xc.bit'
[ 3480.195460] ueventd: loading /devices/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb3/3-1/3-1:1.0/firmware/wifi!wifi_x!fpga_xc.bit took 14ms
[ 3481.666134] wifi 3-1:1.0: probe::FPGA download success.

Also, there is a light on the stick that turns green when the drivers are recognized. So, I can say with surety that the drivers are loaded and the device is recognized. However, the WiFi AP for USB stick is not appearing.

When I do the same thing on my Ubuntu laptop, after loading drivers I can connect to two different WiFi networks at the same time, one with built-in WiFi card and the other with USB stick. But I believe this cannot be done with Android, where you can connect to one WiFi at a time.

I suspect that even after the drivers are loaded, Android is only scanning WiFi networks available to built-in WiFi card. Is there a possibility to disable the built-in WiFi in Android and make the Android OS scan WiFi networks available to USB WiFi stick as well?

Thank you.

  • Do you get a network interface on Android when USB WiFi stick is connected? – Irfan Latif Jul 10 at 11:17
  • @IrfanLatif No, I can't see any additional active interfaces using ifconfig in adb shell. – M Asad Jul 10 at 15:23
  • Neither in /sys/class/net/? – Irfan Latif Jul 10 at 15:49
  • @IrfanLatif: There are following interfaces, but these interfaces exist even without installing the device drivers: 127|shamu:/ # ls /sys/class/net/ dummy0/ r_rmnet_data3/ r_rmnet_data8/ rmnet_data4/ sit0/ lo/ r_rmnet_data4/ rmnet_data0/ rmnet_data5/ usb0/ r_rmnet_data0/ r_rmnet_data5/ rmnet_data1/ rmnet_data6/ wlan0/ r_rmnet_data1/ r_rmnet_data6/ rmnet_data2/ rmnet_data7/ r_rmnet_data2/ r_rmnet_data7/ rmnet_data3/ rmnet_usb0/ – M Asad Jul 11 at 9:45
  • Seems like the problem is with your driver. Also confirm with iw dev | grep Interface and cat /proc/net/wireless. – Irfan Latif Jul 11 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.