RealTek Network card not working

Running ZL16.2 from live USB, I'm having the same issue ("No network devices available") with a new laptop (Lenovo Ideapad 1 / 15iGL7) that I'm hoping to wipe Windows and have just Zorin Lite.

Running that command (sudo lshw -C network), I get:

*-network UNCLAIMED
  description: Network controller
  product: Realtek Semiconductor Co, Ltd.
  vendor: Realtek Semiconductor Co, Ltd.
  physical id: 0
  bus info: pci@0000:03:00.0
  version: 00
  width: 64 bits
  clock: 33mhz
  capabilities: pm msi pciexpress cap_list
  configuration: latency=0
  resources: ioport:1000(size=256) memory:a1100000-allfffff

(Copied / typed by hand, I hope that's all correct)
Sorry to hijack your thread @Countryguy94

I split this into a new topic as you may have a different solution than the O.P. of the other thread.

In the meantime, please try:

sudo apt update && sudo apt install rtl8821ce-dkms

Reboot and test.

Doesn't apt need an internet connection to update or install?

Trying sudo apt update gives lots of "temporary failure resolving..." and then "Failed to fetch..." messages, ending with "Some index files failed to download. They have been ignored, or old ones used instead."

Yes, it does. Can you connect that machine using phone Hotspot, ethernet, etc?

1 Like

Ethernet: There's no ethernet socket on the laptop, and there are only ethernet sockets on the modem. I do not have any kind of USB-Ethernet adapter.

Phone hotspot: I'm not very experienced with those. I seem to remember the computer usually connects to the phone hotspot by Wifi (which this laptop can't currently use). I'll see if the laptop can connect through USB to use the phone's internet.

Other: Would it be possible to download what I need on one computer and then use a USB drive to transfer to the networkless laptop?

Yes, you can use the USB tether.

http://archive.ubuntu.com/ubuntu/pool/universe/r/rtl8821ce/rtl8821ce-dkms_5.5.2.1-0ubuntu3_all.deb

1 Like

"Tethering"! That's the word that I just couldn't remember, thanks.

1.Tethering
Tethering laptop to phone via USB and then running sudo apt update, at first it said "working" but then lots of error messages involving:

E: Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)

and finally:

N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for  repository creation and user configuration details.

=====

2.Offline .deb
Re the driver .deb, downloaded, put on USB, plugged into new laptop, double-clicked the .deb, chose "Run anyway", Software app opened, clicked "Install" and then... "Pending installation". And it gets stuck there. Waited 15 minutes while pending. Cancelled and tried again a couple more times and it always gets stuck on "Pending installation...".

Summary

rtl8821ce-dkms
DKMS source the Realtek 8821C PCIe WiFi Driver
Pending installation...
This package provides the DKMS source code for the rtl8821ce kernel module. Kernel source or headers are required to compile these modules.

Cancelled and closed Software. Right-clicked on the .deb and chose "Open with..." , but both "Install Linux Application" and "Software Install" just open Software again.

This suggests a Router or Proxy issue. Since this is over your Phone Hotspot, you may need to check your settings on your phone.

I second this suggestion.

Hi, here's the output:

zorin@zorin:/media/zorin/KINGSTON$ sudo dpkg -i rtl.deb
Selecting previously unselected package rtl8821ce-dkms.
(Reading database ... 264043 files and directories currently installed.)
Preparing to unpack rtl.deb ...
Unpacking rtl8821ce-dkms (5.5.2.1-0ubuntu3) ...
dpkg: dependency problems prevent configuration of rtl8821ce-dkms:
rtl8821ce-dkms depends on dkms (>= 2.1.0.0); however:
Package dkms is not installed.

dpkg: error processing package rtl8821ce-dkms (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
rtl8821ce-dkms
zorin@zorin:/media/zorin/KINGSTON$

So it seems Zorin (Lite) doesn't have dkms, presumably Dynamic Kernel Module Support.
Is it possible to get an offline installer for dkms and then try the deb for the driver? Maybe from here, one of the ones for Ubuntu 20.04? I'm not sure which.

You hit the nail on the head.

Here is the package link:
http://archive.ubuntu.com/ubuntu/pool/main/d/dkms/dkms_2.8.1-5ubuntu1_all.deb

1 Like

Double-click, stuck on "Pending installation..." again :laughing:

Then tried dpkg, here's the output:

zorin@zorin:/media/zorin/KINGSTON$ sudo dpkg -i dkms.deb
Selecting previously unselected package dkms.
(Reading database ... 264702 files and directories currently installed.)
Preparing to unpack dkms.deb ...
Unpacking dkms (2.8.1-5ubuntu1) ...
dpkg: dependency problems prevent configuration of dkms:
dkms depends on gcc | c-compiler; however:
Package gcc is not installed.
Package c-compiler is not installed.
dkms depends on dpkg-dev; however:
Package dpkg-dev is not installed.
dkms depends on make | build-essential; however:
Package make is not installed.
Package build-essential is not installed.

dpkg: error processing package dkms (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.9.1-1) ...
Errors were encountered while processing:
dkms
zorin@zorin:/media/zorin/KINGSTON$

So the driver needs one thing (dkms), but then dkms needs 5(?) more things. Is it realistic to expect those five packages to fix the problem or will each new package require yet more packages?

Re USB tethering, the only options on my phone seem to be "on" or "off", I can find no other settings.

Quickly booting other live OSes on the same USB (Ventoy).

  • Puppy (Fossapup): no network device detected. :frowning_face:
  • Hiren's Boot CD PE: no network device detected. :frowning_face:
  • Gparted Live: no supported network cards found. :frowning_face:

Crazy idea: This laptop has Windows 11 with working internet connection. Would it be possible to install Virtualbox (or other similar prog) in Windows, put Zorin Lite in a VM and then connect to the internet and install everything needed in ZL (dkms, driver and all dependencies) for the Wifi to work? And then save it to live USB and use it to install ZL with working wifi directly on the hardware?

EDIT: Or add these things to my installation of ZL on another computer with working internet and then turn that into a live USB (maybe using penguins-eggs or something) that I can then try on the new Lenovo?

EVEN EDIT-IER: Doh! Or maybe unplug live USB from non-connected Lenovo, boot on other device to install driver, dkms etc, save it on USB and then plug it back into the Lenovo?

If you can tether internet using mobile try this solution:

1 Like

Thanks but apt or Zorin has some problem with the USB tethered connection ("clearsigned file isn't valid") so it refuses to install anything coming over it.

I think the way to go might be using the live USB on another computer with working internet, install the driver & dependencies, and save it to the live USB with persistence. (I think that's possible, just maybe not with Ventoy.) Then go back to the Lenovo and try again.

But not right now: brain hurting, stomach growling, back aching (twisting between two computers, I do not have the ideal set-up for two laptops at the same time.) So probably tomorrow.

Lenovo is notorious on Linux.

Yep...
In order to get all dependencies, being tethered really is the way to go.

This reminds of my first experience with Zorin Forum (Wi-fi not detected in HP Pavilion ec1019au - #5 by gmk27)
Problem is very similar - realtek wireless and bluetooth (RTL8852BE) and had no ethernet port.
I finally solved my network problem with the help of @Aravisian & @Mr_Magoo.

What I wanted to say is get the USB tethering to work and from there it is easy.

Well the consensus seems to be to get tethering working. But Zorin won't install anything coming over USB tether from my phone.

I tried making a proxy.conf as per this post in the Debian forums but Zorin won't let me save it: "You do not have the permissons necessary to save the file."

Are there other ways to tether? E.g. laptop-to-laptop (both running Zorin Lite)?

I managed to find out how to write and save the proxy.conf (sudo gedit) but now when I try sudo apt update, I get:

E: Syntax error /etc/apt/apt.conf.d/proxy.conf:2: Extra junk at end of file

So using Thunar as root, I delete that file and try again without it... and this time it works! Why, I don't know but apt update works and apt install [driver] is working.

The driver and all dependencies installed! :grin:

But now what? :confused: Zorin still doesn't see the wireless card. Exploring the Network app, the only thing I spot that might be relevant is Edit Connections > Create a New Connection, but when I choose WiFi, instead of showing available Wifi networks or at least the presence of the wireless card, it just asks me for things I don't know like "SSID", "Cloned MAC address" etc. Same thing if I go through "Advanced Network Configuration".

Searching through the menu and settings, I can't find any way to update the OS's view of the hardware / wireless card, or refresh wifi networks etc.

EDIT: And when I untethered, it went back to "No network devices available".

There was a typo that was "junk at end of file". You replacing that file contents fixed that.
Which driver did you install? Did you modprobe it?
Example: sudo modprobe r8821

I installed rtl8821ce-dkms
Here's the terminal output:

Summary

root@zorin:~# sudo apt install rtl8821ce-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-essential dkms
dpkg-dev fakeroot g++ g++-9 gcc gcc-9 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libbinutils
libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0
libfakeroot libgcc-9-dev libitm1 liblsan0 libstdc++-9-dev libtsan0 libubsan1
linux-libc-dev make manpages-dev
Suggested packages:
binutils-doc menu debian-keyring g++-multilib g++-9-multilib gcc-9-doc
gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-9-multilib
gcc-9-locales glibc-doc libstdc++-9-doc make-doc
The following NEW packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-essential dkms
dpkg-dev fakeroot g++ g++-9 gcc gcc-9 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libbinutils
libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0
libfakeroot libgcc-9-dev libitm1 liblsan0 libstdc++-9-dev libtsan0 libubsan1
linux-libc-dev make manpages-dev rtl8821ce-dkms
0 upgraded, 33 newly installed, 0 to remove and 330 not upgraded.
Need to get 27.1 MB/39.0 MB of archives.
After this operation, 196 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 libcc1-0 amd64 10.3.0-1ubuntu1~20.04 [48.8 kB]
Get:2 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 libitm1 amd64 10.3.0-1ubuntu1~20.04 [26.2 kB]
Get:3 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 liblsan0 amd64 10.3.0-1ubuntu1~20.04 [835 kB]
Get:4 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 libtsan0 amd64 10.3.0-1ubuntu1~20.04 [2,009 kB]
Get:5 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 libubsan1 amd64 10.3.0-1ubuntu1~20.04 [784 kB]
Get:6 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 gcc amd64 4:9.3.0-1ubuntu2 [5,208 B]
Get:7 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 make amd64 4.2.1-1.2 [162 kB]
Get:8 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 dpkg-dev all 1.19.7ubuntu3.2 [679 kB]
Get:9 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.9 [71.8 kB]
Get:10 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 libc6-dev amd64 2.31-0ubuntu9.9 [2,519 kB]
Get:11 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 g++ amd64 4:9.3.0-1ubuntu2 [1,604 B]
Get:12 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 build-essential amd64 12.8ubuntu1.1 [4,664 B]
Get:13 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 dkms all 2.8.1-5ubuntu2 [66.8 kB]
Get:14 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 libfakeroot amd64 1.24-1 [25.7 kB]
Get:15 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 fakeroot amd64 1.24-1 [62.6 kB]
Get:16 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 libalgorithm-diff-perl all 1.19.03-2 [46.6 kB]
Get:17 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 libalgorithm-diff-xs-perl amd64 0.04-6 [11.3 kB]
Get:18 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:19 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 manpages-dev all 5.05-1 [2,266 kB]
Get:20 cdrom://Zorin-OS 16.2 Lite 64bit focal/main amd64 rtl8821ce-dkms all 5.5.2.1-0ubuntu4~20.04.5 [2,196 kB]
Get:21 Index of /ubuntu focal-updates/main amd64 binutils-common amd64 2.34-6ubuntu1.6 [207 kB]
Get:22 Index of /ubuntu focal-updates/main amd64 libbinutils amd64 2.34-6ubuntu1.6 [473 kB]
Get:23 Index of /ubuntu focal-updates/main amd64 libctf-nobfd0 amd64 2.34-6ubuntu1.6 [47.4 kB]
Get:24 Index of /ubuntu focal-updates/main amd64 libctf0 amd64 2.34-6ubuntu1.6 [46.6 kB]
Get:25 Index of /ubuntu focal-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.34-6ubuntu1.6 [1,613 kB]
Get:26 Index of /ubuntu focal-updates/main amd64 binutils amd64 2.34-6ubuntu1.6 [3,376 B]
Get:27 Index of /ubuntu focal-updates/main amd64 libasan5 amd64 9.4.0-1ubuntu1~20.04.1 [2,751 kB]
Get:28 Index of /ubuntu focal-updates/main amd64 libgcc-9-dev amd64 9.4.0-1ubuntu1~20.04.1 [2,359 kB]
Get:29 Index of /ubuntu focal-updates/main amd64 gcc-9 amd64 9.4.0-1ubuntu1~20.04.1 [8,274 kB]
Get:30 Index of /ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-152.169 [1,115 kB]
Get:31 Index of /ubuntu focal/main amd64 libcrypt-dev amd64 1:4.4.10-10ubuntu4 [104 kB]
Get:32 Index of /ubuntu focal-updates/main amd64 libstdc++-9-dev amd64 9.4.0-1ubuntu1~20.04.1 [1,722 kB]
Get:33 Index of /ubuntu focal-updates/main amd64 g++-9 amd64 9.4.0-1ubuntu1~20.04.1 [8,420 kB]
Fetched 27.1 MB in 27s (1,022 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libcc1-0:amd64.
(Reading database ... 264043 files and directories currently installed.)
Preparing to unpack .../00-libcc1-0_10.3.0-1ubuntu1~20.04_amd64.deb ...
Unpacking libcc1-0:amd64 (10.3.0-1ubuntu1~20.04) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../01-binutils-common_2.34-6ubuntu1.6_amd64.deb ...
Unpacking binutils-common:amd64 (2.34-6ubuntu1.6) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../02-libbinutils_2.34-6ubuntu1.6_amd64.deb ...
Unpacking libbinutils:amd64 (2.34-6ubuntu1.6) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../03-libctf-nobfd0_2.34-6ubuntu1.6_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.34-6ubuntu1.6) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../04-libctf0_2.34-6ubuntu1.6_amd64.deb ...
Unpacking libctf0:amd64 (2.34-6ubuntu1.6) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../05-binutils-x86-64-linux-gnu_2.34-6ubuntu1.6_amd64.deb .
..
Unpacking binutils-x86-64-linux-gnu (2.34-6ubuntu1.6) ...
Selecting previously unselected package binutils.
Preparing to unpack .../06-binutils_2.34-6ubuntu1.6_amd64.deb ...
Unpacking binutils (2.34-6ubuntu1.6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../07-libitm1_10.3.0-1ubuntu1~20.04_amd64.deb ...
Unpacking libitm1:amd64 (10.3.0-1ubuntu1~20.04) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../08-libasan5_9.4.0-1ubuntu1~20.04.1_amd64.deb ...
Unpacking libasan5:amd64 (9.4.0-1ubuntu1~20.04.1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../09-liblsan0_10.3.0-1ubuntu1~20.04_amd64.deb ...
Unpacking liblsan0:amd64 (10.3.0-1ubuntu1~20.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../10-libtsan0_10.3.0-1ubuntu1~20.04_amd64.deb ...
Unpacking libtsan0:amd64 (10.3.0-1ubuntu1~20.04) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../11-libubsan1_10.3.0-1ubuntu1~20.04_amd64.deb ...
Unpacking libubsan1:amd64 (10.3.0-1ubuntu1~20.04) ...
Selecting previously unselected package libgcc-9-dev:amd64.
Preparing to unpack .../12-libgcc-9-dev_9.4.0-1ubuntu1~20.04.1_amd64.deb ...
Unpacking libgcc-9-dev:amd64 (9.4.0-1ubuntu1~20.04.1) ...
Selecting previously unselected package gcc-9.
Preparing to unpack .../13-gcc-9_9.4.0-1ubuntu1~20.04.1_amd64.deb ...
Unpacking gcc-9 (9.4.0-1ubuntu1~20.04.1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../14-gcc_9.3.0-1ubuntu2_amd64.deb ...
Unpacking gcc (4:9.3.0-1ubuntu2) ...
Selecting previously unselected package make.
Preparing to unpack .../15-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../16-dpkg-dev_1.19.7ubuntu3.2_all.deb ...
Unpacking dpkg-dev (1.19.7ubuntu3.2) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../17-libc-dev-bin_2.31-0ubuntu9.9_amd64.deb ...
Unpacking libc-dev-bin (2.31-0ubuntu9.9) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../18-linux-libc-dev_5.4.0-152.169_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.4.0-152.169) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../19-libcrypt-dev_1%3a4.4.10-10ubuntu4_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../20-libc6-dev_2.31-0ubuntu9.9_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-0ubuntu9.9) ...
Selecting previously unselected package libstdc++-9-dev:amd64.
Preparing to unpack .../21-libstdc++-9-dev_9.4.0-1ubuntu1~20.04.1_amd64.deb ...
Unpacking libstdc++-9-dev:amd64 (9.4.0-1ubuntu1~20.04.1) ...
Selecting previously unselected package g++-9.
Preparing to unpack .../22-g++-9_9.4.0-1ubuntu1~20.04.1_amd64.deb ...
Unpacking g++-9 (9.4.0-1ubuntu1~20.04.1) ...
Selecting previously unselected package g++.
Preparing to unpack .../23-g++_9.3.0-1ubuntu2_amd64.deb ...
Unpacking g++ (4:9.3.0-1ubuntu2) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../24-build-essential_12.8ubuntu1.1_amd64.deb ...
Unpacking build-essential (12.8ubuntu1.1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../25-dkms_2.8.1-5ubuntu2_all.deb ...
Unpacking dkms (2.8.1-5ubuntu2) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../26-libfakeroot_1.24-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.24-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../27-fakeroot_1.24-1_amd64.deb ...
Unpacking fakeroot (1.24-1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../28-libalgorithm-diff-perl_1.19.03-2_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-2) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../29-libalgorithm-diff-xs-perl_0.04-6_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-6) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../30-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../31-manpages-dev_5.05-1_all.deb ...
Unpacking manpages-dev (5.05-1) ...
Selecting previously unselected package rtl8821ce-dkms.
Preparing to unpack .../32-rtl8821ce-dkms_5.5.2.1-0ubuntu4~20.04.5_all.deb ...
Unpacking rtl8821ce-dkms (5.5.2.1-0ubuntu4~20.04.5) ...
Setting up manpages-dev (5.05-1) ...
Setting up libalgorithm-diff-perl (1.19.03-2) ...
Setting up binutils-common:amd64 (2.34-6ubuntu1.6) ...
Setting up linux-libc-dev:amd64 (5.4.0-152.169) ...
Setting up libctf-nobfd0:amd64 (2.34-6ubuntu1.6) ...
Setting up libfakeroot:amd64 (1.24-1) ...
Setting up fakeroot (1.24-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (
fakeroot) in auto mode
Setting up libasan5:amd64 (9.4.0-1ubuntu1~20.04.1) ...
Setting up make (4.2.1-1.2) ...
Setting up libubsan1:amd64 (10.3.0-1ubuntu1~20.04) ...
Setting up libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
Setting up libbinutils:amd64 (2.34-6ubuntu1.6) ...
Setting up libc-dev-bin (2.31-0ubuntu9.9) ...
Setting up libalgorithm-diff-xs-perl (0.04-6) ...
Setting up libcc1-0:amd64 (10.3.0-1ubuntu1~20.04) ...
Setting up liblsan0:amd64 (10.3.0-1ubuntu1~20.04) ...
Setting up libitm1:amd64 (10.3.0-1ubuntu1~20.04) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libtsan0:amd64 (10.3.0-1ubuntu1~20.04) ...
Setting up libctf0:amd64 (2.34-6ubuntu1.6) ...
Setting up libgcc-9-dev:amd64 (9.4.0-1ubuntu1~20.04.1) ...
Setting up libc6-dev:amd64 (2.31-0ubuntu9.9) ...
Setting up binutils-x86-64-linux-gnu (2.34-6ubuntu1.6) ...
Setting up libstdc++-9-dev:amd64 (9.4.0-1ubuntu1~20.04.1) ...
Setting up binutils (2.34-6ubuntu1.6) ...
Setting up dpkg-dev (1.19.7ubuntu3.2) ...
Setting up gcc-9 (9.4.0-1ubuntu1~20.04.1) ...
Setting up gcc (4:9.3.0-1ubuntu2) ...
Setting up dkms (2.8.1-5ubuntu2) ...
Setting up g++-9 (9.4.0-1ubuntu1~20.04.1) ...
Setting up g++ (4:9.3.0-1ubuntu2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mo
de
Setting up build-essential (12.8ubuntu1.1) ...
Setting up rtl8821ce-dkms (5.5.2.1-0ubuntu4~20.04.5) ...
Loading new rtl8821ce-5.5.2.1 DKMS files...
Building for 5.15.0-56-generic
Building initial module for 5.15.0-56-generic
Done.

rtl8821ce.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/5.15.0-56-generic/updates/

/etc/modprobe.d/dkms.conf: added 'blacklist rtw88_8821ce'
depmod....

DKMS: install completed.
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for man-db (2.9.1-1) ...
root@zorin:~#

Also, when I try to close that terminal, even the next day, it says:

Warning
There is still a process running. Closing the window will kill it.

And when I modprobe... FATAL! :dizzy_face:

root@zorin:~# modprobe r8821
modprobe: FATAL: Module r8821 not found in directory /lib/modules/5.15.0-56-generic
root@zorin:~# modprobe r8821ce-dkms
modprobe: FATAL: Module r8821ce-dkms not found in directory /lib/modules/5.15.0-56-generic
root@zorin:~#

Try:

sudo depmod -a

sudo modprobe r8821