I have been trying to install the driver for a USB Wifi Adapter 802 .11ac (Realtex I think).
This has been a difficult process. The device came with a CD Rom. What I have done is:
- Open the folder LINUX/8811AUlinux (there is another folder called RTL81888192EUS_linux_v4.3.0.4_11485.20140519... which has similar looking files including an install.sh file which I tried installing to no avail)
- Extract the files in "RTL8821AU_Linux_v5.2.6_21981_COEX20170206-6760.20170407.zip" to a new folder Documents/USB Wifi
- Open the folder location in terminal by right-clicking the folder and choosing "open in terminal" (glad I finally figured out that shortcut)
- Run the command "sudo bash install.sh" - i had tried without sudo privilege and ran into an authentication error.
- I get a long string of text and then this at the end:
Authentication requested [root] for make driver: make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-38-generic/build M=/home/n/Documents/USB Wifi/RTL8821AU_Linux_v5.2.6_21981_COEX20170206-6760.20170407/driver/rtl8821AU_WiFi_linux_v5.2.6_21981.20170407_COEX20170206-6760 modules make[1]: Entering directory '/usr/src/linux-headers-5.8.0-38-generic' make[1]: *** No rule to make target 'Wifi/RTL8821AU_Linux_v5.2.6_21981_COEX20170206-6760.20170407/driver/rtl8821AU_WiFi_linux_v5.2.6_21981.20170407_COEX20170206-6760'. Stop. make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-38-generic' make: *** [Makefile:1877: modules] Error 2 ################################################## Compile make driver error: 2 Please check error Mesg ##################################################
This is what the adapter seems to show up like when I type "lsusb" in terminal: Bus 003 Device 005: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC
Please let me know if you have any suggestions. I'm using Ubuntu 20.04 on a Thinkpad T530. Thank you.
lsusb
with the usb wifi plugged in