brektrou / rtl8821CU

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

Having issues installing the headers #121

Open CD2902 opened 3 years ago

CD2902 commented 3 years ago

Trying to run the command to install the driver but its failing on my side.... Any suggestions?

└─$ sudo ./dkms-install.sh 1 ⨯ About to run dkms install steps... Error! DKMS tree already contains: rtl8821CU-5.4.1 You cannot add the same module/version combo more than once. Error! echo Your kernel headers for kernel 5.9.0-kali1-amd64 cannot be found at /lib/modules/5.9.0-kali1-amd64/build or /lib/modules/5.9.0-kali1-amd64/source. You can use the --kernelsourcedir option to tell DKMS where it's located. Error! echo Your kernel headers for kernel 5.9.0-kali1-amd64 cannot be found at /lib/modules/5.9.0-kali1-amd64/build or /lib/modules/5.9.0-kali1-amd64/source. You can use the --kernelsourcedir option to tell DKMS where it's located. Finished running dkms install steps.

haqdost commented 3 years ago

Same here

Sayyid01 commented 2 years ago

it's obvious, our kernel-header version is not supported by this driver, maybe it supports the older version of kali.