![WiFi 连接持续断开](https://linux22.com/image/1186526/WiFi%20%E8%BF%9E%E6%8E%A5%E6%8C%81%E7%BB%AD%E6%96%AD%E5%BC%80.png)
描述
我使用 Panda Wireless PAU09 连接我家的无线网络。几个月前,连接开始频繁断开,大约每天一次(通常是在我离开电脑一段时间后 - 从未在我使用浏览器时发生过这种情况)。内核日志抱怨“帧大小错误”,并且每当我尝试在连接断开后重新连接时,我都会看到标准身份验证/拒绝关联舞动。通常我可以通过拔下适配器并重新插入并反复运行来使其重新连接systemctl restart network-manager
,但这通常至少需要几分钟,并且已经成为一个彻头彻尾的头痛问题。有人对此有见解吗?
dmesg
样本
[166121.015041] ieee80211 phy0: rt2800usb_fill_rxdone: Error - Bad frame size 31092, forcing to 0
[166121.015048] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[166121.257902] ieee80211 phy0: rt2800usb_fill_rxdone: Error - Bad frame size 43885, forcing to 0
[166121.257919] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[166124.940375] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0024, type=4
[166125.281041] ieee80211 phy0: rt2800usb_fill_rxdone: Error - Bad frame size 56386, forcing to 0
[166125.281057] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[166125.618013] ieee80211 phy0: rt2800usb_fill_rxdone: Error - Bad frame size 59985, forcing to 0
[166125.618019] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[166128.777756] ieee80211 phy0: rt2800usb_fill_rxdone: Error - Bad frame size 26866, forcing to 0
[166128.777761] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[166129.215604] ieee80211 phy0: rt2800usb_fill_rxdone: Error - Bad frame size 64990, forcing to 0
[166129.215621] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[166130.579325] ieee80211 phy0: rt2800usb_fill_rxdone: Error - Bad frame size 8584, forcing to 0
[166130.579342] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[166136.127939] ieee80211 phy0: rt2800usb_fill_rxdone: Error - Bad frame size 4287, forcing to 0
[166136.127956] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[166139.454478] wlx9cefd5fddb75: deauthenticating from 2c:7e:81:b3:59:d6 by local choice (Reason: 3=DEAUTH_LEAVING)
[166147.207873] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d7
[166147.230727] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 1/3)
[166147.248256] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 2/3)
[166147.281989] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 3/3)
[166147.303004] wlx9cefd5fddb75: authentication with 2c:7e:81:b3:59:d7 timed out
[166147.533469] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d6
[166147.579565] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d6 (try 1/3)
[166147.685373] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d6 (try 2/3)
[166147.687291] wlx9cefd5fddb75: authenticated
[166147.689341] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d6 (try 1/3)
[166147.793355] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d6 (try 2/3)
[166147.797074] wlx9cefd5fddb75: deauthenticated from 2c:7e:81:b3:59:d6 while associating (Reason: 9=STA_REQ_ASSOC_WITHOUT_AUTH)
[166154.898579] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d7
[166154.947996] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 1/3)
[166154.983936] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 2/3)
[166155.012762] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 3/3)
[166155.014262] wlx9cefd5fddb75: authenticated
[166155.017389] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d7 (try 1/3)
[166155.051826] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d7 (try 2/3)
[166155.092202] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d7 (try 3/3)
[166155.139104] wlx9cefd5fddb75: association with 2c:7e:81:b3:59:d7 timed out
[166156.265183] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d6
[166156.309007] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d6 (try 1/3)
[166156.310791] wlx9cefd5fddb75: authenticated
[166156.317270] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d6 (try 1/3)
[166156.318545] wlx9cefd5fddb75: RX AssocResp from 2c:7e:81:b3:59:d6 (capab=0x431 status=1 aid=13196)
[166156.318550] wlx9cefd5fddb75: 2c:7e:81:b3:59:d6 denied association (code=1)
相关输出来自lshw -class network
*-network:1
description: Wireless interface
physical id: 3
bus info: usb@1:7
logical name: wlx9cefd5fddb75
serial: 9c:ef:d5:fd:db:75
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rt2800usb driverversion=5.11.0-46-generic firmware=0.36 ip=10.0.0.63 link=yes multicast=yes wireless=IEEE 802.11
lsusb
Bus 001 Device 006: ID 148f:5572 Ralink Technology, Corp. RT5572 Wireless Adapter
编辑
是的,我正在使用 Ubuntu 20.04...尝试修复 BSSID,nm-connection-editor
幸运的是,日志现在显示相同的超时模式仅在一个频段上发生,我想这是一种改进。
退出暂停状态后,我得到了以下信息dmesg
:
[207659.036487] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d7
[207659.055230] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 1/3)
[207659.075014] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 2/3)
[207659.101415] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -75
[207660.294791] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 3/3)
[207660.502811] ieee80211 phy1: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[207660.618846] ieee80211 phy1: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x7010 with error -110
[207661.382734] wlx9cefd5fddb75: authentication with 2c:7e:81:b3:59:d7 timed out
[207741.869138] audit: type=1400 audit(1650460423.840:48): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=1325717 comm="cups-browsed" capability=23 capname="sys_nice"
[208057.100556] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -71
[208057.100594] usb 1-7: USB disconnect, device number 6
[208057.100625] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -71
[208057.985705] usb 1-7: new high-speed USB device number 7 using xhci_hcd
[208058.150298] usb 1-7: New USB device found, idVendor=148f, idProduct=5572, bcdDevice= 1.01
[208058.150312] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[208058.150318] usb 1-7: Product: 802.11 n WLAN
[208058.150323] usb 1-7: Manufacturer: Ralink
[208058.150328] usb 1-7: SerialNumber: 1.0
[208058.282122] usb 1-7: reset high-speed USB device number 7 using xhci_hcd
[208058.439617] ieee80211 phy2: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[208058.453737] ieee80211 phy2: rt2x00_set_rf: Info - RF chipset 000f detected
[208058.453992] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[208058.482103] rt2800usb 1-7:1.0 wlx9cefd5fddb75: renamed from wlan0
[208058.525128] ieee80211 phy2: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[208058.525180] ieee80211 phy2: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[208065.892111] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d7
[208065.914116] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 1/3)
[208065.953895] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 2/3)
[208065.972076] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 3/3)
[208065.980126] wlx9cefd5fddb75: authenticated
[208065.981692] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d7 (try 1/3)
[208065.999201] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d7 (try 2/3)
[208066.031087] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d7 (try 3/3)
[208066.059169] wlx9cefd5fddb75: association with 2c:7e:81:b3:59:d7 timed out
[208080.876288] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d7
[208080.917640] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 1/3)
[208081.025697] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 2/3)
[208081.044229] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 3/3)
[208081.074218] wlx9cefd5fddb75: authentication with 2c:7e:81:b3:59:d7 timed out
[208094.243456] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d7
[208094.263815] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 1/3)
[208094.291287] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 2/3)
[208094.328483] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 3/3)
[208094.360995] wlx9cefd5fddb75: authentication with 2c:7e:81:b3:59:d7 timed out
[208116.498095] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d7
[208116.544135] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 1/3)
[208116.549108] wlx9cefd5fddb75: authenticated
[208116.549411] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d7 (try 1/3)
[208116.593163] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d7 (try 2/3)
[208116.637585] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d7 (try 3/3)
[208116.662568] wlx9cefd5fddb75: association with 2c:7e:81:b3:59:d7 timed out
[208151.460762] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d7
[208151.482083] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 1/3)
[208151.528267] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 2/3)
[208151.584398] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 3/3)
[208151.644985] wlx9cefd5fddb75: authentication with 2c:7e:81:b3:59:d7 timed out
[208374.713106] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d7
[208374.757534] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 1/3)
[208374.800803] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 2/3)
[208374.834450] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 3/3)
[208374.853796] wlx9cefd5fddb75: authentication with 2c:7e:81:b3:59:d7 timed out
[208527.390109] wlx9cefd5fddb75: authenticate with 2c:7e:81:b3:59:d7
[208527.430667] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 1/3)
[208527.461753] wlx9cefd5fddb75: send auth to 2c:7e:81:b3:59:d7 (try 2/3)
[208527.468061] wlx9cefd5fddb75: authenticated
[208527.471901] wlx9cefd5fddb75: associate with 2c:7e:81:b3:59:d7 (try 1/3)
[208527.474107] wlx9cefd5fddb75: RX AssocResp from 2c:7e:81:b3:59:d7 (capab=0x411 status=0 aid=3)
[208527.480112] wlx9cefd5fddb75: associated
[208527.580785] wlx9cefd5fddb75: Limiting TX power to 27 (30 - 3) dBm as advertised by 2c:7e:81:b3:59:d7
[208528.514270] IPv6: ADDRCONF(NETDEV_CHANGE): wlx9cefd5fddb75: link becomes ready
NetworkManager
经过常规的操作(反复重新启动并拔出适配器并放回),链接才准备就绪。