![Ubuntu 20.04 没有找到 wifi 适配器 Lenovo G5](https://linux22.com/image/1184631/Ubuntu%2020.04%20%E6%B2%A1%E6%9C%89%E6%89%BE%E5%88%B0%20wifi%20%E9%80%82%E9%85%8D%E5%99%A8%20Lenovo%20G5.png)
我买了一台新笔记本电脑(Lenovo Legion G5),我安装了 Windows 和 Ubuntu 双启动。在 Windows 上我的无线适配器也能正常工作,但在 Ubuntu 上我收到此消息:未找到 wifi 适配器。
我尝试了很多解决方案,我发现这个这与我的笔记本电脑规格非常相似,但不幸的是,当我执行此命令时:
cd rtw89 && make && sudo make install
我收到一条错误消息:
cp: cannot stat 'rtl8852au*.bin': No such file or directory
sudo 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: eno1
version: 15
serial: 90:2e:16:35:2a:ee
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.11.0-41-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.13 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:32 ioport:2000(size=256) memory:d1704000-d1704fff memory:d1700000-d1703fff
*-network UNCLAIMED
description: Network controller
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:1000(size=256) memory:d1600000-d16fffff
lspci -v | grep -i 网络
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8852
答案1
请将这些步骤添加到您的流程中并报告结果:
sudo mkdir /usr/lib/firmware/rtw89
sudo cp rtw8852a_fw.bin /usr/lib/firmware/rtw89/
sudo modprobe rtw89pci