Hi!
I installed an Armbian 22.11 Jammy XFCE on my Orange Pi One device and would like using wifi+bluetooth USB stick with rtl8821cu chipset.
I found the driver at https://github.com/morrownr/8821cu-20210118 , so at first-time runing distro I launch:
sudo apt update && sudo apt upgrade
then clone repo and
sudo apt install -y build-essential
and for the end launch
sudo ./install-driver.sh
Now i get an error shown below. Does anybody now how it can be resolved?
root@orangepione:~/src/8821cu-20210118# sudo ./install-driver.sh
Script: install-driver.sh v20230101
Kernel: 5.15.80-sunxi
Arch : armv7l
gcc : gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Installing 8821cu.conf to /etc/modprobe.d
The non-dkms installation routines are in use.
make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.15.80-sunxi/build M=/root/src/8821cu-20210118 modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.80-sunxi'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [Makefile:749: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.15.80-sunxi'
make: *** [Makefile:2501: modules] Error 2
An error occurred: 2
Please report this error.
Please copy all screen output and paste it into the problem report.
You will need to run the following before reattempting installation.
$ sudo ./remove-driver.sh