brektrou / rtl8821CU

Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
GNU General Public License v2.0
1.58k stars 458 forks source link

No rule to make target on linux-headers-5.4.0-107-generic #169

Open absiddiqueLive opened 2 years ago

absiddiqueLive commented 2 years ago

Hello, Hope you are doing well, I am facing the below error

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-107-generic/build M=/home/username/RTL8811CU Driver/rtl8821CU modules make[1]: Entering directory '/usr/src/linux-headers-5.4.0-107-generic' make[1]: No rule to make target 'Driver/rtl8821CU'. Stop. make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-107-generic' make: [Makefile:2217: modules] Error 2

kelebek333 commented 2 years ago

You can try to install from PPA with DKMS support.

sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update
sudo apt install rtl8821cu-dkms