EDIT: Solved, I was using the wrong kernel, you need nethunter kernel in order to put your devices in monitor mode.
Hey guys, I've been digging around all over the web but I couldnt find anything useful.
I am connecting a TL-WN722N with Y cable plugged into the wall to my One Plus One running NetHunter 3.0.5 on CM12.1.
The system runs in multiRom as a secondary rom. The primary rom is a stock CM12.1
The problem:
1. lsusb shows the device (Bus 001 Device 002)
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
2. wifite or any other software won't show the device wlan1 (wlan0 is the integrated one)
Code:
root@kali:~# wifite
.;' `;,
.;' ,;' `;, `;, WiFite v2 (r87)
.;' ,;' ,;' `;, `;, `;,
:: :: : ( ) : :: :: automated wireless auditor
':. ':. ':. /_\ ,:' ,:' ,:'
':. ':. /___\ ,:' ,:' designed for Linux
':. /_____\ ,:'
/ \
[!] the program cowpatty is not required, but is recommended
[+] scanning for wireless devices...
[+] available wireless devices:
1. p2p0 ?????? Not pci, usb, or sdio
2. wlan0 ?????? Not pci, usb, or sdio
[+] select number of device to put into monitor mode (1-2):
Things I've tried:
1.
Code:
Open custom command - Add command -
label:
Monitor mode
command:
ifconfig wlan1 up && airmon-ng start wlan1
send to : Kali
Exec mode : Background
Leave
Run at boot -
Then tap on Update.
When start run custom command and Monitor mode - tap RUN
2.
Code:
root@kali:~# ifconfig wlan1 up
wlan1: ERROR while getting interface flags: No such device
both operations gave me negative results (no such device)
3. Plugged an USB stick to the otg y cable and it works
4. Tried the TL-WN722N Adapter on a Kali machine and works perfectly plug-n-play
5. Run apt-get update && apt-get install firmware-atheros - says firmware-atheros is already the newest version
I don't know what to do, I've been trying to make this working for a week now and it doesnt seem to be anything useful on google.
Any hints please?
Thank you very much.