TP-Link AC600 Driver installation failed

Hello,

I recently bought an TP-Link AC600 T2U Plus WIFI adapter.
I followed the instruction at https://ostechnix.com/install-tp-link-ac600-archer-t2u-nano-wifi-usb-adapter-in-linux/ to install the driver.

But at the last step:

 sudo make dkms_install

I’m receiving an error message:

mkdir -p /usr/src/8812au-5.6.4.2_35491.20191025
cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
dkms add -m 8812au -v 5.6.4.2_35491.20191025

Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source ->
                 /usr/src/8812au-5.6.4.2_35491.20191025

DKMS: add completed.
dkms build -m 8812au -v 5.6.4.2_35491.20191025

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j4 KVER=5.3.18-59.19-default KSRC=/lib/modules/5.3.18-59.19-default/build...........(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.3.18-59.19-default (x86_64)
Consult /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/make.log for more information.
make: *** [Makefile:2304: dkms_install] Error 10

Please help!

The kernel in openSUSE are not the kernel as it seems, kernel 5.3 in Leap 15.3 is a backported kernel 5.9, so it can be, that you have to patch the sources.

But I have build many kmps in my Repo.
So please post with the TP-Link in the USB:

lsusb
uname -a

I can say, which driver is for your Wifi.

{USB_DEVICE(0x2357, 0x011F),.driver_info = RTL8821}, /* TP-Link - Archer AC600 T2U Nano */

Maybe its this one?

Bus 001 Device 009: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]
uname -a

I can say, which driver is for your Wifi.

 
Linux localhost.localdomain 5.3.18-59.19-default #1 SMP Tue Aug 3 14:11:23 UTC 2021 (055c4fd) x86_64 x86_64 x86_64 GNU/Linux

Many thanks!

Install:
https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Leap_15.3/x86_64/rtl8812AU_8821AU-kmp-default-20200731_k5.3.18_57-lp153.5.1.x86_64.rpm

After reboot and working Wlan, add this Repo because of the updated kernel with following command:

zypper ar -f https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Leap_15.3_Update/ Sauerland-Update

Update your System by

zypper up

And see, if you get a newer rtl8812au…

Received

rtl8812AU_8821AU-kmp-default-20200731_k5.3.18_59.19-lp153.5.1

With which command can we check the integrity of the installation?

Best wishes!

post:

uname -a
zypper se -si kernel rtl8812au

You must not quote this, you can do this with one Code-Tag:

stephan@linux64:~> uname -a
Linux linux64 5.13.11-lp153.5.g8c13a2d-default #1 SMP Mon Aug 16 05:23:16 UTC 2021 (8c13a2d) x86_64 x86_64 x86_64 GNU/Linux
stephan@linux64:~> 

Ever the whole commandline and the whole line after the output…

Linux localhost.localdomain 5.3.18-59.19-default #1 SMP Tue Aug 3 14:11:23 UTC 2021 (055c4fd) x86_64 x86_64 x86_64 GNU/Linux


i+ | rtl8812AU_8821AU-kmp-default     | package | 20200731_k5.3.18_57-lp153.5.1    | x86_64 | (System Packages)
i+ | rtl8812AU_8821AU-kmp-default     | package | 20200731_k5.3.18_59.19-lp153.5.1 | x86_64 | Sauerland-Update

I hope everything shows right now.

Now all is working, you can delete this:

i+ | rtl8812AU_8821AU-kmp-default     | package | 20200731_k5.3.18_57-lp153.5.1    | x86_64 | (System Packages)

And your package will be automatically updated if a new kernel is delivered.

How do you do this?
I could not find my way around in Yast.

Search for that package, mark it and go to the Version Tab.

I ran

zypper se -si kernel rtl8812au

again and the output is:

i+ | rtl8812AU_8821AU-kmp-default     | package | 20200731_k5.3.18_59.19-lp153.5.1 | x86_64 | (System Packages)
i+ | rtl8812AU_8821AU-kmp-default     | package | 20200731_k5.3.18_57-lp153.5.1    | x86_64 | (System Packages)

In the version tab 153.5.2. from Sauerland Update is turned off.

Waiting for further instruction.

You have not enabled/refreshed my Repo, its a new kmp there…

PS::
https://www.krauttranslate.de/~sauerland/Auswahl_004.png

Did that: (img after change)

https://i.ibb.co/GnfwZHJ/Thursday-19-08-2021-17-44.png

Am I supposed to change here anything? :

https://i.ibb.co/0MhM055/Thursday-19-08-2021-17-43.png

Broadcom was an example, but you can delete it and blacklist it…

Also you can delete the 5.3.18_57 kmp for the rtl8812au…

Hi all. The same problem. Please help

Bus 008 Device 002: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]

Linux localhost.localdomain 5.3.18-59.24-preempt #1 SMP PREEMPT Mon Sep 13 15:06:42 UTC 2021 (2f872ea) x86_64 x86_64 x86_64 GNU/Linux

I’ve tried many variations of what I find
Tried from yast 20200731_k5.3.18_59.24-lp153.6.4 ; 5.9.3.2+git20210427.6ef5d8f-lp153.1.1

Tried from software.opensuse.org different and home Ximi1970 Dkms for 15.3 dkms-rtl8812au-5.3.4-lp153.12.36 , dkms-rtl88xxau-5.6.4.1-lp153.7.36

Tried two from github

Only one works: 20200731_k5.3.18_59.24-lp153.6.4 , but just 2.4 not 5ghz. And it looks like this
RTL871X: module init start
17.213979] RTL871X: rtl8812au


About

zypper ar -f https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Leap_15.3_Update/ Sauerland-Update

and zypper up. This gives 11 errors example

Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'SUSE:SLE-15-SP2:Update' because of the above error.
Retrieving repository 'SUSE:SLE-15-SP2:GA' metadata ............................................................................................................................................[error]
Repository 'SUSE:SLE-15-SP2:GA' is invalid.
[https-download.opensuse.org-360ed17a|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/GA/pool/] Valid metadata not found at specified URL
History:
 - [https-download.opensuse.org-360ed17a|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/GA/pool/] Repository type can't be determined.

what could be wrong?

what could be wrong? 

You have added Repos not for Leap 15.3 and when you copy the URL to a browser you get a 404 error…

Thx. I removed the incorrect repo.
Of course, I copied to cmd. Now not errors.

But this does not give suggestions.

Work just this rtl8812AU_8821AU-kmp-preempt - Realtek 8812AU 8821AU Wireless LAN Drivers 20200731_k5.3.18_59.24-lp153.6.4


   14.309030] rtl8812au: loading out-of-tree module taints kernel.
   14.310085] rtl8812au: module verification failed: signature and/or required key missing - tainting kernel
   14.320138] RTL871X: module init start
   14.320141] RTL871X: rtl8812au v4.3.14_13455.20150212_BTCOEX20150128-51
   14.320142] RTL871X: rtl8812au BT-Coex version = BTCOEX20150128-51
   14.475137] RTL871X: rtw_ndev_init(wlan0)
   14.475436] usbcore: registered new interface driver rtl8812au
   14.475437] RTL871X: module init ret=0

But without 5ghz.
Is this even possible?

Please post:

zypper se -si kernel rtl8812
uname -a