断电后,我的 Wifi 连接无法连接(自动或手动),但它可以轻松连接到其他系统(移动设备/另一台笔记本电脑)。它连接的唯一方式是重新启动笔记本电脑。我正在使用 Ubuntu 20.04 LTS 桌面。请帮我解决这个问题。这是 lshw -class network 的输出
*-network
description: Ethernet interface
product: RTL810xE PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: enp8s0
version: 07
serial: f8:a9:63:91:a2:36
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=5.11.0-37-generic firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=twisted pair
resources: irq:18 ioport:4000(size=256) memory:b2600000-b2600fff memory:b2400000-b2403fff
*-network
description: Wireless interface
product: RTL8188EE Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:09:00.0
logical name: wlo1
version: 01
serial: 00:71:cc:84:39:e9
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8188ee driverversion=5.11.0-37-generic firmware=N/A ip=192.168.0.13 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:51 ioport:3000(size=256) memory:b2500000-b2503fff
答案1
最有可能的是你的 wifi 卡的内核驱动程序卡住了,因此需要重新启动这个答案表明。
您的 wifi 驱动程序有名称rtl8188ee
,因此命令将是:
sudo modprobe -r rtl8188ee && sleep 5s && sudo modprobe -a rtl8188ee
如果停电后的情况没有改善,请评论此答案。