Results 1 to 10 of 10

Thread: Using external wifi adapter with Nexus 5

  1. #1
    Join Date
    2015-Sep
    Posts
    7

    Using external wifi adapter with Nexus 5

    I have been trying to make my TL-WN722N external wifi adapter work with 4.4.4 android version + nethunter. It is not even flashing. Maybe the nexus 5 can't give enough charge? I'm using simple OTG cable for now, I will try with Y cable when I can. If I run dmesg it doesn't show up anything about wlan1, only wlan0, but before I ran a full apt-get update + upgrade it did show up, but didn't work either (even before upgrade, it wasn't flashing). I couldn't and can't bring wlan1 up by ifconfig. /dev/socket doesn't have a wpa_wlan1 entry either.

    OTG cable works with everything else, I have also successfully used the wifi adapter for packet injection on my laptop.

    It seems to me that nexus 5 gets little attention. Has anyone successfully used nexus 5 for such? I see one positive example here: https://forums.kali.org/showthread.p...hlight=nexus+5 , but I have a different adapter and kernel.

  2. #2
    Join Date
    2015-Apr
    Posts
    20
    my nexus 5 works perfect with an ALFA USB WIFI AWUS036NEH

  3. #3
    Join Date
    2015-Sep
    Posts
    7
    Do you run it on kitkat or lollipop?

  4. #4
    Join Date
    2015-Apr
    Posts
    20
    Quote Originally Posted by Dosztoj View Post
    Do you run it on kitkat or lollipop?
    yep yep, running on 5.1.1

  5. #5
    Join Date
    2015-Sep
    Posts
    7
    Y OTG or simple?

  6. #6
    Join Date
    2015-Sep
    Posts
    7
    Ok, some development: I have bought a Hama 54140 USB OTG Hub which has micro USB power supply too, now dmesg sees the adapter, but still nothing shows up in the ifconfig.
    dmesg output that seems to be related to this problem:

    Code:
    [266193.152563] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [266193.172955] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
    [266193.173093] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [266193.173157] usb 1-1: Product: USB 2.0 Hub
    [266193.199129] hub 1-1:1.0: USB hub found
    [266193.199283] hub 1-1:1.0: 4 ports detected
    [266193.472850] usb 1-1.3: new high-speed USB device number 3 using xhci-hcd
    [266193.503167] usb 1-1.3: New USB device found, idVendor=0cf3, idProduct=9271
    [266193.503282] usb 1-1.3: New USB device strings: Mfr=16, Product=32, SerialNumber=48
    [266193.503345] usb 1-1.3: Product: USB2.0 WLAN
    [266193.503455] usb 1-1.3: Manufacturer: ATHEROS
    [266193.503517] usb 1-1.3: SerialNumber: 12345
    [266193.504916] usb 1-1.3: ep 0x1 - rounding interval to 32768 microframes, ep desc says 0 microframes
    [266193.504990] usb 1-1.3: ep 0x82 - rounding interval to 32768 microframes, ep desc says 0 microframes
    [266193.505520] usb 1-1.3: ep 0x5 - rounding interval to 32768 microframes, ep desc says 0 microframes
    [266193.505788] usb 1-1.3: ep 0x6 - rounding interval to 32768 microframes, ep desc says 0 microframes
    [266194.489148] bcm2079x 0-0077: 10,63
    [266195.386038] wl_bss_connect_done succeeded with 78:54:2e:10:97:66
    [266195.438842] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]
    [266195.438926] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]
    [266195.440293] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]
    [266195.440614] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]
    [266195.440767] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]
    [266195.443497] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]wl_notify_connect_status nothing
    [266195.458142] wl_bss_connect_done succeeded with 78:54:2e:10:97:66
    [266195.502943] type=1400 audit(1443018498.716:2212): avc:  denied  { getattr } for  pid=27285 comm="zygote" path="socket:[11052]" dev="sockfs" ino=11052 scontext=u:r:untrusted_app:s0 tcontext=u:r:zygote:s0 tclass=unix_stream_socket
    [266195.503129] type=1400 audit(1443018498.716:2213): avc:  denied  { getopt } for  pid=27285 comm="zygote" path="/dev/socket/zygote" scontext=u:r:untrusted_app:s0 tcontext=u:r:zygote:s0 tclass=unix_stream_socket
    [266195.532177] dhd_pno_get_for_batch: Batching SCAN mode is not enabled
    [266195.534520] dhd_pno_stop_for_batch : PNO BATCH MODE is not enabled
    [266197.983781] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]
    [266197.983995] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]
    [266197.984383] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]
    [266197.984958] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]
    [266197.985231] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]
    [266197.988132] [rmnet0] error: rmnet_ioct called for unsupported cmd[35585]dhd_ndo_add_ip: ndo ipaddr entry added 
    [266202.466798] type=1400 audit(1443018505.676:2214): avc:  denied  { write } for  pid=27551 comm="om.skype.raider" scontext=u:r:untrusted_app:s0 tcontext=u:r:untrusted_app:s0 tclass=netlink_route_socket
    Last edited by Dosztoj; 2015-09-27 at 19:55.

  7. #7
    what does lsusb pull up? also any power lights indicators on the adapter at all when plugged in directly to otg or to your (i'm hoping powered) powered usb hub?

  8. #8
    Join Date
    2015-Sep
    Posts
    7
    lsusb output:

    Code:
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
    Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Yes, as I wrote above, the hub is powered from micro usb (only toward the peripherials). Also tested on laptop, works perfectly, including the power. The hub works if I connect external keyboard to the mobile.

    I think I will just upgrade to lollipop on the weekend and try it with that.

  9. #9
    Join Date
    2015-Sep
    Posts
    7
    Ah forgot to answer one question: the wifi adapter is only flashing when it is under use, connecting it to power doesn't make any lamp blink or turn on.

  10. #10
    Join Date
    2015-Sep
    Posts
    7
    Solved:

    I have installed 5.1.1 android with newest nethunter image and it works perfectly.

Similar Threads

  1. Best external wifi adapter support nexus 6p ?
    By dead19 in forum NetHunter General Questions
    Replies: 1
    Last Post: 2016-03-05, 08:22
  2. Nexus 4 external adapter ?
    By DeEqualsDos in forum NetHunter General Questions
    Replies: 2
    Last Post: 2015-06-20, 12:48
  3. nexus 4 external wifi adapter NOT WORKING !!!!!!
    By N4 Nethunter in forum NetHunter General Questions
    Replies: 13
    Last Post: 2015-03-31, 13:12
  4. wifi connection on external adapter (nexus 7, android)
    By m4xx3d0ut in forum ARM Archive
    Replies: 1
    Last Post: 2013-08-13, 17:47

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •