Hello,

I am trying to make an external wifi dongle work with nethunter, but when I enter "ifconfig" there is no wlan0 or wlan1...

Devices: Nexus 5X, AWUS036NEH, TL-WN722N
ROM: Android v6.0.1 Marshmallow MHC19Q
Root: SuperSU v2.67
Recovery: TWRP v3.0.2-0-bullhead
Kernel: Linux kali 3.10.73-gf97f123

Fresh install of chroot. I have installed firmware-ralink and firmware-atheros. Wifi and data are disabled.

So, first I put in my AWUS036NEH and reboot the phone.
This is the output of my Terminal after reboot:
Code:
root@kali:~# lsusb
libudev: udev_has_devtmpfs: name_to_handle_at on /dev: Function not implemented
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@kali:~# ifconfig
dummy0    Link encap:Ethernet  HWaddr 4a:4f:ad:31:25:1c
          inet6 addr: fe80::484f:adff:fe31:251c/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:210 (210.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1334 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1334 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:113883 (111.2 KiB)  TX bytes:113883 (111.2 KiB)

rmnet_ipa0 Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING  MTU:2000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
And here you can find the complete output of "dmesg": http://pasted.co/0cdf9fe8

And than I do the same with the TL-WN722N:
Code:
root@kali:~# lsusb
libudev: udev_has_devtmpfs: name_to_handle_at on /dev: Function not implemented
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@kali:~# ifconfig
dummy0    Link encap:Ethernet  HWaddr 5e:c6:49:35:ec:5d
          inet6 addr: fe80::5cc6:49ff:fe35:ec5d/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:210 (210.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:604 errors:0 dropped:0 overruns:0 frame:0
          TX packets:604 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:50560 (49.3 KiB)  TX bytes:50560 (49.3 KiB)

rmnet_ipa0 Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING  MTU:2000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Complete output of "dmesg": http://pasted.co/1de0482d

This is what "ls /system/etc/firmware" puts out:
Code:
root@kali:~# ls /system/etc/firmware
ar9170-1.fw    htc_7010.fw  rt2860.bin  rt73.bin  wlan
ar9170-2.fw    htc_9271.fw  rt2870.bin  rtlwifi   zd1211
carl9170-1.fw  rt2561.bin   rt3070.bin  wcd9320
I really hope you can help me finding a solution for this problem. I am struggling with this for several days now...

Kind Regards,
h0r57