Install TP-Link T2U Plus Driver on Jetpcak 5.1.1

I try theese command to install driver:

sudo apt install git dkms
git clone -b v5.6.1 https://github.com/fastoe/RTL8812BU_for_Raspbian
cd RTL8812BU_for_Raspbian

ubuntu@EAC-6000:~/workspaces/RTL8812BU_for_Raspbian$ make ARCH=arm64
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.10.104-tegra/build M=/home/ubuntu/workspaces/RTL8812BU_for_Raspbian  modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.104-tegra-ubuntu20.04_aarch64/kernel-5.10'

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

Makefile:675: include/config/auto.conf: No such file or directory
make[1]: *** [Makefile:750: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.10.104-tegra-ubuntu20.04_aarch64/kernel-5.10'
make: *** [Makefile:2284: modules] Error 2
ubuntu@EAC-6000:~/workspaces/RTL8812BU_for_Raspbian$ ls /boot/config-$(uname -r)
ls: cannot access '/boot/config-5.10.104-tegra': No such file or directory
ubuntu@EAC-6000:~/workspaces/RTL8812BU_for_Raspbian$ 

How can I install driver on Jetpcak 5.1.1?
thanks!

Jetson Info:

Software part of jetson-stats 4.2.12 - (c) 2024, Raffaello Bonghi
Model: Jetson AGX Orin - Jetpack 5.1.1 [L4T 35.3.1]
NV Power Mode[0]: MAXN
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:
 - Module: Check with sudo
Platform:
 - Distribution: Ubuntu 20.04 focal
 - Release: 5.10.104-tegra
jtop:
 - Version: 4.2.12
 - Service: Active
Libraries:
 - CUDA: 11.4.315
 - cuDNN: 8.6.0.166
 - TensorRT: 8.5.2.2
 - VPI: 2.2.7
 - Vulkan: 1.3.204
 - OpenCV: 4.10.0 - with CUDA: YES

I try a long time,
This method can work on Jetpack 5.1.1

Test Avalible Wi-Fi Card Model:

  1. TP-Link T2U Plus
  2. Asus USB-AC58

Github:

morrownr/88x2bu-20210702: Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets - v5.13.1

Install Command:

git clone https://github.com/morrownr/88x2bu-20210702
cd ~/88x2bu-20210702
sudo ./install-driver.sh
n
y
2 Likes

Glad to know you found the solution, thanks for your sharing!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.