TP Link T2U Plus (AC600) drivers

Hello.

I am trying to install the drivers needed for the TP Link T2U plus, and have found drivers for it on github, but I have no clue on how to install it. I can’t use DKMS as it isn’t even installed and there is no .sh file to install it. I can’t install anything without a connection, and cannot get a connection without the wifi adapter.

What do I do? (Here are the drivers: GitHub - aircrack-ng/rtl8812au: RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection)

(Also, to avoid a repeat of what someone said on reddit, no I will not just throw it away/stop using it. I just want my question answered.)

Hello, and welcome to ask :fedora:

You can install dkms on fedora with sudo dnf install dkms

Then follow the steps in the README.md file that is downloaded with that driver.
I will copy the instructions below, with the dkms install step modified for fedora instead of ubuntu/debian derivitives.

### DKMS
This driver can be installed using [DKMS]. This is a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated. To make use of DKMS, install the `dkms` package, which on RedHat (based) systems is done like this:

$ sudo dnf install dkms


### Download

$ git clone -b v5.6.4.2 https://github.com/aircrack-ng/rtl8812au.git
cd rtl*

### Installation of Driver
In order to install the driver open a terminal in the directory with the source code and execute the following command:

$ sudo make dkms_install

### Removal of Driver
In order to remove the driver from your system open a terminal in the directory with the source code and execute the following command:

$ sudo make dkms_remove

Without an existing connection you could download that zip file found by following the link you posted to another machine. On that page the zip file appears after clicking on the ‘CODE’ button. Put it onto a flash drive and copy it into the machine where it is needed, then unzip it. This would be done instead of using the ‘git clone’ command shown above.

It would also necessitate downloading the files needed to install dkms the same way and placing them on a usb device for transfer and install on the machine that has no internet connection.

The simplest way would be to either buy or borrow a supported wifi dongle and use that temporarily while installing the appropriate driver for the wifi you already have.
Another alternative would be to connect to an ethernet wired port somewhere while downloading the needed packages. (most laptops have both wifi and ethernet).

Thanks for this, I will try this later. First, though, how do I use my laptop (that runs linux mint) to get DKMS over to my desktop? And, is there any way to do it without external media? My only flash drive is being used to run Fedora Live, just so I can test the driver that I am trying to install, just incase it doesn’t work. Secondly, I am using a wifi dongle (the TP LINK T2U plus) for internet on my machine, and that is what I am trying to get the drivers for as I do not have any way of using ethernet with where my computer is and it has no built-in wifi card.

But anyways, how do I get DKMS on my desktop (if I can) without external media, and if not how do I do it with a flash drive?

I don’t know your situation, but around here small usb devices are very inexpensive. 4 GB flash drives are generally < $3.00 each. Amazon sells a 10 pack for <$25.00

You have 2 machines. Are you saying that neither has internet access? If one has internet access then the files can be downloaded there and placed on the usb device for transfer.

To have a writable usb device to still be able to use for booting from the iso image you might consider installing ventoy on that usb device, then simply copy the iso onto the device as a file. Ventoy is capable of booting an iso from the usb device and leaving the usb device writable. Using ventoy you could use a single usb device to both boot the iso and transfer files between systems (including having the packages available for install into the running live system).

There is a problem when using a live system though, in that you would not be able to reboot the live system to load the compiled drivers as you would with an installed system. You would have to manually load the drivers and activate the device.

one device has internet access (the laptop) and the other does not.

i think i might just buy another flash drive, as it is also cheap around here.

but if i did a sudo apt install dkms on my machine with internet access, how would i be able to get it onto a flash drive and onto my other machine without internet access?

Hello everyone, I’m new to this and I’ve only been in Nobara for two days. Doing the steps you show, after running sudo make dkms_install, I get the following error:

nasa@Nobara:~/rtl8812au$ sudo make dkms_install
grep: warning: stray \ before #
grep: warning: stray \ before #
grep: warning: stray \ before #
grep: warning: stray \ before #
grep: warning: stray \ before #
mkdir: se ha creado el directorio '/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 build -m 8812au -v 5.6.4.2_35491.20191025
Sign command: /lib/modules/6.8.12-200.fsync.fc39.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s)................
Signing module /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/88XXau.ko
Cleaning build area...
dkms install -m 8812au -v 5.6.4.2_35491.20191025

88XXau.ko.xz:
Running module version sanity check.
Module version v5.6.4.2_35491.20191025 for 88XXau.ko.xz
exactly matches what is already found in kernel 6.8.12-200.fsync.fc39.x86_64.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
make: *** [Makefile:1791: dkms_install] Error 6

And I have searched many forums for a solution.
I don’t know if you could help me please :c

Note that this is a fedora forum and you are using nobara. Please use their support lines since we do not use the heavily modified software they provide.

You also are asking a question that does not seem related to the topic of this thread and the thread has been inactive for more than a year.

Closing

1 Like