本文
主要介绍如何为deepin系统安装 rtl8821ce 无线网卡驱动。
背景
- 主机: Thinkpad S2
- 系统: Win10
- deppin版本: Deepin GNU/Linux 15.11
- 无线驱动:rtl8821ce
参考
查看自己的网卡型号
在终端输入以下命令:
显示如下:
1
2
3
4
5
6
7
8
9
10
|
[18690.091602] RTW: rtl8821c_sethwreg(wlp2s0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000000
[19611.409023] RTW: rtl8821c_sethwreg(wlp2s0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000000
[19669.877403] RTW: rtl8821c_sethwreg(wlp2s0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000000
[19974.291420] RTW: rtl8821c_sethwreg(wlp2s0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000000
[20093.240319] RTW: rtl8821c_sethwreg(wlp2s0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000000
[20484.342884] RTW: rtl8821c_sethwreg(wlp2s0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000000
[20605.303770] RTW: rtl8821c_sethwreg(wlp2s0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000000
[20893.593415] RTW: rtl8821c_sethwreg(wlp2s0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000000
[20937.945192] RTW: rtl8821c_sethwreg(wlp2s0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000000
[20990.361341] RTW: rtl8821c_sethwreg(wlp2s0): [HW_VAR_MACID_WAKEUP] macid=0, org reg_0x4d4=0x00000000
|
下载驱动
安装驱动
- 解压rtl8821ce.zip
- 修改 Makefile 文件,将 TopDIR 变量改为 Makefile 文件所在路径,如下:
1
2
3
|
export TopDIR ?= $(srctree)/drivers/net/wireless/rtl8821ce
#modify to
export TopDIR ?= /home/caowenhui/Treasury/tools_and_drives/wireless/rtl8821ce
|
- 安装,打开终端,进入Makefile所在路径,输入以下命令:
1
2
3
|
make
sudo make install
sudo modprobe -a 8821ce
|
文章原创,可能存在部分错误,欢迎指正,联系邮箱 cao_arvin@163.com。