Lenovo Thinkpad E480 - 在 Ubuntu 18.04 中找不到 Wifi 适配器

Sun*_*kla 7 thinkpad lenovo networking drivers 18.04

我最近购买了一台联想 Thinkpad E480 笔记本电脑,我在上面安装了 Ubuntu 18.04,除了无法通过 WiFi 连接到网络外,一切正常。请帮忙。

我关注了这个链接,但我无法解决这个问题。

下面是一些命令的输出。

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic
Run Code Online (Sandbox Code Playgroud)

用户名 -r

4.15.0-33-generic
Run Code Online (Sandbox Code Playgroud)

rfkill 列出所有

0: tpacpi_bluetooth_sw: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
Run Code Online (Sandbox Code Playgroud)

lspci -nnk | grep 0280 -A3

05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
    Subsystem: Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter [17aa:c024]
06:00.0 SD Host controller [0805]: O2 Micro, Inc. SD/MMC Card Reader Controller [1217:8621] (rev 01)
    Subsystem: Lenovo SD/MMC Card Reader Controller [17aa:5068]
Run Code Online (Sandbox Code Playgroud)

须藤 lshw -C 网络

 *-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:03:00.0
       logical name: enp3s0
       version: 10
       serial: 8c:16:45:a3:d9:f1
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168g-3_0.0.1 04/23/13 ip=192.168.2.2 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:16 ioport:d000(size=256) memory:f1204000-f1204fff memory:f1200000-f1203fff
  *-network UNCLAIMED
       description: Network controller
       product: Realtek Semiconductor Co., Ltd.
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:05:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress cap_list
       configuration: latency=0
       resources: ioport:c000(size=256) memory:f1100000-f110ffff
Run Code Online (Sandbox Code Playgroud)

看来我必须克隆、编译和安装所需的WiFi驱动程序,请指导我使用哪个WiFi驱动程序以及如何安装(如果可能,请提供步骤)。

PS:如果需要任何进一步的信息来解决这个问题,请告诉我,我将根据给出的指导在问题中添加所需的信息(如果有)。

chi*_*555 11

通过以太网、系留或任何其他方式临时工作的互联网连接,打开终端 Ctrl+Alt+t 并执行以下操作:

sudo apt update
sudo apt install build-essential git dkms
git clone https://github.com/tomaspinho/rtl8821ce.git
cd rtl8821ce
sudo ./dkms-install.sh
Run Code Online (Sandbox Code Playgroud)

该文件在我的 18.04 系统上为我构建,带有一些可能无害的警告但没有错误。

关注:

sudo modprobe 8821ce
Run Code Online (Sandbox Code Playgroud)

你应该准备好了。