我有一台使用了 2 个月的笔记本电脑,搭载 Kubuntu 22.04 ThinkPad T16 Gen 1(16 英寸 AMD)。
uname -a
Linux tp-ThinkPad-T16-Gen-1 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
有时(每天几次或每周 1-2 次)我的 WLAN 不再工作。在这些情况下,我似乎已连接到我的网络,但上传和下载流量为 0。我的网络小部件中通常可见 5 个无线网络(靠近时钟,右下角)。当网络不再工作时,只有连接的网络。
如果我断开连接,就不再可见网络了。
正常重启大约需要 30 秒左右。出现此问题时重启大约需要 3 分钟。我在这里看到数百个条目:
journalctl -rb -1
Feb 13 04:19:25 tp-ThinkPad-T16-Gen-1 systemd-resolved[1156]: Using degraded feature set UDP instead of UDP+EDNS0 for DNS server fd00::3a10:d5ff:fe7b:7647.
Feb 13 04:19:24 tp-ThinkPad-T16-Gen-1 kernel: ath11k_pci 0000:02:00.0: failed to transmit frame -108
Feb 13 04:19:24 tp-ThinkPad-T16-Gen-1 kernel: ath11k_pci 0000:02:00.0: failed to transmit frame -108
Feb 13 04:19:24 tp-ThinkPad-T16-Gen-1 kernel: ath11k_pci 0000:02:00.0: failed to transmit frame -108
网络/房屋详情:
- 有两层楼,路由器就在我正下方的房间里(直线距离大约 2 米,中间肯定有钢筋混凝土)。
- 中继器位于走廊(直线距离约 4 米,中间仅隔着一堵墙/一扇房门)
- 路由器:FRITZ!Box 7362 SL
- 中继器:FRITZ!WLAN中继器1750E
- 我使用标准 WiFi,中继器上的访客 WiFi 已关闭
- 我只将2-3台设备(2台笔记本电脑,1台手机)直接从房间通过路由器连接到路由器
- 楼上其余设备连接到中继器(原因:中继器靠近微波炉,当它打开时,WiFi 不再工作)
当我处于较长的会话中并且它突然不再起作用时,我会看到:
sudo iwconfig
lo no wireless extensions.
enp1s0f0 no wireless extensions.
wlp2s0 IEEE 802.11 ESSID:"WiFi"
Mode:Managed Frequency:2.437 GHz Access Point: 38:10:D5:7B:76:49
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=70/70 Signal level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:3 Invalid misc:0 Missed beacon:0
docker0 no wireless extensions.
sudo ps aux | grep -i [w]pa
root 1334 0.0 0.0 17668 11368 ? Ss Jan31 0:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
sudo dmesg | grep -iE 'auth|assoc'
[28635.615024] wlp2s0: deauthenticating from 38:10:d5:7b:76:49 by local choice (Reason: 3=DEAUTH_LEAVING)
[28643.171887] wlp2s0: authenticate with 38:10:d5:7b:76:49
[28643.210043] wlp2s0: send auth to 38:10:d5:7b:76:49 (try 1/3)
[28643.323176] wlp2s0: send auth to 38:10:d5:7b:76:49 (try 2/3)
[28643.329680] wlp2s0: authenticated
[28643.335189] wlp2s0: associate with 38:10:d5:7b:76:49 (try 1/3)
[28643.343390] wlp2s0: RX AssocResp from 38:10:d5:7b:76:49 (capab=0x1431 status=0 aid=1)
[28643.354499] wlp2s0: associated
[31668.532378] wlp2s0: deauthenticating from 38:10:d5:7b:76:49 by local choice (Reason: 3=DEAUTH_LEAVING)
[31676.241665] wlp2s0: authenticate with 38:10:d5:7b:76:49
[31676.280509] wlp2s0: send auth to 38:10:d5:7b:76:49 (try 1/3)
[31676.287750] wlp2s0: authenticated
[31676.291177] wlp2s0: associate with 38:10:d5:7b:76:49 (try 1/3)
[31676.301025] wlp2s0: RX AssocResp from 38:10:d5:7b:76:49 (capab=0x1431 status=0 aid=7)
[31676.320972] wlp2s0: associated
当我重新启动并且 3 分钟后它不再起作用时,它看起来略有不同:
sudo iwconfig
lo no wireless extensions.
enp1s0f0 no wireless extensions.
wlp2s0 IEEE 802.11 ESSID:"WiFi"
Mode:Managed Frequency:2.437 GHz Access Point: 38:10:D5:7B:76:49
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=70/70 Signal level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
docker0 no wireless extensions.
sudo ps aux | grep -i [w]pa
root 1273 0.0 0.0 17556 10908 ? Ss 17:08 0:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
sudo dmesg | grep -iE 'auth|assoc'
[ 0.000000] AMD AuthenticAMD
[ 0.748351] integrity: Loaded X.509 cert 'Canonical Ltd. Master Certificate Authority: ad91990bc22ab1f517048c23b6655a268e345a63'
[ 8.153662] wlp2s0: authenticate with 38:10:d5:7b:76:49
[ 8.283511] wlp2s0: send auth to 38:10:d5:7b:76:49 (try 1/3)
[ 8.294054] wlp2s0: authenticated
[ 8.296879] wlp2s0: associate with 38:10:d5:7b:76:49 (try 1/3)
[ 8.306973] wlp2s0: RX AssocResp from 38:10:d5:7b:76:49 (capab=0x1431 status=0 aid=3)
[ 8.323293] wlp2s0: associated
当一切正常时,它看起来像这样:
sudo iwconfig
lo no wireless extensions.
enp1s0f0 no wireless extensions.
wlp2s0 IEEE 802.11 ESSID:"WiFi"
Mode:Managed Frequency:2.437 GHz Access Point: 38:10:D5:7B:76:49
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=70/70 Signal level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:177 Invalid misc:0 Missed beacon:0
docker0 no wireless extensions.
veth39ed50a no wireless extensions.
sudo ps aux | grep -i [w]pa
root 1265 0.0 0.0 17692 11500 ? Ss Feb01 0:01 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
sudo dmesg | grep -iE 'auth|assoc'
[11280.135071] wlp2s0: deauthenticating from 38:10:d5:7b:76:49 by local choice (Reason: 3=DEAUTH_LEAVING)
[11287.761700] wlp2s0: authenticate with 38:10:d5:7b:76:49
[11287.815254] wlp2s0: send auth to 38:10:d5:7b:76:49 (try 1/3)
[11287.822374] wlp2s0: authenticated
[11287.827145] wlp2s0: associate with 38:10:d5:7b:76:49 (try 1/3)
[11287.838129] wlp2s0: RX AssocResp from 38:10:d5:7b:76:49 (capab=0x1431 status=0 aid=3)
[11287.853386] wlp2s0: associated
目前,我需要重新启动才能重新激活我的网络。这sudo service NetworkManager restart
没有帮助。
希望有人知道如何解决这个问题。或者:如何避免重启?