7

Cannot make this wireless adapter work on Ubuntu 20.04... please help.

I've tried this: TP-LINK Archer T3U not working in Ubuntu 18.04 and now lsusb sees the device, but still doesn't work.

lsusb: Bus 002 Device 006: ID 2357:0138 TP-Link 802.11ac NIC

uname -r: 5.4.0-39-generic

Edit: It works on my other computer with Ubuntu 18.04 using T2U Plus driver from here: https://github.com/RinCat/RTL88x2BU-Linux-Driver

But it does not work with Ubuntu 20.04...

sudo modprobe 88x2bu: Gives nothing.

modinfo 88x2bu | grep -e version -e 0138 :

version:        v5.6.1_30362.20181109_COEX20180928-6a6a
srcversion:     9C5282368F93050B7206C8D
parm:           rtw_chip_version:int

dmesg | grep 88x2 :

[ 8087.334869] 88x2bu: loading out-of-tree module taints kernel.
[ 8087.336610] 88x2bu: module verification failed: signature and/or required key missing - tainting kernel
[ 8087.341389] usbcore: registered new interface driver rtl88x2bu
Carlos
  • 73

4 Answers4

9

Please notice at the git repository that you linked:

enter image description here

Your son is evidently using the latest (5 or less days ago) version and you are not.

Since dkms status returned nothing, we conclude that you installed with sudo make install. Let's remove the inoperative driver, update it and reinstall:

cd ~/RTL88x2BU-Linux-Driver/
sudo make uninstall
make clean
git pull
make
sudo make install
sudo modprobe 88x2bu

After each kernel update, you must recompile:

cd ~/RTL88x2BU-Linux-Driver/
make clean
git pull
make
sudo make install
sudo modprobe 88x2bu

EDIT: As we have seen, the git pull step was ineffective as you downloaded the zip file rather than obtaining the driver by git clone.

Please do:

cd ~/RTL88x2BU-Linux-Driver-master

Or whatever the name of the previously downloaded and extracted driver file is. Next:

sudo make uninstall
cd ..
sudo rm -r RTL88x2BU-Linux-Driver-master

Now. we'll download a fresh copy with updates that drive your device. With a temporary working internet connection, please do:

wget https://github.com/RinCat/RTL88x2BU-Linux-Driver/archive/master.zip
unzip master.zip
cd RTL88x2BU-Linux-Driver-master
make
sudo make install
sudo modprobe 88x2bu
chili555
  • 61,330
0

Open a terminal and with a temporary internet connection run:

sudo apt update; sudo apt install git linux-headers-generic dkms 
git clone "https://github.com/RinCat/RTL88x2BU-Linux-Driver.git" /usr/src/rtl88x2bu-git
sed -i 's/PACKAGE_VERSION="@PKGVER@"/PACKAGE_VERSION="git"/g' /usr/src/rtl88x2bu-git/dkms.conf
dkms add -m rtl88x2bu -v git
dkms autoinstall
Error404
  • 8,278
  • 3
  • 35
  • 60
0

The below code is recommended by the TP-link community. It works for me.

git clone https://github.com/cilynx/rtl88x2bu.git
cd rtl88x2bu
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu 
0

TP-Link ARCHER T3U PLUS works automatically under Ubuntu 23.4 (GERMAN): Anwendungen > WLAN > Verfügbare Verbindungen (HotSpots) > password.