![wifi卡不稳定导致整台电脑死机](https://linux22.com/image/133134/wifi%E5%8D%A1%E4%B8%8D%E7%A8%B3%E5%AE%9A%E5%AF%BC%E8%87%B4%E6%95%B4%E5%8F%B0%E7%94%B5%E8%84%91%E6%AD%BB%E6%9C%BA.png)
我在一台旧 MacBook 上运行 Debian 9。我强烈怀疑 WiFi 卡存在一些硬件问题,因为它在 Linux 上相对频繁地断开连接。在 macOS 上,连接速度非常慢,速度较低。
无论如何,大多数时候它都可以正常工作。我不介意连接时不时地断开,这不是因为一件事:有时(在 Debian 上)当连接断开时,整个计算机都会冻结。我无法移动指针,键盘不起作用,屏幕上没有任何内容移动。
它总是这样发生:首先我注意到我无法打开网页。几秒钟后,网络管理员报告我没有 WiFi 连接。几秒钟后,整个冻结发生。
有关我的安装的一些详细信息:
- Debian 9,包含所有最新更新
- 内核 4.9.0-6-amd64
- WiFi 驱动程序的固件-b43-安装程序包
- 无线网卡:
Broadcom Limited BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
如何防止因 WiFi 卡不稳定而导致整台电脑死机?
编辑kern.log
我认为相关的部分
May 10 06:07:25 debian kernel: [ 1611.012694] wlan0: disconnect from AP AA:BB:CC:DD:EE:FF for new auth to AA:BB:CC:DD:EE:FF
May 10 06:07:26 debian kernel: [ 1611.052358] wlan0: authenticate with AA:BB:CC:DD:EE:FF
May 10 06:07:28 debian kernel: [ 1613.780112] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:31 debian kernel: [ 1616.192155] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:31 debian kernel: [ 1616.208350] b43-phy0: Radio hardware status changed to DISABLED
May 10 06:07:31 debian kernel: [ 1616.208369] b43-phy0 ERROR: MAC not suspended
May 10 06:07:33 debian kernel: [ 1618.624064] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:36 debian kernel: [ 1621.064103] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:36 debian kernel: [ 1621.084206] b43-phy0 ERROR: MAC not suspended
May 10 06:07:38 debian kernel: [ 1623.520049] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:40 debian kernel: [ 1625.948076] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:40 debian kernel: [ 1625.964048] b43-phy0: Radio turned on by software
May 10 06:07:40 debian kernel: [ 1625.964051] b43-phy0: The hardware RF-kill button still turns the radio physically off. Press the button to turn it on.
May 10 06:07:43 debian kernel: [ 1628.424055] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:45 debian kernel: [ 1630.848080] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:45 debian kernel: [ 1630.864375] wlan0: send auth to AA:BB:CC:DD:EE:FF (try 1/3)
May 10 06:07:48 debian kernel: [ 1633.328056] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:50 debian kernel: [ 1635.780065] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:53 debian kernel: [ 1638.22May 10 06:08:50 debian kernel: [ 0.000000] microcode: microcode updated early to revision 0xa0b, date = 2010-09-28
May 10 06:08:50 debian kernel: [ 0.000000] Linux version 4.9.0-6-amd64 ([email protected]) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.$
我相信最后一行是我重新启动计算机时的第一个条目。
相同来自syslog
May 10 06:07:25 debian kernel: [ 1611.012694] wlan0: disconnect from AP AA:BB:CC:DD:EE:FF for new auth to AA:BB:CC:DD:EE:FF
May 10 06:07:26 debian kernel: [ 1611.052358] wlan0: authenticate with AA:BB:CC:DD:EE:FF
May 10 06:07:28 debian kernel: [ 1613.780112] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:31 debian kernel: [ 1616.192155] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:31 debian kernel: [ 1616.208350] b43-phy0: Radio hardware status changed to DISABLED
May 10 06:07:31 debian kernel: [ 1616.208369] b43-phy0 ERROR: MAC not suspended
May 10 06:07:31 debian systemd[1]: Starting Load/Save RF Kill Switch Status...
May 10 06:07:31 debian NetworkManager[383]: <info> [1525925251.1954] manager: WiFi now disabled by radio killswitch
May 10 06:07:31 debian NetworkManager[383]: <info> [1525925251.1955] device (wlan0): state change: activated -> unavailable (reason 'none') [100 20 0]
May 10 06:07:31 debian NetworkManager[383]: <info> [1525925251.1966] dhcp4 (wlan0): canceled DHCP transaction, DHCP client pid 1944
May 10 06:07:31 debian NetworkManager[383]: <info> [1525925251.1966] dhcp4 (wlan0): state changed bound -> done
May 10 06:07:31 debian systemd[1]: Started Load/Save RF Kill Switch Status.
May 10 06:07:33 debian kernel: [ 1618.624064] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:36 debian kernel: [ 1621.064103] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:36 debian kernel: [ 1621.084206] b43-phy0 ERROR: MAC not suspended
May 10 06:07:38 debian kernel: [ 1623.520049] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:40 debian kernel: [ 1625.948076] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:40 debian kernel: [ 1625.964048] b43-phy0: Radio turned on by software
May 10 06:07:40 debian kernel: [ 1625.964051] b43-phy0: The hardware RF-kill button still turns the radio physically off. Press the button to turn it on.
May 10 06:07:43 debian kernel: [ 1628.424055] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:45 debian kernel: [ 1630.848080] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:45 debian wpa_supplicant[421]: rfkill: WLAN hard blocked
May 10 06:07:45 debian kernel: [ 1630.864375] wlan0: send auth to 80:2a:a8:c4:52:c4 (try 1/3)
May 10 06:07:48 debian kernel: [ 1633.328056] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:50 debian kernel: [ 1635.780065] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:53 debian kernel: [ 1638.224047] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:55 debian kernel: [ 1640.668035] b43-phy0 ERROR: RF sequence status timeout
May 10 06:07:55 debian kernel: [ 1640.808041] b43-phy0 ERROR: DMA RX reset timed out
May 10 06:07:56 debian kernel: [ 1641.052135] b43-phy0 ERROR: DMA TX reset timed out
May 10 06:07:56 debian kernel: [ 1641.300147] b43-phy0 ERROR: DMA TX reset timed out
May 10 06:07:56 debian kernel: [ 1641.544068] b43-phy0 ERRMay 10 06:08:50 debian systemd[1]: Starting Flush Journal to Persistent Storage...
May 10 06:08:50 debian systemd[1]: Started Set the console keyboard layout.
答案1
在切换到英特尔后的最初几年/模型中,不断出现 Wifi(讨厌的)问题/错误,并且 Wifi OS/X 驱动程序针对这些问题提供了内置的解决方法,而这些问题可能在开源驱动程序中不存在。
尝试使用支持的最新版本的 OS/X 来启动它,并查看是否有任何固件升级仍在等待中。
蓝牙接口也在芯片组中,尝试禁用它以便 Wifi 更好地运行。
至于Wifi传输强度,定义一个非美国国家也可能让你提高信号水平。
最后,最后的替代方案可能是使用外部 WiFi 适配器。