20200221配置 惠普(HP)星14(R5-3500U)在ubuntu20.04下的WIFI型号RTL8821CE(完成了)

20200221配置 惠普(HP)星14(R5-3500U)在ubuntu20.04下的WIFI型号RTL8821CE

11:56 2020/2/21 星期五

电脑开机的时候按ESC按键,按F10进入BIOS(按F9进入启动顺序选择!)

 

请严重注意这个屏幕的选项,不然老是说让人加入密钥,搞来搞去,我最后都没有搞好。

反正我就关闭了几个选项,就好了!

 

 

 

(修改一下)
功能键延时(秒)    5

USB启动设置    启用
网络启动设置    禁用

(基本就是这里)
旧支持    启用
平台金钥    未注册
尚未完成的动作    无

 

 

 

rootroot@rootroot-HP-Laptop-14s-dp0xxx:~$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~$ ll
总用量 62448
drwxr-xr-x 17 rootroot rootroot     4096 2月  21 11:36 ./
drwxr-xr-x  3 root     root         4096 2月  21  2020 ../
drwxr-xr-x  2 rootroot rootroot     4096 2月  21  2020 公共的/
drwxr-xr-x  2 rootroot rootroot     4096 2月  21  2020 模板/
drwxr-xr-x  2 rootroot rootroot     4096 2月  21  2020 视频/
drwxr-xr-x  2 rootroot rootroot     4096 2月  21 11:26 图片/
drwxr-xr-x  2 rootroot rootroot     4096 2月  21  2020 文档/
drwxr-xr-x  2 rootroot rootroot     4096 2月  21  2020 下载/
drwxr-xr-x  2 rootroot rootroot     4096 2月  21  2020 音乐/
drwxr-xr-x  2 rootroot rootroot     4096 2月  21  2020 桌面/
-rw-r--r--  1 rootroot rootroot      220 2月  21  2020 .bash_logout
-rw-r--r--  1 rootroot rootroot     3771 2月  21  2020 .bashrc
drwx------ 16 rootroot rootroot     4096 2月  21 11:36 .cache/
drwx------ 11 rootroot rootroot     4096 2月  21 11:26 .config/
drwx------  3 rootroot rootroot     4096 2月  21 11:07 .gnupg/
-rw-r--r--  1 rootroot rootroot 63860304 2月  18 05:29 google-chrome-stable_current_amd64.deb
drwx------  3 rootroot rootroot     4096 2月  21  2020 .local/
drwx------  5 rootroot rootroot     4096 2月  21 11:21 .mozilla/
drwx------  3 rootroot rootroot     4096 2月  21 11:26 .pki/
-rw-r--r--  1 rootroot rootroot      807 2月  21  2020 .profile
drwx------  2 rootroot rootroot     4096 2月  21 11:07 .ssh/
-rw-r--r--  1 rootroot rootroot        0 2月  21 11:07 .sudo_as_admin_successful
-rw-------  1 rootroot rootroot       75 2月  21 11:36 .Xauthority
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~$ mkdir wyb
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~$ cd wyb/
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ ll
总用量 8
drwxrwxr-x  2 rootroot rootroot 4096 2月  21 11:37 ./
drwxr-xr-x 18 rootroot rootroot 4096 2月  21 11:37 ../
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ git clone https://github.com/tomaspinho/rtl8821ce

Command 'git' not found, but can be installed with:

sudo apt install git

rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ sudo apt-get install git
[sudo] rootroot 的密码: 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
将会同时安装下列软件:
  git-man liberror-perl
建议安装:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn
下列【新】软件包将被安装:
  git git-man liberror-perl
升级了 0 个软件包,新安装了 3 个软件包,要卸载 0 个软件包,有 559 个软件包未被升级。
需要下载 5,452 kB 的归档。
解压缩后会消耗 38.3 MB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 liberror-perl all 0.17029-1 [26.5 kB]
获取:2 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 git-man all 1:2.25.0-1ubuntu1 [882 kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 git amd64 1:2.25.0-1ubuntu1 [4,544 kB]
已下载 5,452 kB,耗时 4秒 (1,549 kB/s)
正在选中未选择的软件包 liberror-perl。
(正在读取数据库 ... 系统当前共安装有 158226 个文件和目录。)
准备解压 .../liberror-perl_0.17029-1_all.deb  ...
正在解压 liberror-perl (0.17029-1) ...
正在选中未选择的软件包 git-man。
准备解压 .../git-man_1%3a2.25.0-1ubuntu1_all.deb  ...
正在解压 git-man (1:2.25.0-1ubuntu1) ...
正在选中未选择的软件包 git。
准备解压 .../git_1%3a2.25.0-1ubuntu1_amd64.deb  ...
正在解压 git (1:2.25.0-1ubuntu1) ...
正在设置 liberror-perl (0.17029-1) ...
正在设置 git-man (1:2.25.0-1ubuntu1) ...
正在设置 git (1:2.25.0-1ubuntu1) ...
正在处理用于 man-db (2.9.0-2) 的触发器 ...
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ git clone https://github.com/tomaspinho/rtl8821ce
正克隆到 'rtl8821ce'...
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (44/44), done.
remote: Total 1524 (delta 16), reused 18 (delta 7), pack-reused 1473
接收对象中: 100% (1524/1524), 5.78 MiB | 632.00 KiB/s, 完成.
处理 delta 中: 100% (823/823), 完成.
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ ll
总用量 12
drwxrwxr-x  3 rootroot rootroot 4096 2月  21 11:39 ./
drwxr-xr-x 18 rootroot rootroot 4096 2月  21 11:37 ../
drwxrwxr-x  8 rootroot rootroot 4096 2月  21 11:39 rtl8821ce/
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb$ cd rtl8821ce/
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ ll
总用量 172
drwxrwxr-x 8 rootroot rootroot  4096 2月  21 11:39 ./
drwxrwxr-x 3 rootroot rootroot  4096 2月  21 11:39 ../
-rw-rw-r-- 1 rootroot rootroot    64 2月  21 11:39 clean
drwxrwxr-x 4 rootroot rootroot  4096 2月  21 11:39 core/
-rw-rw-r-- 1 rootroot rootroot   210 2月  21 11:39 dkms.conf
-rwxrwxr-x 1 rootroot rootroot   493 2月  21 11:39 dkms-install.sh*
-rwxrwxr-x 1 rootroot rootroot   501 2月  21 11:39 dkms-remove.sh*
-rw-rw-r-- 1 rootroot rootroot   219 2月  21 11:39 Dockerfile
-rwxrwxr-x 1 rootroot rootroot   266 2月  21 11:39 get_sources.sh*
drwxrwxr-x 8 rootroot rootroot  4096 2月  21 11:39 .git/
-rw-rw-r-- 1 rootroot rootroot    55 2月  21 11:39 .gitignore
drwxrwxr-x 9 rootroot rootroot  4096 2月  21 11:39 hal/
-rw-rw-r-- 1 rootroot rootroot  1912 2月  21 11:39 halmac.mk
-rw-rw-r-- 1 rootroot rootroot    51 2月  21 11:39 ifcfg-wlan0
drwxrwxr-x 5 rootroot rootroot 12288 2月  21 11:39 include/
-rw-rw-r-- 1 rootroot rootroot   110 2月  21 11:39 Kconfig
-rwxrwxr-x 1 rootroot rootroot 68862 2月  21 11:39 Makefile*
drwxrwxr-x 3 rootroot rootroot  4096 2月  21 11:39 os_dep/
-rw-rw-r-- 1 rootroot rootroot  1095 2月  21 11:39 PKGBUILD
drwxrwxr-x 2 rootroot rootroot  4096 2月  21 11:39 platform/
-rw-rw-r-- 1 rootroot rootroot  4500 2月  21 11:39 README.md
-rw-rw-r-- 1 rootroot rootroot  1313 2月  21 11:39 rtl8821c.mk
-rw-rw-r-- 1 rootroot rootroot   423 2月  21 11:39 runwpa
-rw-rw-r-- 1 rootroot rootroot   294 2月  21 11:39 wlan0dhcp
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ make -j8
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-9-generic/build M=/home/rootroot/wyb/rtl8821ce  modules
make[1]: 进入目录“/usr/src/linux-headers-5.4.0-9-generic”
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_cmd.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_security.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_debug.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_io.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_ioctl_query.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_ioctl_set.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_ieee80211.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_mlme.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_mlme_ext.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_mi.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_wlan_util.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_vht.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_pwrctrl.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_rf.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_chplan.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_recv.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_sta_mgt.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_ap.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/mesh/rtw_mesh.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_xmit.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_p2p.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_rson.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_tdls.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_br_ext.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_iol.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_sreset.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_btcoex_wifionly.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_btcoex.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_beamforming.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_odm.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_rm.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_rm_fsm.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/efuse/rtw_efuse.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/osdep_service.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/os_intfs.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/pci_intf.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/pci_ops_linux.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/ioctl_linux.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/xmit_linux.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/mlme_linux.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/recv_linux.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/wifi_regd.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/rtw_android.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/rtw_proc.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/rtw_rhashtable.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/os_dep/linux/ioctl_mp.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_intf.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_com.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_com_phycfg.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_phy.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_dm.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_dm_acs.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_btcoex_wifionly.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_btcoex.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_mp.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_mcc.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_hci/hal_pci.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/led/hal_led.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/led/hal_pci_led.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/rtl8821c_mac.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/rtl8821c_phy.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/rtl8821c_ops.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/rtl8821c_dm.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/hal8821c_fw.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/hal_halmac.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_api.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_bb_rf_88xx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_cfg_wmac_88xx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_common_88xx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_efuse_88xx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_flash_88xx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_fw_88xx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_gpio_88xx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_init_88xx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_mimo_88xx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_pcie_88xx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_cfg_wmac_8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_common_8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_gpio_8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_init_8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_phy_8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_pwr_seq_8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_pcie_8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_debug.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_antdiv.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_soml.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_smt_ant.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_antdect.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_interface.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_phystatus.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_hwconfig.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_dig.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_pathdiv.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_rainfo.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_dynamictxpower.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_adaptivity.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_cfotracking.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_noisemonitor.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_beamforming.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_dfs.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/txbf/halcomtxbf.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/txbf/haltxbfinterface.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_adc_sampling.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_ccx.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_psd.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_primary_cca.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_cck_pd.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_rssi_monitor.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_auto_dbg.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_math_lib.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_api.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_pow_train.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_lna_sat.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_pmac_tx_setting.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/phydm_mp.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/halrf/halrf.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/halrf/halrf_debug.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/halrf/halphyrf_ce.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/halrf/halrf_powertracking_ce.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/halrf/halrf_powertracking.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/halrf/halrf_kfree.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/btc/halbtc8821cwifionly.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/btc/halbtc8821c1ant.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/hal/btc/halbtc8821c2ant.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/platform/platform_ops.o
  CC [M]  /home/rootroot/wyb/rtl8821ce/core/rtw_mp.o
  LD [M]  /home/rootroot/wyb/rtl8821ce/8821ce.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC [M]  /home/rootroot/wyb/rtl8821ce/8821ce.mod.o
  LD [M]  /home/rootroot/wyb/rtl8821ce/8821ce.ko
make[1]: 离开目录“/usr/src/linux-headers-5.4.0-9-generic”
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ ll
总用量 5984
drwxrwxr-x 8 rootroot rootroot    4096 2月  21 11:41 ./
drwxrwxr-x 3 rootroot rootroot    4096 2月  21 11:39 ../
-rw-rw-r-- 1 rootroot rootroot 2927240 2月  21 11:41 8821ce.ko
-rw-rw-r-- 1 rootroot rootroot     266 2月  21 11:41 .8821ce.ko.cmd
-rw-rw-r-- 1 rootroot rootroot    8463 2月  21 11:41 8821ce.mod
-rw-rw-r-- 1 rootroot rootroot     730 2月  21 11:41 8821ce.mod.c
-rw-rw-r-- 1 rootroot rootroot    8568 2月  21 11:41 .8821ce.mod.cmd
-rw-rw-r-- 1 rootroot rootroot    3064 2月  21 11:41 8821ce.mod.o
-rw-rw-r-- 1 rootroot rootroot   31084 2月  21 11:41 .8821ce.mod.o.cmd
-rw-rw-r-- 1 rootroot rootroot 2933912 2月  21 11:41 8821ce.o
-rw-rw-r-- 1 rootroot rootroot    8612 2月  21 11:41 .8821ce.o.cmd
-rw-rw-r-- 1 rootroot rootroot      64 2月  21 11:39 clean
drwxrwxr-x 4 rootroot rootroot    4096 2月  21 11:41 core/
-rw-rw-r-- 1 rootroot rootroot     210 2月  21 11:39 dkms.conf
-rwxrwxr-x 1 rootroot rootroot     493 2月  21 11:39 dkms-install.sh*
-rwxrwxr-x 1 rootroot rootroot     501 2月  21 11:39 dkms-remove.sh*
-rw-rw-r-- 1 rootroot rootroot     219 2月  21 11:39 Dockerfile
-rwxrwxr-x 1 rootroot rootroot     266 2月  21 11:39 get_sources.sh*
drwxrwxr-x 8 rootroot rootroot    4096 2月  21 11:39 .git/
-rw-rw-r-- 1 rootroot rootroot      55 2月  21 11:39 .gitignore
drwxrwxr-x 9 rootroot rootroot    4096 2月  21 11:40 hal/
-rw-rw-r-- 1 rootroot rootroot    1912 2月  21 11:39 halmac.mk
-rw-rw-r-- 1 rootroot rootroot      51 2月  21 11:39 ifcfg-wlan0
drwxrwxr-x 5 rootroot rootroot   12288 2月  21 11:39 include/
-rw-rw-r-- 1 rootroot rootroot     110 2月  21 11:39 Kconfig
-rwxrwxr-x 1 rootroot rootroot   68862 2月  21 11:39 Makefile*
-rw-rw-r-- 1 rootroot rootroot      39 2月  21 11:41 modules.order
-rw-rw-r-- 1 rootroot rootroot       0 2月  21 11:41 Module.symvers
drwxrwxr-x 3 rootroot rootroot    4096 2月  21 11:40 os_dep/
-rw-rw-r-- 1 rootroot rootroot    1095 2月  21 11:39 PKGBUILD
drwxrwxr-x 2 rootroot rootroot    4096 2月  21 11:41 platform/
-rw-rw-r-- 1 rootroot rootroot    4500 2月  21 11:39 README.md
-rw-rw-r-- 1 rootroot rootroot    1313 2月  21 11:39 rtl8821c.mk
-rw-rw-r-- 1 rootroot rootroot     423 2月  21 11:39 runwpa
-rw-rw-r-- 1 rootroot rootroot     294 2月  21 11:39 wlan0dhcp
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ sudo make install
install -p -m 644 8821ce.ko  /lib/modules/5.4.0-9-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 5.4.0-9-generic
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ sudo modprobe -a 8821ce
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ dmesg
[    0.000000] Linux version 5.4.0-9-generic (buildd@lcy01-amd64-023) (gcc version 9.2.1 20191130 (Ubuntu 9.2.1-21ubuntu1)) #12-Ubuntu SMP Mon Dec 16 22:34:19 UTC 2019 (Ubuntu 5.4.0-9.12-generic 5.4.3)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-9-generic root=UUID=e796bd8b-d3b6-4348-b8c1-7fd3a1887768 ro quiet splash vt.handoff=7
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Hygon HygonGenuine
[    0.000000]   Centaur CentaurHauls
[    0.000000]   zhaoxin   Shanghai  
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
……
[  118.170180] audit: type=1400 audit(1582282811.769:64): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.gnome-characters.gnome-characters" pid=3490 comm="apparmor_parser"
[  118.217784] audit: type=1400 audit(1582282811.817:65): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.gnome-characters" pid=3489 comm="apparmor_parser"
[  119.107801] audit: type=1400 audit(1582282812.709:66): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.gnome-logs" pid=3509 comm="apparmor_parser"
[  119.223746] audit: type=1400 audit(1582282812.825:67): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.gnome-logs.gnome-logs" pid=3510 comm="apparmor_parser"
[ 2610.863768] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 2610.867843] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2610.870082] 8821ce: loading out-of-tree module taints kernel.
[ 2610.872201] 8821ce: module verification failed: signature and/or required key missing - tainting kernel
[ 2610.909126] rtl8821ce 0000:03:00.0 wlp3s0: renamed from wlan0
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ lshw -C network
WARNING: you should run this program as super-user.
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eno1
       version: 15
       serial: e8:d8:d1:6f:f0:2d
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.2.101 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:48 ioport:f000(size=256) memory:fce04000-fce04fff memory:fce00000-fce03fff
  *-network
       description: Wireless interface
       product: RTL8821CE 802.11ac PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 00
       serial: 40:5b:d8:c7:9c:ab
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821ce latency=0 multicast=yes wireless=unassociated
       resources: irq:73 ioport:e000(size=256) memory:fcd00000-fcd0ffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.101  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::9e7d:aaca:1fe4:cbe6  prefixlen 64  scopeid 0x20<link>
        ether e8:d8:d1:6f:f0:2d  txqueuelen 1000  (以太网)
        RX packets 319582  bytes 444992703 (444.9 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 179653  bytes 15605441 (15.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (本地环回)
        RX packets 2319  bytes 242385 (242.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2319  bytes 242385 (242.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 40:5b:d8:c7:9c:ab  txqueuelen 1000  (以太网)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ lsmod
Module                  Size  Used by
8821ce               1794048  0
cfg80211              704512  1 8821ce
rfcomm                 81920  16
cmac                   16384  3
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 24576  6 algif_hash,algif_skcipher
bnep                   24576  2
edac_mce_amd           32768  0
kvm_amd                98304  0
ccp                    86016  1 kvm_amd
kvm                   655360  1 kvm_amd
snd_hda_codec_realtek   118784  1
irqbypass              16384  1 kvm
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     61440  1
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_intel          49152  7
snd_intel_nhlt         20480  1 snd_hda_intel
snd_hda_codec         131072  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              20480  1 snd_hda_codec
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
snd_pcm               106496  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
joydev                 24576  0
ghash_clmulni_intel    16384  0
snd_seq_midi           20480  0
uvcvideo               98304  0
snd_seq_midi_event     16384  1 snd_seq_midi
videobuf2_vmalloc      20480  1 uvcvideo
amdgpu               4571136  20
videobuf2_memops       20480  1 videobuf2_vmalloc
snd_rawmidi            36864  1 snd_seq_midi
videobuf2_v4l2         24576  1 uvcvideo
aesni_intel           372736  4
btusb                  57344  0
crypto_simd            16384  1 aesni_intel
btrtl                  24576  1 btusb
input_leds             16384  0
btbcm                  16384  1 btusb
hp_wmi                 16384  0
btintel                24576  1 btusb
videobuf2_common       49152  2 videobuf2_v4l2,uvcvideo
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
serio_raw              20480  0
sparse_keymap          16384  1 hp_wmi
bluetooth             581632  41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
videodev              221184  3 videobuf2_v4l2,uvcvideo,videobuf2_common
hid_multitouch         28672  0
wmi_bmof               16384  0
mc                     53248  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
ecdh_generic           16384  2 bluetooth
snd_timer              36864  3 snd_seq,snd_pcm
amd_iommu_v2           20480  1 amdgpu
ecc                    28672  1 ecdh_generic
gpu_sched              32768  1 amdgpu
ttm                   106496  1 amdgpu
snd_pci_acp3x          16384  0
k10temp                16384  0
drm_kms_helper        184320  1 amdgpu
snd                    90112  23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
drm                   487424  8 gpu_sched,drm_kms_helper,amdgpu,ttm
i2c_algo_bit           16384  1 amdgpu
fb_sys_fops            16384  1 drm_kms_helper
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
soundcore              16384  1 snd
sysimgblt              16384  1 drm_kms_helper
mac_hid                16384  0
hp_wireless            16384  0
acpi_tad               16384  0
sch_fq_codel           20480  6
parport_pc             40960  0
ppdev                  24576  0
lp                     20480  0
parport                53248  3 parport_pc,lp,ppdev
ip_tables              28672  0
x_tables               40960  1 ip_tables
autofs4                45056  2
usbhid                 57344  0
hid_generic            16384  0
i2c_piix4              28672  0
nvme                   45056  1
r8169                  90112  0
nvme_core             102400  3 nvme
realtek                20480  1
wmi                    32768  2 hp_wmi,wmi_bmof
video                  49152  0
i2c_hid                28672  0
hid                   131072  4 i2c_hid,usbhid,hid_multitouch,hid_generic
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ lsmod | grep 8821
8821ce               1794048  0
cfg80211              704512  1 8821ce
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/rtl8821ce$ 

 

输入密码之后就可以连接上WIFI了。

我家的2.4G和5G的WIFI同名同密码了,就不分别测试了!严格测试需要分区测试,并测试网速!

 

 

(由于现在因为华为的使用大火的deepin深度系统上测试用WIFI,所以在ubuntu20.04上面再次测试,OK!)

https://blog.csdn.net/Heyll__/article/details/90634125
deepin/ubuntu 系统 安装rtl8821ce 无线驱动
原创我的狗叫乐乐八岁了 最后发布于2019-05-28 10:19:07 阅读数 1746  收藏
展开
git clone?https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
make
sudo make install
sudo modprobe -a 8821ce

 

 

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值