[CLOSED] RTL8821ce driver doesn't work on Fedora 35 (Beta)

This can probably be considered as a kernel issue (because the 5.14 kernel ships the bad rtl88_8821ce driver that i had to replace with this one → GitHub - tomaspinho/rtl8821ce). Anyways, i blacklisted the rtl88_8821ce driver that ships with this and installed the rtl8821ce driver by following these exact steps:> su sudo dnf update sudo dnf install dkms make kernel-devel -y git clone https://github.com/tomaspinho/rtl8821ce.git cd rtl8821ce sudo ./dkms-install.sh.’
This is what is displayed after using running the ./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.
Error! Your kernel headers for kernel 5.14.12-300.fc35.x86_64 cannot be found at /lib/modules/5.14.12-300.fc35.x86_64/build or /lib/modules/5.14.12-300.fc35.x86_64/source.
You can use the --kernelsourcedir option to tell DKMS where it’s located.
Error! Your kernel headers for kernel 5.14.12-300.fc35.x86_64 cannot be found at /lib/modules/5.14.12-300.fc35.x86_64/build or /lib/modules/5.14.12-300.fc35.x86_64/source.
You can use the --kernelsourcedir option to tell DKMS where it’s located.
Finished running dkms install steps.’
Not really sure why this is caused by I need some help as the wifi is not displayed in the settings.
Thanks in advance :slight_smile:

Sorry if the post looks weird but I don’t want to get my post hidden when editing again.

I guess I’m just going to settle with fedora 34 for now, as there are some issues with the kernel headers on f35 (being outdated). That’s probably why I’m getting this error.

Have you installed the kernel-headers package on fedora 35? If the headers are not installed it will generate that error.

Also, it appears you may be running rawhide? Or using the testing repo? The latest kernel that installed for me as of tonight on F35 beta is 5.14.10 with headers for 5.14.9 (which is normal. Kernel-headers does not get updated if there are no changes)

I suspect if you were using the normal fedora & updates repos that everything would be in sync.