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.
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.
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
$ git clone -b v188.8.131.52 https://github.com/aircrack-ng/rtl8812au.git
### 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.