This is the result of trying to reinstall.
[email protected] ~ $ sudo apt-get install dkms git
[sudo] password for usertwo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
dkms is already the newest version (2.2.0.3-2ubuntu11.5).
git is already the newest version (1:2.7.4-0ubuntu1.6).
The following packages were automatically installed and are no longer required:
linux-headers-4.10.0-38 linux-headers-4.10.0-38-generic
linux-image-4.10.0-38-generic linux-image-extra-4.10.0-38-generic
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
[email protected] ~ $ mkdir ~/RTL8812AU
mkdir: cannot create directory ‘/home/usertwo/RTL8812AU’: File exists
[email protected] ~ $ cd ~/RTL8812AU
[email protected] ~/RTL8812AU $ git clone
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.gitfatal: destination path 'rtl8812AU_8821AU_linux' already exists and is not an empty directory.
[email protected] ~/RTL8812AU $ cd ~/RTL8812AU/
[email protected] ~/RTL8812AU/rtl8812AU_8821AU_linux $ sudo make -f Makefile.dkms install
make clean
make[1]: Entering directory '/home/usertwo/RTL8812AU/rtl8812AU_8821AU_linux'
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-43-generic/build M=/home/usertwo/RTL8812AU/rtl8812AU_8821AU_linux clean
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-43-generic'
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-43-generic'
make[1]: Leaving directory '/home/usertwo/RTL8812AU/rtl8812AU_8821AU_linux'
mkdir -p '/usr/src/rtl8812au-4.3.14'
cp -r dkms.conf Kconfig Makefile.dkms Makefile platform core hal include os_dep '/usr/src/rtl8812au-4.3.14'
cp Makefile '/usr/src/rtl8812au-4.3.14/Makefile'
sed 's/#MODULE_VERSION#/4.3.14/' dkms.conf > '/usr/src/rtl8812au-4.3.14/dkms.conf'
dkms add -m rtl8812au -v 4.3.14 2>/dev/null || true
dkms build -m rtl8812au -v 4.3.14
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=4.15.0-43-generic KVER=4.15.0-43-generic.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.15.0-43-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.14/build/make.log for more information.
Makefile.dkms:18: recipe for target 'build' failed
make: *** [build] Error 10
[email protected] ~/RTL8812AU/rtl8812AU_8821AU_linux $ sudo modprobe rtl8812au
modprobe: FATAL: Module rtl8812au not found in directory /lib/modules/4.15.0-43-generic
[email protected] ~/RTL8812AU/rtl8812AU_8821AU_linux $