Realtek RTL8822CE Wifi - limited connectivity

No apology needed, thank you for posting the outputs I requested.


You can use Android USB phone tethering if you need a temporary working connection to make it easier to post diagnostic outputs. When running commands to diagnose issues with your wifi make sure you have no alternate internet connection activated (Ethernet or tethering).


With no other connections active except your WiFi run:

ping -c5 8.8.8.8                                                                                

ping -c5 google.com 

Please post the outputs of those commands.


Also post your dns servers:

cat /etc/resolv.conf

Set a new dns server, see:


Also post your logs:

sudo dmesg  | grep -Ei 'error|segf|fail|broke|warn|dump|denied|firm|regdom|cfg80211|alpha2|wmi|rtl|wl|blue|deauth' | grep -viE 'acpi|ras'

Open a Network Manager live log session:


Enable Network Manager’s debugging mode with the following command:

echo -e "[logging]\nlevel=DEBUG" | sudo tee /etc/NetworkManager/conf.d/00-defaults.conf

This will give you a far more in depth logging.

Then, open a Network Manager live log session.

The command below will output a live log detailing your network’s current activities. Open a live Network Manager debugging log session via this command:

journalctl -fu NetworkManager 

Let the command run in the terminal, logging all current network activities.

Attempt to connect to your network, ping Google, and browse the internet repeatedly to generate useful log information.

Log at least 50-100 lines of output around times when your connection has failed to connect, or the connection was dropped.

Copy the live terminal output and post any important looking excerpts from the log (especially around failure events).

In another terminal tab/window also run:

journalctl -f _COMM=wpa_supplicant

Create a driver options file:

/etc/modprobe.d/rtl8822ce.conf

With these contents:

options rtw_pci disable_aspm=1
blacklist rtw88_8822ce
install bluetooth /bin/false

Reboot.

Or, you can generate the above file automatically with this command:

echo -e "options rtw_pci disable_aspm=1\nblacklist rtw88_8822ce\ninstall bluetooth /bin/false" | sudo tee /etc/modprobe.d/rtl8822ce.conf

This will generate a rtl8822ce driver option and also disable bluetooth which can sometimes interfere with wifi.

Reboot after creating this file.

If disabling bluetooth shows no wifi improvement, then alter the contents to this

options rtw_pci disable_aspm=1
blacklist rtw88_8822ce
#install bluetooth /bin/false

That will re-enable your bluetooth, or you can delete /etc/modprobe.d/rtl8822ce.conf entirely if it is of no benefit.

Reboot after making any changes to this file.


Try adding a new kernel boot parameter.

Backup your grub config file:

sudo cp /etc/default/grub /etc/default/grub.bak 

Then edit /etc/default/grub and add pci=noaer to the end of the following line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3 pci=noaer"

After adding the boot parameter and saving your changes, run:

sudo update-grub 

Reboot

Or, you can generate the change automatically with this command::

sudo cp /etc/default/grub /etc/default/grub.bak && sudo sed '/^GRUB_CMDLINE_LINUX_DEFAULT=/s/"$/ pci=noaer"/g' -i /etc/default/grub

After adding the boot parameter(s), run:

sudo update-grub 

Reboot.


I guess that’s enough for now.

3 Likes