Archer T4U drivers do not work Linux/Kali 2020

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Archer T4U drivers do not work Linux/Kali 2020

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Archer T4U drivers do not work Linux/Kali 2020
Archer T4U drivers do not work Linux/Kali 2020
2020-11-25 07:48:06
Model: Adapter  
Hardware Version: V3
Firmware Version:

I am running 

5.8.0-kali2-amd64

 

I have tried using this driver T4U_V3_181018_Linux_beta.zip and followed the instructions in Linux Installation Guide under Kali 2018.1 (was developed for Kernel source version 4.14.0-kali3-amd64)

 

I am getting the following error:

 

kali@kali:~/source-code/T4Uv3_WiFi_linux_v5.3.1_beta$ dpkg-query -s linux-headers-$(uname -r)


Package: linux-headers-5.8.0-kali2-amd64
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 5701
Maintainer: Kali Developers devel@kali.org
Architecture: amd64
Source: linux
Version: 5.8.10-1kali1
Depends: linux-headers-5.8.0-kali2-common (= 5.8.10-1kali1), linux-kbuild-5.8 (>= 5.8.10-1kali1), linux-compiler-gcc-10-x86
Description: Header files for Linux 5.8.0-kali2-amd64
This package provides the architecture-specific kernel header files for
Linux kernel 5.8.0-kali2-amd64, generally used for building out-of-tree
kernel modules. These files are going to be installed into
/usr/src/linux-headers-5.8.0-kali2-amd64, and can be used for building
modules that load into the kernel provided by the
linux-image-5.8.0-kali2-amd64 package.
Homepage: kali.org

 

kali@kali:~/source-code/T4Uv3_WiFi_linux_v5.3.1_beta$ make

 

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-kali2-amd64/build M=/home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta modules
make[1]: Entering directory '/usr/src/linux-headers-5.8.0-kali2-amd64'
CC [M] /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/core/rtw_cmd.o
In file included from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/include/drv_types.h:30,
from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/core/rtw_cmd.c:17:
/home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/include/wifi.h:1031: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1031 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/include/osdep_service_linux.h:83,
from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/include/osdep_service.h:50,
from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/include/drv_types.h:27,
from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/core/rtw_cmd.c:17:
/usr/src/linux-headers-5.8.0-kali2-common/include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
In file included from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/include/drv_types.h:78,
from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/core/rtw_cmd.c:17:
/home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/include/rtw_security.h:252:8: error: redefinition of ‘struct sha256_state’
252 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.8.0-kali2-common/include/linux/filter.h:23,
from /usr/src/linux-headers-5.8.0-kali2-common/include/net/sock.h:59,
from /usr/src/linux-headers-5.8.0-kali2-common/include/linux/tcp.h:19,
from /usr/src/linux-headers-5.8.0-kali2-common/include/linux/ipv6.h:88,
from /usr/src/linux-headers-5.8.0-kali2-common/include/net/addrconf.h:50,
from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/include/osdep_service_linux.h:48,
from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/include/osdep_service.h:50,
from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/include/drv_types.h:27,
from /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/core/rtw_cmd.c:17:
/usr/src/linux-headers-5.8.0-kali2-common/include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-5.8.0-kali2-common/scripts/Makefile.build:286: /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta/core/rtw_cmd.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.8.0-kali2-common/Makefile:1764: /home/kali/source-code/T4Uv3_WiFi_linux_v5.3.1_beta] Error 2
make[1]: *** [/usr/src/linux-headers-5.8.0-kali2-common/Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-kali2-amd64'
make: *** [Makefile:1999: modules] Error 2

  1      
  1      
#1
Options
5 Reply
Re:Archer T4U drivers do not work Linux/Kali 2020
2020-11-26 08:03:18

@Jack-Lemac 

 

Hello, as far as I know, this T4U_V3_181018_Linux_beta.zip is only tested to be compatible with the Linux (kernel 2.6.18 ~ 4.11), while your system seems updated to a newer version, so the compatibility is no longer guaranteed.

 

You are suggested to seek some help on the open source forums such as GitHub.

 

Thanks for understanding.

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router EasyMesh Is Available When Wi-Fi Routers Work in AP Mode as A Controller. Archer AX55V2 Supports WireGuard VPN, EasyMesh Ethernet Backhaul, IoT Network, Speed Limit,and More If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#2
Options
Re:Archer T4U drivers do not work Linux/Kali 2020
2020-12-13 02:06:00

@Kevin_Z 

 

The USB adapter I have appears to be using a Realtek 802.11ac chipset?

 

If so, these are the native Kali 2020 drivers for realtek. Which one can I use/load to get my Archer T4U working? Your outdated driver is a realtek-rtl88xxbu but I canont find anything that closely matches?

 

 

kali@kali:~$ lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 001 Device 004: ID 2357:0115 TP-Link Archer T4U ver.3

Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

kali@kali:~$ ls /lib/modules/5.8.0-kali2-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/

 

btcoexist  rtl8192c   rtl8192cu  rtl8192ee  rtl8723ae  rtl8723com  rtl_pci.ko  rtlwifi.ko

rtl8188ee  rtl8192ce  rtl8192de  rtl8192se  rtl8723be  rtl8821ae   rtl_usb.ko

 

 

kali@kali:~$ ls /lib/modules/5.8.0-kali2-amd64/kernel/drivers/net/wireless/realtek/rtw88

 

rtw88_8723de.ko  rtw88_8822be.ko  rtw88_8822ce.ko  rtw88_core.ko

rtw88_8723d.ko   rtw88_8822b.ko   rtw88_8822c.ko   rtw88_pci.ko

  0  
  0  
#3
Options
Re:Archer T4U drivers do not work Linux/Kali 2020
2020-12-17 02:40:52

@Jack-Lemac 

 

The chipset for the Archer T4U v3 is RTL8812BU, you may search for the driver from the public sites to see if you can find an updated driver for your Linux 5.8.0-kali2-amd64.

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router EasyMesh Is Available When Wi-Fi Routers Work in AP Mode as A Controller. Archer AX55V2 Supports WireGuard VPN, EasyMesh Ethernet Backhaul, IoT Network, Speed Limit,and More If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#4
Options
Re:Archer T4U drivers do not work Linux/Kali 2020
2020-12-28 21:50:02

@Jack-Lemac 

 

I wouldn't waste your time. I've got the T3U which uses the same chipset and the drivers and the chipset drivers on the AUR just don't work. It will always fail the 4 way handshake and get stuck in a loop.

  0  
  0  
#5
Options
Re:Archer T4U drivers do not work Linux/Kali 2020
2021-01-04 10:13:00

@Gibbo3771 I got into a dead end with this. I ended up buying a Panda Wireless PAU09 Adapter which worked out of the box like a charm! I highly recommend it.

 

  1  
  1  
#6
Options

Information

Helpful: 1

Views: 2239

Replies: 5

Related Articles