oleg-orangepione Posted January 28, 2023 Posted January 28, 2023 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 0 Quote
oleg-orangepione Posted January 28, 2023 Author Posted January 28, 2023 (edited) I found solution. I install another driver https://github.com/brektrou/rtl8821CU , so it works now. Edited January 29, 2023 by oleg-orangepione It's steel not work. It's just launch bluetooth, but not wifi 1 Quote
oleg-orangepione Posted January 29, 2023 Author Posted January 29, 2023 (edited) From second driver very similar error: root@orangepione:~/build/rtl8821CU# make make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.15.80-sunxi/build M=/root/build/rtl8821CU 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:2217: modules] Error 2 Edited January 29, 2023 by oleg-orangepione lexical error 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.