Shenzhou Z8-CU7NA install ubuntu, wireless network RTL8821CE cannot be used to solve the idea

The newly bought Shenzhou Z8-CU7NA:
Insert picture description here

As a code farmer, I have to install ubuntu in order to work, but after the installation, the wifi can't be used:
Insert picture description here
Is this the network card does not recognize it, or what is going on, let’s check the wireless network card type

lspci  |grep  Network 

The result is:
Insert picture description here
RTL8821CE?
Google search, it turns out that this driver needs to be installed by yourself, but someone compiled it.
Download the driver source code of 8821CE/rtl8723de in Linux https://download.csdn.net/download/MrCharles/12774715

Specific reference
https://github.com/tomaspinho/rtl8821ce

But the installation shows a dependency problem! ! !
Before installation, you need to install some dependencies

sudo apt install bc module-assistant build-essential dkms
sudo m-a prepare

charles@charles-hasee:~$ sudo m-a prepare
Getting source for kernel version: 4.18.0-15-generic
Kernel headers available in /usr/src/linux-headers-4.18.0-15-generic
Creating symlink...
apt-get install build-essential 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 556 not upgraded.

Done!

Then you still need to update and install online, how to connect? Seeing that Bluetooth is good, let's share the network with mobile Bluetooth. Turn on Bluetooth in the settings, turn it on, connect to the phone, and connect to the network.
Insert picture description here
What needs to be installed is rtl8821ce-dkms_5.5.2.1-0ubuntu3_18.04.1_all.deb to
Insert picture description here
update apt-get after networking
Insert picture description here

Don’t
Insert picture description here
rush to install, install dkms first, then install rtl8821ce-dkms_5.5.2.1-0ubuntu3_18.04.1_all.deb

charles@charles-hasee:/media/charles/Storage/software$ sudo dpkg -i rtl8821ce-dkms_5.5.2.1-0ubuntu3_18.04.1_all.deb 
(Reading database ... 131256 files and directories currently installed.)
Preparing to unpack rtl8821ce-dkms_5.5.2.1-0ubuntu3_18.04.1_all.deb ...

------------------------------
Deleting module version: 5.5.2.1
completely from the DKMS tree.
------------------------------
Done.
Unpacking rtl8821ce-dkms (5.5.2.1-0ubuntu3~18.04.1) over (5.5.2.1-0ubuntu3~18.04.1) ...
Setting up rtl8821ce-dkms (5.5.2.1-0ubuntu3~18.04.1) ...
Loading new rtl8821ce-5.5.2.1 DKMS files...
Building only for 4.18.0-15-generic
Building initial module for 4.18.0-15-generic
Generating a 2048 bit RSA private key
.............+++
.........................+++
writing new private key to '/var/lib/shim-signed/mok/MOK.priv'
-----
Secure Boot not enabled on this system.
Done.

rtl8821ce:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.18.0-15-generic/updates/dkms/

depmod....

DKMS: install completed.

Reboot can be.

Guess you like

Origin blog.csdn.net/MrCharles/article/details/108295804