Installing
3. Downloading Realtek rtl8821CU Driver
Download Realtek rtl8821CU Driver in GNU/Linux
Grab the Driver Installation Script.
Thanks to fars-robotics.net.
If you have a different GNU/Linux OS then you may see instead: Realtek Wifi Drivers Linux Setup Guides.4. Installing Dependencies
Now to Install Required Packages
On Raspberry Pi OS play:sudo apt-get install -y raspberrypi-kernel-headers bc build-essential dkms git
When instead on other Debian/Ubuntu based:
sudo apt-get install -y linux-headers-$(uname -r) build-essential dkms git
5. Installing Realtek rtl8821CU Wifi Driver
Then to Install Realtek rtl8821CU Wireless Driver on Raspberry Pi
First, you need to access the Driver location on the MicroSD Card or USB Device:cd [DRIVERLOC]
To Check it’s there List the contents with:
ls . | grep tar
The grep Command refine the output List showing only the Entries matching the Keyword.
But if you are in Trouble to Find it out on Terminal then See: How to Access USB Device.
And then to set up the Installation Script run:chmod +x install-wifi
sudo mv install-wifi /usr/bin/
Now to Install Realtek Driver play:
sudo install-wifi
For Help use:
install-wifi -h
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.
Possibly for more detailed instructions see: fars-robotics.net.
Finally, in case of Issue you may see also: Realtek Wifi Drivers Linux Setup Guides.How to Setup Micro SD Card Guide
In the same way then you may then Copy the Downloaded Driver into it.