新买的神舟Z8-CU7NA:
身为码农,不得不安装ubuntu以便工作,但是安装之后,wifi竟然不能用:
这难道是网卡不识别,还是怎么回事,我们查看无线网卡类型
lspci |grep Network
结果看到:
RTL8821CE?
Google搜索,结果这个驱动需要自己安装,好在有人编译好了。
下载linux中8821CE/rtl8723de的驱动源码https://download.csdn.net/download/MrCharles/12774715
具体参考
https://github.com/tomaspinho/rtl8821ce
但是安装显示依赖问题!!!
安装之前,需要安装一些依赖
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!
那还是要联网更新安装才行呀,怎么联网呢?看蓝牙是好的,那就手机蓝牙共享网络吧。打开设置里面的蓝牙,开启,连上手机,连上网络。
需要安装的是rtl8821ce-dkms_5.5.2.1-0ubuntu3_18.04.1_all.deb
联网之后更新apt-get
先别急安装,先安装dkms,
然后安装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即可。