What if the Realtek RTL8821CE WIFI module is not recognized under the Ubuntu system?

Please enter banners and links.

(Ubuntu系统下不识别Realtek RTL8821CE WIFI模块,该怎么办?)

  • 概述:本文介绍搭载Realtek RTL8821CE 无线网卡的《迷你电脑》,在Ubuntu系统无法正常使用解决方案。大部分linux类操作系统,(如Ubuntu)系统库中未集成Realtek RTL8821CE驱动程序,所以在操作系统中无法使用WIFI。想要使用WIFI联网时,必需手动安装驱动程序。下面介绍安装方法:
  • Q:Ubuntu系统下如何查询网卡型号?
    A:进入系统桌面后按Ctrl+Alt+T组合键打开 “终端”,输入以下命令,可查询到详细网卡型号。
    sudo lshw -c network
    输入密码并按Enter(如:123456)

    PS:密码栏不会显示,输入完成后按Enter键确认即可。
  • 下图中查询到的网卡型号有:
    (有线网卡)RTL8111/8168/8411
    (无线网卡)RTL8821CE


  • 一、准备安装环境
    • 1-1、使用有线网络联网,先安装git和dkms工具。Ctrl+Alt+T键打开终端,终端中输入以下命令:
      更新apt源
      sudo apt update

安装所需软件
sudo apt install git

  • 安装成功,输入git --version查看版本:
  • 1-2、sudo apt install build-essential
    build-essential是C/C++的编译环境全家桶,可以将编译c/c++所需要的软件包都安装上。
  • sudo apt install dkms
    DKMS是Dynamic Kernel Module Support的缩写,即动态内核模块支持,用于维护未集成到内核之中的Linux驱动程序。

二、下载驱动及安装

  • 2-2、Ctrl+Alt+T键打开终端,终端中输入以下命令打开驱动文件所在目录:
    ls
    cd Downloads
    cd Drives-Realtek-RTL8821CE-master
    ls

    PS:“Drives-Realtek-RTL8821CE-master”为文件夹名称,您的文件夹名称也许同本博文中的不一致,请根据实际文件夹名称或自行修改文件名 后输入对应的命令!
  • 2-3、终端中运行以下命令编译文件和安装驱动
    sudo make
    sudo make install
    sudo modprobe 8821ce
    sudo reboot
    如安装过程中未报错,正常情况下重启后即可看到WIFI了。

作者: minipc

Our company is a reliable manufacturer and exporter of fanless mini computers, industrial computers, all-in-one computers and industrial tablet computers. Our products are exported to the European Union, America, Asia and other places, and enjoy a high reputation in the global market. In order to provide high-quality products and excellent services, our company has obtained reports and certificates approved by CE, FCC, RoHS, SGS, ISO9001, etc. Our goal is "innovation first, quality first, customers first, service first". We are committed to providing quality products, excellent service, competitive prices, fast response and timely delivery. We warmly welcome every customer to visit us and hope that both of us will work together to create a brilliant future. OEM and ODM orders are welcome.

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注