几周前,我买了一台旧笔记本电脑,并在其上安装了 Ubuntu 22.04 LTS。当我挂起机器并将其唤醒时,WIFI 无法连接(看起来它试图连接到 SSID,但无法连接)。
当我关机并重新开机切断电源时,一切恢复正常。当我重新启动机器时,它会启动并显示未启用任何 WIFI 驱动程序。
BIOS 中所有相关的省电设置均已停用。
以下是 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: 0c
serial: a0:1d:48:a8:2b:df
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-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.19.0-38-generic firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=twisted pair
resources: irq:18 ioport:3000(size=256) memory:d0600000-d0600fff memory:d0400000-d0403fff
*-network
description: Wireless interface
product: MT7630e 802.11bgn Wireless Network Adapter
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlo1
version: 00
serial: fc:4d:d4:56:2c:ac
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=mt76x0e driverversion=5.19.0-38-generic firmware=1.0.07-b370 ip=192.168.43.226 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:19 memory:d0500000-d05fffff
暂停后(WIFI已启动但无法连接):
*-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: 0c
serial: a0:1d:48:a8:2b:df
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-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.19.0-38-generic firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=twisted pair
resources: irq:18 ioport:3000(size=256) memory:d0600000-d0600fff memory:d0400000-d0403fff
*-network
description: Wireless interface
product: MT7630e 802.11bgn Wireless Network Adapter
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlo1
version: 00
serial: fc:4d:d4:56:2c:ac
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=mt76x0e driverversion=5.19.0-38-generic firmware=1.0.07-b370 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:19 memory:d0500000-d05fffff
暂停后重启(缺少驱动程序):
*-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: 0c
serial: a0:1d:48:a8:2b:df
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-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.19.0-38-generic firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=twisted pair
resources: irq:18 ioport:3000(size=256) memory:d0600000-d0600fff memory:d0400000-d0403fff
*-network UNCLAIMED
description: Network controller
product: MT7630e 802.11bgn Wireless Network Adapter
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:04:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:d0500000-d05fffff
附加信息:我曾尝试回到 20.04,甚至简要尝试了 Linux Mint,所有 Linux 发行版上的问题都是一样的,但当我启动 Windows 时这不是问题。