Ubuntu 22.04.03 随机WiFi消失问题咨询:排查情况与解决需求
大家好,我用Ubuntu 22.04.03有段时间了,最近碰到个头疼的问题——WiFi会毫无征兆地从顶部状态栏图标和设置页面里消失。我查了不少相关内容,大多都是解决刚装系统时没有WiFi的情况,但我这个是使用过程中随机出现的,完全摸不准规律。
我已经尝试过这些排查操作,但都没彻底解决:
- 出现问题后,在终端执行
sudo service NetworkManager restart重启网络服务,没任何效果 - 重启电脑倒是能暂时恢复WiFi,但过不了多久问题又会复发
- 用
sudo lshw -C network命令能正常识别到无线网卡,具体输出如下:
*-network
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlp1s0
version: 32
serial: e4:aa:ea:60:f1:a9
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=6.2.0-35-generic
firmware=WLAN.RM.4.4.1-00157-QCARMSWPZ-1 ip=192.168.213.114 latency=0
link=yes multicast=yes wireless=IEEE 802.11
resources: irq:71 memory:c0200000-c03fffff
- 用
rfkill list检查无线阻塞状态,结果显示没有软/硬阻塞:
0: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: hci0: Bluetooth Soft blocked: no Hard blocked: no
想请教大家:这是Ubuntu里常见的bug吗?有没有安全的临时解决办法?另外我用的是笔记本,没有以太网适配器,没法用有线网过渡,实在有点麻烦。
EDIT #1:补充一下执行iwconfig; cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf的输出结果:
lo no wireless extensions. wlp1s0 IEEE 802.11 ESSID:"Gaj's Xiaomi 11T" Mode:Managed Frequency:2.412 GHz Access Point: 12:17:8E:37:28:BB Bit Rate=130 Mb/s Tx-Power=20 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:on Link Quality=66/70 Signal level=-44 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:63 Missed beacon:0 [connection] wifi.powersave = 3
备注:内容来源于stack exchange,提问作者Mookey




