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

install via dkms error ubuntu 22.04.2 x64 #215

Closed Robson96 closed 1 year ago

Robson96 commented 1 year ago

r0b1nh00d@security:~/rtl8821CU$ sudo ./dkms-install.sh About to run dkms install steps... Creating symlink /var/lib/dkms/rtl8821CU/5.4.1/source -> /usr/src/rtl8821CU-5.4.1

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... 'make' KVER=5.19.0-32-generic..................................................................(bad exit status: 2) ERROR (dkms apport): binary package for rtl8821CU: 5.4.1 not found Error! Bad return status for module build on kernel: 5.19.0-32-generic (x86_64) Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... 'make' KVER=5.19.0-32-generic.......................................................^C

jvvasquesn commented 1 year ago

Try this https://github.com/morrownr/8821cu-20210916

Robson96 commented 1 year ago

I installed it, and it worked perfectly.