联想 130 15ast - 18.04 - RTL8821ce

联想 130 15ast - 18.04 - RTL8821ce

我对 Linux 和这个社区还很陌生。这台电脑是送给一个朋友的礼物,他只会使用 Ubuntu 并且需要 wifi。

我买了联想。装了SSD。下载了18.02并安装。

主屏幕上没有显示无线。以太网正常。

我在这里找到了两篇文章,其中有文本可以粘贴到终端中。这些文章似乎运行起来没有错误。两者都预测无线会在重启后出现,但对我来说并没有出现。

我注意到在“活动中”找不到飞行模式。按 F5(飞机符号)没有任何作用。

我在终端中尝试了其他文本(lsm?),据说它可以查找已安装的驱动程序。长列表中有一个 Realtek 网络信息块。它有一些文字说“无人认领”。

我读到必须确保 BIOS 中的安全启动必须被禁用。我在 BIOS 中没有找到它,但在运行上面的终端输入之前,我已将其设置为传统启动。

我在这里读到的很多讨论都超出了我的理解范围。

以下是我的运行结果:


从:联想 ThinkPad E570(Realtek RTL8821CE)上的 Wi-Fi 无法使用

我跑了:

sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
chmod +x dkms-install.sh
chmod +x dkms-remove.sh
sudo ./dkms-install.sh

结果是:

diane@diane-Lenovo-ideapad-130-15AST:~$ sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
[sudo] password for diane: 
Sorry, try again.
[sudo] password for diane: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 475 not upgraded.
Need to get 0 B/5,069 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 132203 files and directories currently installed.)
Preparing to unpack .../build-essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) over (12.4ubuntu1) ...
Preparing to unpack .../dkms_2.3-3ubuntu9.2_all.deb ...
Unpacking dkms (2.3-3ubuntu9.2) over (2.3-3ubuntu9.2) ...
Preparing to unpack .../git_1%3a2.17.1-1ubuntu0.4_amd64.deb ...
Unpacking git (1:2.17.1-1ubuntu0.4) over (1:2.17.1-1ubuntu0.4) ...
Preparing to unpack .../linux-headers-4.15.0-29-generic_4.15.0-29.31_amd64.deb ...
Unpacking linux-headers-4.15.0-29-generic (4.15.0-29.31) over (4.15.0-29.31) ...
Setting up build-essential (12.4ubuntu1) ...
Setting up dkms (2.3-3ubuntu9.2) ...
Setting up linux-headers-4.15.0-29-generic (4.15.0-29.31) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up git (1:2.17.1-1ubuntu0.4) ...
diane@diane-Lenovo-ideapad-130-15AST:~$ 

我重新启动后发现没有无线设备的迹象


从:如何使我的 Realtek RTL8821CE 无线硬件工作?

我跑了:

cd /tmp/
sudo apt install --reinstall git dkms build-essential linux-headers-$(uname -r)
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
chmod +x dkms-install.sh
chmod +x dkms-remove.sh
sudo ./dkms-install.sh

结果是:

diane@diane-Lenovo-ideapad-130-15AST:~$ cd /tmp/
diane@diane-Lenovo-ideapad-130-15AST:/tmp$ sudo apt install --reinstall git dkms build-essential linux-headers-$(uname -r)
[sudo] password for diane: 
Sorry, try again.
[sudo] password for diane: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 395 not upgraded.
Need to get 0 B/5,069 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 132301 files and directories currently installed.)
Preparing to unpack .../build-essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) over (12.4ubuntu1) ...
Preparing to unpack .../dkms_2.3-3ubuntu9.2_all.deb ...
Unpacking dkms (2.3-3ubuntu9.2) over (2.3-3ubuntu9.2) ...
Preparing to unpack .../git_1%3a2.17.1-1ubuntu0.4_amd64.deb ...
Unpacking git (1:2.17.1-1ubuntu0.4) over (1:2.17.1-1ubuntu0.4) ...
Preparing to unpack .../linux-headers-4.15.0-29-generic_4.15.0-29.31_amd64.deb ...
Unpacking linux-headers-4.15.0-29-generic (4.15.0-29.31) over (4.15.0-29.31) ...
Setting up build-essential (12.4ubuntu1) ...
Setting up dkms (2.3-3ubuntu9.2) ...
Setting up linux-headers-4.15.0-29-generic (4.15.0-29.31) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up git (1:2.17.1-1ubuntu0.4) ...
diane@diane-Lenovo-ideapad-130-15AST:/tmp$

我重新启动后,没有发现无线设备的迹象。


从:如何使用终端列出已安装的网卡?

我跑了:

lspci

并得到:

diane@diane-Lenovo-ideapad-130-15AST:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1577
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 98e4 (rev ea)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15b3
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Device 157a
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 4b)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4b)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b5
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter

我重新启动了,但没有任何无线设备的迹象


我从另一个来源输入

lshw -c network (but first typed sudo -i)

并得到:

root@diane-Lenovo-ideapad-130-15AST:~# lshw -c network
  *-network                 
       description: Ethernet interface
       product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: enp1s0
       version: 07
       serial: 9c:5a:44:06:ed:f1
       size: 100Mbit/s
       capacity: 100Mbit/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 autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8106e-1_0.0.1 06/29/12 ip=192.168.1.113 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:30 ioport:3000(size=256) memory:f0400000-f0400fff memory:f0100000-f0103fff
  *-network UNCLAIMED
       description: Network controller
       product: Realtek Semiconductor Co., Ltd.
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: ioport:2000(size=256) memory:f1000000-f100ffff

答案1

嗨,我也遇到了同样的问题,这对我有用。 sudo tee /etc/modprobe.d/blacklist-ideapad.conf <<< "blacklist ideapad_laptop"

答案2

我必须安装一个司机,按照此处的步骤查找多个不同芯片组的指南。

在这里讨论的案例中RTL8821CE

sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
chmod +x dkms-install.sh
chmod +x dkms-remove.sh
sudo ./dkms-install.sh 

答案3

安全启动与此无关。不过,我们需要您提供一些额外的信息来帮助您。

请使用更多信息(lsusb、dmesg、uname -a 的输出)更新帖子,这样我们才能提供帮助。

否则,ppartl8821ce有您想要的内容。按照那里的步骤操作。如果您遇到问题,请在这里提问。

请按照该网站上针对联想笔记本电脑的说明进行操作:

sudo modprobe -r ideapad_laptop

永久列入黑名单:

sudo tee /etc/modprobe.d/blacklist-ideapad.conf <<< "blacklist ideapad_laptop"

相关内容