CONNECT WIFI IN LINUX OS IN VMWARE/ Realtek RTL8811CU/RTL8821CU USB wifi adapter driver installation

Опубликовано: 17 Июль 2026
на канале: GSR
13,482
108

TO CONNECT WIFI IN LINUX OS IN VMWARE
Realtek RTL8811CU/RTL8821CU USB wifi adapter driver

Step 1:
#mkdir -p ~/build
#cd ~/build
#git clone https://github.com/brektrou/rtl8821CU...
#sudo apt-get install dkms

Step 2:
Plug your USB-wifi-adapter into your PC
#cd ~/build/rtl8821CU
#make

If you face any issues like
(for missing bc)
#Sudo apt install bc

for this error: Depends: libwacom-common (= 2.1.0-2) but 1.12-1 is to be installed E: Broken packages
#apt install libwacom9 libwacom-common=2.1.0-2

make[1]: *** No rule to make target 'modules'
#apt update -y && apt upgrade -y && apt dist-upgrade
#sudo reboot
#sudo apt install linux-headers-$(uname -r)


#cd ~/build/rtl8821CU
#make
#sudo make install

Incase if the wifi are not shown:
#nano /etc/NetworkManager/NetworkManager.conf
Change
managed=true
Add
[device]
wifi.scan-rand-mac-address=yes
Then
#service NetworkManager restart
#sudo reboot