Would appreciate any help with rtl8821ce

Hi,

I would really appreciate any help with this.

I installed rtw88

And this seemed to make wireless work, but it’s not working really well.
I have to literally sit next to the router for it to work. Otherwise the signal is very weak.

So I installed https://github.com/tomaspinho/rtl8821ce after that.
But for some reason it’s not accepting this new driver.

First I uninstalled rtw88 as such:

git clone https://github.com/lwfinger/rtw88.git

cd rtw88

make

sudo make uninstall

I rebooted but nothing changed, in fact, when I do lsmod | grep 8821, I get this:

8821ce 1978368 0

rtw_8821ce 16384 0

rtw_8821c 73728 1 rtw_8821ce

rtw_pci 28672 1 rtw_8821ce

rtw_core 192512 2 rtw_8821c,rtw_pci

cfg80211 897024 3 rtw_core,mac80211,8821ce

Does this mean it’s still installed?

When I do dkms status, I get this:

rtl8821ce, 1.0.5.r100.g18c1f60, 5.7.11-arch1-1, x86_64: installed (WARNING! Diff between built and installed module!)

rtl8821ce, v5.5.2_34066.20200325, 5.7.11-arch1-1, x86_64: built

I’m really confused as to what is going on, I hope someone can help!

Thank you so much!

That is very wrong, choose which one?

Hello @zzz
Are you sure you have the right module? What is your hardware? inxi -FGz

The G is unneccessary because it shows Graphics information, which is already included in F (full).

return

inxi -Fxxxza --no-host install it if you have to...
yay inxi

Ya okay… :unamused:

Thank you so much friends, this is what inxi says:

Network: Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter vendor: AzureWave driver: rtw_8821ce v: kernel
modules: 8821ce port: e000 bus ID: 03:00.0 chip ID: 10ec:c821
IF: wlan0 state: up mac:
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8168 v: 8.048.03-NAPI
modules: r8169 port: d000 bus ID: 04:00.0 chip ID: 10ec:8168
IF: enp4s0 state: down mac:
IF-ID-1: proton0 state: unknown speed: 10 Mbps duplex: full mac: N/A

Are you trying to use ethernet? Or wireless?

Wireless :slight_smile: Sorry I should have said that.

The only reason I’m asking is because there have been a number of issue with the r8168 module and i see you have that loaded for your Ethernet.

Edit: I see the r8169 is also there.

Ah I see, thank you, well ethernet works great, it’s the only thing that’s been consistently working.

You should install

yay -S rtl8821ce-dkms-git

I think I have that one installed:

yay -S rtl8821ce-dkms-git
:: Checking for conflicts…
:: Checking for inner conflicts…
[Aur:1] rtl8821ce-dkms-git-1.0.5.r36.gca4abd8-1

:: Downloaded PKGBUILD (1/1): rtl8821ce-dkms-git
1 rtl8821ce-dkms-git (Installed) (Build Files Exist)

Do you think something is wrong with the installation?

No not with the installation. It’s not working i take it.

I see, I tried blacklisting some modules but internet stopped working when I did this:

/etc/modprobe.d/modprobe.conf

blacklist rtw_8821c
blacklist rtw_8821ce
blacklist rtw_pci
blacklist rtw_core

You need to remove what you put in.

Sorry it’s not there anymore. That was yesterday. Been trying for several days.

What kernel are you running? Do you have the linux headers installed for that kernel?

uname -r

5.7.11-arch1-1

I have the package linux-headers installed.

It says it’s

Version
5.7.11.arch1-1

This one:

https://www.archlinux.org/packages/core/x86_64/linux-headers/

What does this show?

sudo modprobe -r 8821ce

sudo modprobe 8821ce