Install Wifi Driver Realtek rtl8821ce

Hello,

I have tried to install

  • OpenMandriva Lx version:

Rome 25.04 6.13.9-desktop-3omv2590

  • Desktop environment (KDE, LXQT…):

KDE v 6.3.4 / Framworks v 6.12.0

  • Description of the issue (screenshots if relevant):

The MaxMini B1 Plus mini pc is freezing as soon as a Wifi is connected. I tried to install the 3rd party driver of /tomaspinho/rtl8821ce from github and used the following cmd’s …

sudo dnf update
sudo dnf install dkms make kernel-devel -y
git clone github tomaspinho/rtl8821ce git (no links error msg of this forum platform)
sudo ./dkms-install.sh

after the error output listed below, I tried to update the header information as stated in the error output, but not with much success. Am I on a completly wrong track here? Am I using the right cmd’s, the right driver or is this Wifi hardware not supported?

  • Relevant informations (hardware involved, software version, logs or output…):
[dude@mini rtl8821ce]$ sudo ./dkms-install.sh
About to run dkms install steps...
Creating symlink /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/source -> /usr/src/rtl8821ce-v5.5.2_34066.20200
325

Error! Your kernel headers for kernel 6.13.9-desktop-3omv2590 cannot be found at /lib/modules/6.13.9-desktop-3
omv2590/build or /lib/modules/6.13.9-desktop-3omv2590/source.
Please install the linux-headers-6.13.9-desktop-3omv2590 package or use the --kernelsourcedir option to tell D
KMS where it's located.

Error! Your kernel headers for kernel 6.13.9-desktop-3omv2590 cannot be found at /lib/modules/6.13.9-desktop-3
omv2590/build or /lib/modules/6.13.9-desktop-3omv2590/source.
Please install the linux-headers-6.13.9-desktop-3omv2590 package or use the --kernelsourcedir option to tell D
KMS where it's located.
Finished running dkms install steps.
[dude@mini rtl8821ce]$ sudo dnf install linux-headers-6.13.9-desktop-3omv2590
Last metadata expiration check: 0:32:41 ago on Sat 12 Apr 2025 10:23:00 AM +07.
No match for argument: linux-headers-6.13.9-desktop-3omv2590
Error: Unable to find a match: linux-headers-6.13.9-desktop-3omv2590

@dude
welcome1

Newcomers Tips
How to update OpenMandriva system

sudo dnf install kernel-headers --refresh

Not yet successful, still freezing when wifi is connected … here I am trying to install / re-install driver / header … below the output in the make.log file

[dude@mini ~]$ sudo dnf install linux-headers-6.14.0-desktop-0.rc7.2omv2590 --refresh
OpenMandriva Rolling - x86_64                                                 4.7 kB/s | 2.4 kB     00:00    
No match for argument: linux-headers-6.14.0-desktop-0.rc7.2omv2590
Error: Unable to find a match: linux-headers-6.14.0-desktop-0.rc7.2omv2590
[dude@mini ~]$ sudo dnf install dkms make kernel-devel -y
Last metadata expiration check: 0:00:49 ago on Sat 12 Apr 2025 03:44:14 PM +07.
Package dkms-3.1.4-1.noarch is already installed.
Package make-1:4.4.1-2.x86_64 is already installed.
Package kernel-rc-desktop-devel-6.14.0-0.rc7.2.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

,

[dude@mini ~]$ cd rtl8821ce
[dude@mini rtl8821ce]$ sudo ./dkms-install.sh
About to run dkms install steps...

Error! DKMS tree already contains: rtl8821ce/v5.5.2_34066.20200325
You cannot add the same module/version combo more than once.

Sign command: /lib/modules/6.14.0-desktop-0.rc7.2omv2590/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s)...(bad exit status: 2)
Failed command:
'make' -j2 KVER=6.14.0-desktop-0.rc7.2omv2590 LLVM=1

Error! Bad return status for module build on kernel: 6.14.0-desktop-0.rc7.2omv2590 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log for more information.

Sign command: /lib/modules/6.14.0-desktop-0.rc7.2omv2590/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s)...(bad exit status: 2)
Failed command:
'make' -j2 KVER=6.14.0-desktop-0.rc7.2omv2590 LLVM=1

Error! Bad return status for module build on kernel: 6.14.0-desktop-0.rc7.2omv2590 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log for more information.
Finished running dkms install steps.
[dude@mini rtl8821ce]$ sudo dnf install linux-headers-6.14.0-desktop-0.rc7.2omv2590 --refresh
OpenMandriva Rolling - x86_64                                                 4.7 kB/s | 2.4 kB     00:00    
No match for argument: linux-headers-6.14.0-desktop-0.rc7.2omv2590
Error: Unable to find a match: linux-headers-6.14.0-desktop-0.rc7.2omv2590
[dude@mini rtl8821ce]$ sudo dnf install linux-headers 6.14.0-desktop-0.rc7.2omv2590 --refresh
OpenMandriva Rolling - x86_64                                                 4.7 kB/s | 2.4 kB     00:00    
No match for argument: linux-headers
No match for argument: 6.14.0-desktop-0.rc7.2omv2590
Error: Unable to find a match: linux-headers 6.14.0-desktop-0.rc7.2omv2590
[dude@mini rtl8821ce]$ sudo dnf install dkms make kernel-devel -y
Last metadata expiration check: 0:00:24 ago on Sat 12 Apr 2025 03:46:21 PM +07.
Package dkms-3.1.4-1.noarch is already installed.
Package make-1:4.4.1-2.x86_64 is already installed.
Package kernel-rc-desktop-devel-6.14.0-0.rc7.2.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

,

[dude@mini rtl8821ce]$ sudo ./dkms-install.sh
About to run dkms install steps...

Error! DKMS tree already contains: rtl8821ce/v5.5.2_34066.20200325
You cannot add the same module/version combo more than once.

Sign command: /lib/modules/6.14.0-desktop-0.rc7.2omv2590/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s)...(bad exit status: 2)
Failed command:
'make' -j2 KVER=6.14.0-desktop-0.rc7.2omv2590 LLVM=1

Error! Bad return status for module build on kernel: 6.14.0-desktop-0.rc7.2omv2590 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log for more information.

Sign command: /lib/modules/6.14.0-desktop-0.rc7.2omv2590/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s)...(bad exit status: 2)
Failed command:
'make' -j2 KVER=6.14.0-desktop-0.rc7.2omv2590 LLVM=1

Error! Bad return status for module build on kernel: 6.14.0-desktop-0.rc7.2omv2590 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log for more information.
Finished running dkms install steps.
[dude@mini rtl8821ce]$

,

DKMS make.log for rtl8821ce/v5.5.2_34066.20200325 for kernel 6.14.0-desktop-0.rc7.2omv2590 (x86_64)
Sat Apr 12 03:46:53 PM +07 2025
/bin/sh: line 1: bc: command not found
/bin/sh: line 1: cc: command not found
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.14.0-desktop-0.rc7.2omv2590/build M=/var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build  modules
make[1]: Entering directory '/usr/src/linux-6.14.0-desktop-0.rc7.2omv2590'
make[2]: Entering directory '/var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: OpenMandriva 19.1.7-1 clang version 19.1.7 (/builddir/build/BUILD/llvm-19.1.7-build/llvm-project-llvmorg-19.1.7/clang f6577d7ceed75def4c4c7db30fa2d30a053fc852)
  You are using:           
/bin/sh: line 1: bc: command not found
/bin/sh: line 1: clang: command not found
  CC [M]  core/rtw_cmd.o
/bin/sh: line 1: clang: command not found
make[4]: *** [/usr/src/linux-6.14.0-desktop-0.rc7.2omv2590/scripts/Makefile.build:207: core/rtw_cmd.o] Error 127
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-6.14.0-desktop-0.rc7.2omv2590/Makefile:1994: .] Error 2
make[2]: *** [/usr/src/linux-6.14.0-desktop-0.rc7.2omv2590/Makefile:251: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build'
make[1]: *** [Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.14.0-desktop-0.rc7.2omv2590'
make: *** [Makefile:2244: modules] Error 2

Please post your code as code

Welcome! We are glad to see you and we hope you will decide to make this your home.

That said,

That is how this started. At that point your system is broken. We could all get together and scratch our heads for a month and still not figure out how to fix it. OR you can start over from scratch with a clean install and not break it this time. This is the route I would take. :smiley:

1 Like

The git repo you specified is for an Arch package:

What may be of particular interest if you get the dkms module to build is the following entry:

If this is your first time actually building a module with dkms, you might want to understand how that works to address your issues with the build tree:

man dkms

While there is documentation that addresses a lot of the issues you brought up and it may contain code that works, there doesn’t appear to be a download for this card from the vendor:

https://www.realtek.com/Download/List?cate_id=669&menu_id=297

Given the age of the card, the vendor software, and the repo you are trying to use, please proceed with caution.

1 Like

Thanks a lot for the replies. I guess I was a bit naive with my limited knowledge base, but I used the driver sw with those cmd’s on Fedora, even though I just learned that the driver sw was only for Arch? Not that this would make any sense to me :wink:

1 Like

It’s O.K. To quote @rugyada OpenMandriva is not <your distro here.> OM is a unique distro. It is not based on anything else. It is also a rolling release. It requires different commands to manage the system. We never use sudo dnf update, but instead use this.

sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1| tee dsync2-log.txt

If you have flatpaks, then use this.

sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1| tee dsync2-log.txt ; flatpak update

I run that bottom command every single time. It also creates a log file in your ~/ folder that can help us diagnose when things go wrong.

1 Like

Source code, is source code. The repo just may have certain nuances we may not apply. My main concern is the source of the code. Looking here, you can see it’s just downloading a fork of the Linux kernel, which should already be in the mainline (hopefully):

It seems like maybe, it didn’t:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/realtek/rtlwifi

I see an ae but not a ce. I would probably talk with @bero about getting it patched or added to our kernel build, but it may be easier to buy a more supported card given the age.

The link to the source directory for this card is also gone from the repo which could also be a cause for other errors:

This is basically what I mean by “proceed with caution.” The middle layer provider has not updated their project in a while, and the upstream has removed the link to the source code which will eventually break things.

The RTL8821CE driver is part of the RTW88 PCI-E Wireless driver merged into mainline in 2019 and is still actively maintained.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/realtek/rtw88/Kconfig#n173

Chances are looking at the kernel wireless docu and maybe a modprobe may be enough to get it working.

EDIT: I checked on my OMLx Rome machine and the RTW88 kernel driver modules are being built with the OMLx kernels.

I still say the best thing you could do is a fresh install and start over from scratch. Don’t use sudo dnf update ever again. Use this. Every time.

sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1| tee dsync2-log.txt

Get back to a good known base and then we can diagnose from there.

That should be enough for the card to work then. I don’t know if it was somehow blacklisted or what the issue is. I would suggest a manual modprobe to confirm.

Again thanks a lot for all the replies. If I understand it correctly, I broke it even before I tried to install it by using the wrong update cmd. I can’t claim to understand a lot of the points made above, but I know I can’t change the wifi card since it is a compact mini-pc. I will reinstall the OpenMandrivaLx.rolling-slim-plasma6x11.x86_64.iso and will start with the correct system update cmd. But from there I am not sure what steps are needed to get it installed without breaking it. If there is any chance to get the correct cmd’s to install the Realtek rtl8821ce wifi driver I would love to use this distro sympatico.

1 Like

@dude Please, do not take this the wrong way. I only want to help. I want to see you succeed.

OpenMandriva is a unique rolling-release distro, unlike any other. It must be approached as such.

We do not use the update command. Ever. It will break your system. Being based on snapshots, we use the following command to Distro-Sync to the latest snapshot. Please use this command each and every time. :grinning:

sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1| tee dsync2-log.txt

This will also create a log file in ~/ that we can use to help you diagnose if something does go wrong.

So, wipe it out and start over.

Just a suggestion; I wonder if it would be helpful to simplify the distro-sync command into a .bashrc alias that’s installed by default? The command is long and not super-easy to memorize, and people come into OM and say “Oh, it has dnf! I know how to use that! Awesome!”

I would suggest maybe using the urpmi wrapper I saw in the repo (ah, memories of Mandriva, but I haven’t used it for so long I was afraid to install it) to provide a proper, simple CLI update command, or creating an alias that simplifies the dnf distro-sync command.

I use this. It updates my flatpaks at the same time.

alias dsync="sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1| tee dsync2-log.txt ; flatpak update" # dnf updates for ROME

Now that is a beautiful thing. Thank you! The distro should have that or something like it in there by default.

2 Likes

Thanks. I noted that I am up to date now with the proper update cmd. I don’t have a problem with it at all. But back to my install issue: how am I supposed to install this wifi driver on a clean system in the proper way? Are the other cmd’s I used OK? If not, what should I use instead? If this driver is only for Arch (and maybe Fedora) systems, is there an alternative source?

I am thrilled that you got it reloaded and it is running again. As far as installing the drivers for the WiFi, nothing should change. The big thing here is the dsync.

The system is again freezing when the Wifi is connected. It comes up with the linux header msg again. I noticed that the installed kernel is v6.15 … but the header file is v6.14 …?! Below the information I thought might be helpful. Any idea what is missing?

dsync2-log.txt

OpenMandriva Rolling - x86_64                   3.7 MB/s | 5.5 MB     00:01    
Last metadata expiration check: 0:00:04 ago on Thu 17 Apr 2025 09:03:42 AM +07.
Dependencies resolved.
Nothing to do.
Complete!

Bash_history:

#1744855281
sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1| tee dsync2-log.txt
#1744855310
sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1| tee dsync2-log.txt ; flatpak update
#1744855476
sudo dnf install git
#1744855691
sudo dnf install dkms make kernel-devel -y
#1744856084
git clone ... github /tomaspinho/rtl8821ce.git
#1744856106
cd rtl8821ce
#1744856119
sudo ./dkms-install.sh
#1744856157
sudo dnf install kernel-headers --refresh

Terminal output:

[dude@mini ~]$ sudo dnf clean all ; dnf clean all ; sudo dnf distro-sync --refresh --allowerasing 2>&1| tee dsync2-log.txt ; flatpak update
[sudo] password for dude:
3 files removed
0 files removed
OpenMandriva Rolling - x86_64                   3.7 MB/s | 5.5 MB     00:01
Last metadata expiration check: 0:00:04 ago on Thu 17 Apr 2025 09:03:42 AM +07.
Dependencies resolved.
Nothing to do.
Complete!
Looking for updates…
Nothing to do.

,

[dude@mini ~]$ sudo dnf install git
Last metadata expiration check: 0:00:55 ago on Thu 17 Apr 2025 09:03:42 AM +07.
Dependencies resolved.
====================================
 Package                  Architecture          Version                   Repository                     Size
====================================
Installing:
 git                      x86_64                2.49.0-1                  rolling-x86_64                6.6 k
Installing dependencies:
 diffutils                x86_64                3.12-1                    rolling-x86_64                348 k
 git-core                 x86_64                2.49.0-1                  rolling-x86_64                5.7 M

Transaction Summary
====================================
Install  3 Packages

Total download size: 6.1 M
Installed size: 24 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): git-2.49.0-1-omv2590.x86_64.rpm                                         11 kB/s | 6.6 kB     00:00
(2/3): diffutils-3.12-1-omv2590.x86_64.rpm                                    499 kB/s | 348 kB     00:00
(3/3): git-core-2.49.0-1-omv2590.x86_64.rpm                                   5.2 MB/s | 5.7 MB     00:01
--------------------------------------------------------------------------------------------------------------
Total                                                                         5.5 MB/s | 6.1 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                      1/1
  Installing       : diffutils-3.12-1.x86_64                                                              1/3
  Installing       : git-core-2.49.0-1.x86_64                                                             2/3
  Installing       : git-2.49.0-1.x86_64                                                                  3/3
  Running scriptlet: git-2.49.0-1.x86_64                                                                  3/3

Installed:
  diffutils-3.12-1.x86_64              git-2.49.0-1.x86_64              git-core-2.49.0-1.x86_64

Complete!

,

[dude@mini ~]$ sudo dnf install dkms make kernel-devel -y
Last metadata expiration check: 0:04:30 ago on Thu 17 Apr 2025 09:03:42 AM +07.
Dependencies resolved.
==========================================================================
 Package                           Architecture     Version                    Repository                Size
==========================================================================
Installing:
 dkms                              noarch           3.1.4-1                    rolling-x86_64            56 k
 kernel-rc-desktop-devel           x86_64           6.15.0-0.rc2.2             rolling-x86_64            14 M
 make                              x86_64           1:4.4.1-2                  rolling-x86_64           336 k
Installing dependencies:
 binutils                          x86_64           2.44-2                     rolling-x86_64            10 M
 cmake                             x86_64           4.0.1-1                    rolling-x86_64            13 M
 gcc                               x86_64           14.2.0-1                   rolling-x86_64            41 M
 gcc-cpp                           x86_64           14.2.0-1                   rolling-x86_64           940 k
 glibc-devel                       x86_64           6:2.41-2                   rolling-x86_64           1.7 M
 kernel-headers                    x86_64           1:6.14.2-2                 rolling-x86_64           1.5 M
 kernel-rc-desktop                 x86_64           6.15.0-0.rc2.2             rolling-x86_64           140 M
 lib64cc1_0                        x86_64           14.2.0-1                   rolling-x86_64            52 k
 lib64cppdap                       x86_64           1.58.0_a-1                 rolling-x86_64           282 k
 lib64crypt-devel                  x86_64           4.4.36-1                   rolling-x86_64            37 k
 lib64elfutils-devel               x86_64           0.191-2                    rolling-x86_64            55 k
 lib64gcc-devel                    x86_64           14.2.0-1                   rolling-x86_64           3.7 M
 lib64isl23                        x86_64           0.27-1                     rolling-x86_64           1.0 M
 lib64jsoncpp                      x86_64           1.9.6-1                    rolling-x86_64            72 k
 lib64lzma-devel                   x86_64           5.8.1-1                    rolling-x86_64            52 k
 lib64mpc3                         x86_64           1.3.1-2                    rolling-x86_64            74 k
 lib64ncurses-devel                x86_64           6.5-1                      rolling-x86_64           1.2 M
 lib64rhash0                       x86_64           1.4.2-1                    rolling-x86_64           120 k
 lib64z-devel                      x86_64           2.2.4-1                    rolling-x86_64            33 k
 lib64zstd-devel                   x86_64           1.5.7-1                    rolling-x86_64            61 k
 libc6                             x86_64           6:2.41-2                   rolling-x86_64           1.6 M
 lld                               x86_64           19.1.7-1                   rolling-x86_64           1.7 M
 patch                             x86_64           2.8-1                      rolling-x86_64           124 k
 perl-bignum                       noarch           0.66-32                    rolling-x86_64            35 k

Transaction Summary
==========================================================================
Install  27 Packages

Total download size: 233 M
Installed size: 565 M
Downloading Packages:
(1/27): dkms-3.1.4-1-omv2590.noarch.rpm                                        71 kB/s |  56 kB     00:00
(2/27): binutils-2.44-2-omv2590.x86_64.rpm                                    5.3 MB/s |  10 MB     00:01
(3/27): cmake-4.0.1-1-omv2590.x86_64.rpm                                      6.0 MB/s |  13 MB     00:02
(4/27): gcc-cpp-14.2.0-1-omv2490.x86_64.rpm                                   1.0 MB/s | 940 kB     00:00
(5/27): glibc-devel-2.41-2-omv2590.x86_64.rpm                                 2.2 MB/s | 1.7 MB     00:00
(6/27): kernel-headers-6.14.2-2-omv2590.x86_64.rpm                            1.1 MB/s | 1.5 MB     00:01
(7/27): gcc-14.2.0-1-omv2490.x86_64.rpm                                       9.4 MB/s |  41 MB     00:04
(8/27): lib64cc1_0-14.2.0-1-omv2490.x86_64.rpm                                133 kB/s |  52 kB     00:00
(9/27): kernel-rc-desktop-devel-6.15.0-0.rc2.2-omv2590.x86_64.rpm             6.6 MB/s |  14 MB     00:02
(10/27): lib64crypt-devel-4.4.36-1-omv2390.x86_64.rpm                          86 kB/s |  37 kB     00:00
(11/27): lib64cppdap-1.58.0_a-1-omv2390.x86_64.rpm                            206 kB/s | 282 kB     00:01
(12/27): lib64elfutils-devel-0.191-2-omv2490.x86_64.rpm                       123 kB/s |  55 kB     00:00
(13/27): lib64gcc-devel-14.2.0-1-omv2490.x86_64.rpm                           2.8 MB/s | 3.7 MB     00:01
(14/27): lib64isl23-0.27-1-omv2490.x86_64.rpm                                 1.1 MB/s | 1.0 MB     00:00
(15/27): lib64jsoncpp-1.9.6-1-omv2590.x86_64.rpm                              103 kB/s |  72 kB     00:00
(16/27): lib64lzma-devel-5.8.1-1-omv2590.x86_64.rpm                            88 kB/s |  52 kB     00:00
(17/27): lib64mpc3-1.3.1-2-omv2490.x86_64.rpm                                  94 kB/s |  74 kB     00:00
(18/27): lib64ncurses-devel-6.5-1-omv2490.x86_64.rpm                          1.4 MB/s | 1.2 MB     00:00
(19/27): lib64z-devel-2.2.4-1-omv2590.x86_64.rpm                               79 kB/s |  33 kB     00:00
(20/27): lib64rhash0-1.4.2-1-omv4090.x86_64.rpm                               170 kB/s | 120 kB     00:00
(21/27): lib64zstd-devel-1.5.7-1-omv2590.x86_64.rpm                           135 kB/s |  61 kB     00:00
(22/27): libc6-2.41-2-omv2590.x86_64.rpm                                      2.2 MB/s | 1.6 MB     00:00
(23/27): lld-19.1.7-1-omv2490.x86_64.rpm                                      2.3 MB/s | 1.7 MB     00:00
(24/27): make-4.4.1-2-omv2490.x86_64.rpm                                      479 kB/s | 336 kB     00:00
(25/27): patch-2.8-1-omv2590.x86_64.rpm                                       202 kB/s | 124 kB     00:00
(26/27): kernel-rc-desktop-6.15.0-0.rc2.2-omv2590.x86_64.rpm                   13 MB/s | 140 MB     00:10
(27/27): perl-bignum-0.66-32-omv2590.noarch.rpm                                17 kB/s |  35 kB     00:02
--------------------------------------------------------------------------------------------------------------
Total                                                                          17 MB/s | 233 MB     00:13
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: gcc-14.2.0-1.x86_64                                                                  1/1
  Preparing        :                                                                                      1/1
  Installing       : make-1:4.4.1-2.x86_64                                                               1/27
  Installing       : perl-bignum-0.66-32.noarch                                                          2/27
  Installing       : patch-2.8-1.x86_64                                                                  3/27
  Installing       : lld-19.1.7-1.x86_64                                                                 4/27
  Installing       : binutils-2.44-2.x86_64                                                              5/27
  Installing       : lib64z-devel-2.2.4-1.x86_64                                                         6/27
  Installing       : lib64rhash0-1.4.2-1.x86_64                                                          7/27
  Installing       : lib64ncurses-devel-6.5-1.x86_64                                                     8/27
  Installing       : lib64mpc3-1.3.1-2.x86_64                                                            9/27
  Installing       : lib64lzma-devel-5.8.1-1.x86_64                                                     10/27
  Installing       : lib64jsoncpp-1.9.6-1.x86_64                                                        11/27
  Installing       : lib64isl23-0.27-1.x86_64                                                           12/27
  Installing       : lib64gcc-devel-14.2.0-1.x86_64                                                     13/27
  Installing       : lib64crypt-devel-4.4.36-1.x86_64                                                   14/27
  Installing       : lib64cppdap-1.58.0_a-1.x86_64                                                      15/27
  Installing       : cmake-4.0.1-1.x86_64                                                               16/27
  Installing       : lib64zstd-devel-1.5.7-1.x86_64                                                     17/27
  Installing       : lib64elfutils-devel-0.191-2.x86_64                                                 18/27
  Installing       : lib64cc1_0-14.2.0-1.x86_64                                                         19/27
  Installing       : gcc-cpp-14.2.0-1.x86_64                                                            20/27
  Installing       : gcc-14.2.0-1.x86_64                                                                21/27
  Installing       : kernel-rc-desktop-6.15.0-0.rc2.2.x86_64                                            22/27
  Installing       : kernel-headers-1:6.14.2-2.x86_64                                                   23/27
  Installing       : libc6-6:2.41-2.x86_64                                                              24/27
  Installing       : glibc-devel-6:2.41-2.x86_64                                                        25/27
  Installing       : kernel-rc-desktop-devel-6.15.0-0.rc2.2.x86_64                                      26/27
  Running scriptlet: kernel-rc-desktop-devel-6.15.0-0.rc2.2.x86_64                                      26/27
  Running scriptlet: dkms-3.1.4-1.noarch                                                                27/27
Preinstalling packages needed for building kernel modules. Please wait...

  Installing       : dkms-3.1.4-1.noarch                                                                27/27
  Running scriptlet: dkms-3.1.4-1.noarch                                                                27/27
Failed to try-restart loadmodules.service: Unit loadmodules.service not found.

  Running scriptlet: kernel-rc-desktop-6.15.0-0.rc2.2.x86_64                                            27/27
Creating group 'nogroup' with GID 65534.
Creating group 'audio' with GID 81.
Creating group 'cdrom' with GID 22.
Creating group 'dialout' with GID 83.
Creating group 'disk' with GID 6.
Creating group 'input' with GID 101.
Creating group 'kmem' with GID 9.
Creating group 'kvm' with GID 36.
Creating group 'lp' with GID 7.
Creating group 'render' with GID 105.
Creating group 'sgx' with GID 106.
Creating group 'tape' with GID 21.
Creating group 'tty' with GID 5.
Creating group 'video' with GID 82.
Creating group 'users' with GID 100.
Creating group 'systemd-journal' with GID 190.
Creating user 'root' (Super User) with UID 0 and GID 0.
Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534.
Generating grub configuration file ...
Found theme: /boot/grub2/themes/OpenMandriva/theme.txt
Found background: /boot/grub2/themes/OpenMandriva/background.png
Found linux image: /boot/vmlinuz-6.15.0-desktop-0.rc2.2omv2590
Found initrd image: /boot/initrd-6.15.0-desktop-0.rc2.2omv2590.img
Found linux image: /boot/vmlinuz-6.14.2-desktop-2omv2590
Found initrd image: /boot/initrd-6.14.2-desktop-2omv2590.img
Found linux image: /boot/vmlinuz-6.13.9-desktop-3omv2590
Found initrd image: /boot/initrd-6.13.9-desktop-3omv2590.img
Found memtest image: /boot/memtest.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Adding boot menu entry for EFI firmware configuration
done
Failed to try-restart loadmodules.service: Unit loadmodules.service not found.

  Running scriptlet: libc6-6:2.41-2.x86_64                                                              27/27
  Running scriptlet: dkms-3.1.4-1.noarch                                                                27/27
Generating grub configuration file ...
Found theme: /boot/grub2/themes/OpenMandriva/theme.txt
Found background: /boot/grub2/themes/OpenMandriva/background.png
Found linux image: /boot/vmlinuz-6.15.0-desktop-0.rc2.2omv2590
Found initrd image: /boot/initrd-6.15.0-desktop-0.rc2.2omv2590.img
Found linux image: /boot/vmlinuz-6.14.2-desktop-2omv2590
Found initrd image: /boot/initrd-6.14.2-desktop-2omv2590.img
Found linux image: /boot/vmlinuz-6.13.9-desktop-3omv2590
Found initrd image: /boot/initrd-6.13.9-desktop-3omv2590.img
Found memtest image: /boot/memtest.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Adding boot menu entry for EFI firmware configuration
done
warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead

Installed:
  binutils-2.44-2.x86_64                                   cmake-4.0.1-1.x86_64
  dkms-3.1.4-1.noarch                                      gcc-14.2.0-1.x86_64
  gcc-cpp-14.2.0-1.x86_64                                  glibc-devel-6:2.41-2.x86_64
  kernel-headers-1:6.14.2-2.x86_64                         kernel-rc-desktop-6.15.0-0.rc2.2.x86_64
  kernel-rc-desktop-devel-6.15.0-0.rc2.2.x86_64            lib64cc1_0-14.2.0-1.x86_64
  lib64cppdap-1.58.0_a-1.x86_64                            lib64crypt-devel-4.4.36-1.x86_64
  lib64elfutils-devel-0.191-2.x86_64                       lib64gcc-devel-14.2.0-1.x86_64
  lib64isl23-0.27-1.x86_64                                 lib64jsoncpp-1.9.6-1.x86_64
  lib64lzma-devel-5.8.1-1.x86_64                           lib64mpc3-1.3.1-2.x86_64
  lib64ncurses-devel-6.5-1.x86_64                          lib64rhash0-1.4.2-1.x86_64
  lib64z-devel-2.2.4-1.x86_64                              lib64zstd-devel-1.5.7-1.x86_64
  libc6-6:2.41-2.x86_64                                    lld-19.1.7-1.x86_64
  make-1:4.4.1-2.x86_64                                    patch-2.8-1.x86_64
  perl-bignum-0.66-32.noarch

Complete!

,

[dude@mini ~]$ git clone ... github /tomaspinho/rtl8821ce.git
Cloning into 'rtl8821ce'...
remote: Enumerating objects: 1861, done.
remote: Counting objects: 100% (196/196), done.
remote: Compressing objects: 100% (125/125), done.
remote: Total 1861 (delta 93), reused 135 (delta 71), pack-reused 1665 (from 1)
Receiving objects: 100% (1861/1861), 6.08 MiB | 10.66 MiB/s, done.
Resolving deltas: 100% (1022/1022), done.
[dude@mini ~]$ cd rtl8821ce
[dude@mini rtl8821ce]$ sudo ./dkms-install.sh
[sudo] password for dude:
About to run dkms install steps...
Creating symlink /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/source -> /usr/src/rtl8821ce-v5.5.2_34066.20200325

Error! Your kernel headers for kernel 6.14.2-desktop-2omv2590 cannot be found at /lib/modules/6.14.2-desktop-2omv2590/build or /lib/modules/6.14.2-desktop-2omv2590/source.
Please install the linux-headers-6.14.2-desktop-2omv2590 package or use the --kernelsourcedir option to tell DKMS where it's located.

Error! Your kernel headers for kernel 6.14.2-desktop-2omv2590 cannot be found at /lib/modules/6.14.2-desktop-2omv2590/build or /lib/modules/6.14.2-desktop-2omv2590/source.
Please install the linux-headers-6.14.2-desktop-2omv2590 package or use the --kernelsourcedir option to tell DKMS where it's located.
Finished running dkms install steps.

,

[dude@mini rtl8821ce]$ sudo dnf install kernel-headers --refresh
OpenMandriva Rolling - x86_64                                                 3.4 kB/s | 2.4 kB     00:00
Package kernel-headers-1:6.14.2-2.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!