I'm a complete linux noob and just installed Linux Mint 22.1 Cinnamon. Both update manager and driver manager seem to think I am up to date with no additional drivers required. However inxi shows my network as:
Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
driver: N/A
When I ran mint on usb during install it prompted me to select a wifi connection and I had access to internet. After install and restart I still had internet. When I restarted again later suddenly I not only don't have internet, but no network driver. I'm so new to this and genuinely don't know what to do. I found this https://github.com/juanro49/rtl88x2ce-dkms but don't know what commands to run and where to find the downloaded packages. Internet seems to say I should be getting these drivers automatically but something is not working? Any help is welcome.
I tried running sudo apt-get update and sudo apt-get install linux-firmware which did try to update my network driver but encountered an error.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-firmware is already the newest version (20240318.git3b128b60-0ubuntu2.15).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up rtl88x2ce-dkms (35403) ...
Removing old rtl88x2ce-35403 DKMS files...
Deleting module rtl88x2ce-35403 completely from the DKMS tree.
Loading new rtl88x2ce-35403 DKMS files...
Building for 6.8.0-78-generic
Building for architecture x86_64
Building initial module for 6.8.0-78-generic
Error! Bad return status for module build on kernel: 6.8.0-78-generic (x86_64)
Consult /var/lib/dkms/rtl88x2ce/35403/build/make.log for more information.
dpkg: error processing package rtl88x2ce-dkms (--configure):
installed rtl88x2ce-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
rtl88x2ce-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
make.log says:
DKMS make.log for rtl88x2ce-35403 for kernel 6.8.0-78-generic (x86_64)
Tue Aug 26 01:50:22 PM CEST 2025
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.8.0-78-generic/build M=/var/lib/dkms/rtl88x2ce/35403/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-78-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ieee80211.o
Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
driver: N/A
When I ran mint on usb during install it prompted me to select a wifi connection and I had access to internet. After install and restart I still had internet. When I restarted again later suddenly I not only don't have internet, but no network driver. I'm so new to this and genuinely don't know what to do. I found this https://github.com/juanro49/rtl88x2ce-dkms but don't know what commands to run and where to find the downloaded packages. Internet seems to say I should be getting these drivers automatically but something is not working? Any help is welcome.
I tried running sudo apt-get update and sudo apt-get install linux-firmware which did try to update my network driver but encountered an error.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-firmware is already the newest version (20240318.git3b128b60-0ubuntu2.15).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up rtl88x2ce-dkms (35403) ...
Removing old rtl88x2ce-35403 DKMS files...
Deleting module rtl88x2ce-35403 completely from the DKMS tree.
Loading new rtl88x2ce-35403 DKMS files...
Building for 6.8.0-78-generic
Building for architecture x86_64
Building initial module for 6.8.0-78-generic
Error! Bad return status for module build on kernel: 6.8.0-78-generic (x86_64)
Consult /var/lib/dkms/rtl88x2ce/35403/build/make.log for more information.
dpkg: error processing package rtl88x2ce-dkms (--configure):
installed rtl88x2ce-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
rtl88x2ce-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
make.log says:
DKMS make.log for rtl88x2ce-35403 for kernel 6.8.0-78-generic (x86_64)
Tue Aug 26 01:50:22 PM CEST 2025
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.8.0-78-generic/build M=/var/lib/dkms/rtl88x2ce/35403/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-78-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ieee80211.o
Last edited:

