Kismet Wireless

Kismet Forums

 

Posted by:tlacuache
Subject:Driver issues with TP-Link Archer T4UHP AC1300
Date:18:53:34 18/09/2018

I recently purchased a TP-Link Archer T4UHP AC1300 (v1.0).

I've compiled and tested drivers from the following repos:

https://github.com/abperiasamy/rtl8812AU_8821AU_linux
https://github.com/aircrack-ng/rtl8812au

In both cases, I am able to get Kali to recognize the adapter (I can see it with ifconfig/iwconfig/iw).

ifconfig -a output:

wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether d4:6e:0e:11:0a:77 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 111 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ip output:

3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether d4:6e:0e:11:0a:77 brd ff:ff:ff:ff:ff:ff

iwconfig output:

wlan0 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/100 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

I attempt to run airmon-ng:

root@kali:~# airmon-ng check


root@kali:~# airmon-ng

PHY Interface Driver Chipset

phy0 wlan0 rtl8812au

root@kali:~# airmon-ng start wlan0


PHY Interface Driver Chipset

phy0 wlan0 rtl8812au
cat: /sys/class/ieee80211/phy0/device/net/wlan0mon/type: No such file or directory

Newly created monitor mode interface wlan0mon is *NOT* in monitor mode.
Removing non-monitor wlan0mon interface...

WARNING: unable to start monitor mode, please run "airmon-ng check kill"
root@kali:~#

If I run airmon-ng again, I get this: # airmon-ng start wlan0

PHY Interface Driver Chipset

phy0 wlan0 rtl8812au

Error setting channel: command failed: Operation not supported (-95)

(mac80211 monitor mode already enabled for [phy0]wlan0 on [phy0]10)

airodump-ng seems to run:

root@kali:~# airodump-ng wlan0
CH 10 ][ Elapsed: 6 s ][ 2018-09-18 14:18 ][ wlan0 reset to monitor mode
BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID

98:FC:11:72:86:4C -4 134 9 1 1 54e WPA TKIP PSK acme_chemical
50:06:04:E2:A4:C2 -11 63 1599 171 1 54e WPA acme_fuelfarm
00:0C:41:7B:4C:60 -31 46 0 0 1 11 WEP WEP <length: 12>

BSSID STATION PWR Rate Lost Frames Probe

(not associated) A0:CC:2B:82:F9:8C -47 0 - 1 0 1
(not associated) 00:23:69:3B:88:EC -19 0 - 1 0 1 acme_power
(not associated) B8:27:EB:6E:CD:93 -19 0 - 1 5 3
(not associated) D6:EF:3B:D8:44:2E -43 0 - 1 0 1

But, I think that unable to set channel error I saw when re-running airmon-ng is the crux of the matter. When I attempt to run kismet, I get this:

....
INFO: No packet sources defined. You MUST ADD SOME using the Kismet
client, or by placing them in the Kismet config file
(/etc/kismet/kismet.conf)
INFO: Kismet server accepted connection from 127.0.0.1
ERROR: Didn't understand driver 'rtl8812au' for interface 'wlan0', but it
looks like a mac80211 device so Kismet will use the generic options
for it. Please post on the Kismet forum or stop by the IRC channel
and report what driver it was.
INFO: Matched source type 'mac80211' for auto-type source 'wlan0'
INFO: Using hardware channel list 1:3,2,3,4,5,6:3,7,8,9,10,11:3,36,40,44,48
,52,56,60,64,100,104,108,112,116,132,136,140,149,153,157,161,165, 32
channels on source wlan0
INFO: Source 'wlan0' will attempt to create and use a monitor-only VIF
instead of reconfiguring the main interface
INFO: Created source wlan0 with UUID a3fed43a-bb71-11e8-b8b8-0f04751ce201
INFO: Will attempt to reopen on source 'wlan0' if there are errors
INFO: Added source 'wlan0:name=wlan0,' from client ADDSOURCE
INFO: Bringing down primary interface 'wlan0' to prevent wpa_supplicant
and NetworkManager from trying to configure it
INFO: Source 'wlan0': channel get ioctl failed 22:Invalid argument
INFO: Started source 'wlan0'
ERROR: Packet source 'wlan0' failed to set channel 1: mac80211_setchannel()
could not set channel 1/2412 on interface 'wlan0mon' err -10
ERROR: Packet source 'wlan0' failed to set channel 5: mac80211_setchannel()
could not set channel 5/2432 on interface 'wlan0mon' err -10
ERROR: Packet source 'wlan0' failed to set channel 9: mac80211_setchannel()
could not set channel 9/2452 on interface 'wlan0mon' err -10
ERROR: Packet source 'wlan0' failed to set channel 40: mac80211_setchannel(
) could not set channel 40/5200 on interface 'wlan0mon' err -10
ERROR: Packet source 'wlan0' failed to set channel 56: mac80211_setchannel(
) could not set channel 56/5280 on interface 'wlan0mon' err -10
ERROR: Packet source 'wlan0' failed to set channel 104: mac80211_setchannel
() could not set channel 104/5520 on interface 'wlan0mon' err -10

And I don't see any packets. Afterwards I have to manually remove the wlan0mon device.

I've also tried manually putting wlan0 in monitor mode with ifconfig/iwconfig, and I've tried manually adding the wlan0mon device and using it directly, but I have the same errors.

I'm starting to run out of ideas. Does anyone here have any suggestions for me? Or, even if one of you has the same device with similar problems it would be nice to know it's not just me doing something wrong.

Thanks.


Reply to this message