sudo apt-get update sudo apt-get install -y raspberrypi-kernel-headers bc build-essential dkms git git clone https://github.com/brektrou/rtl8821CU.git cd rtl8821CU nano Makefile # Then enable arm_rpi and disable others make sudo make install sudo reboot