Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Install rtl8821cu driver on orange pi one with Armbian 22.11 Jammy XFCE on board

Featured Replies

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

 

  • Author

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 by oleg-orangepione
lexical error

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.