无线网卡一直连接然后断开

无线网卡一直连接然后断开

我有一个 Broadcom BCM43142 芯片,从 Debian 9 开始工作正常。但是升级到 Debian 10 后,它显示这种奇怪的行为:自动断开 WiFi,成功重新连接 3 秒,断开连接,循环不断。它导致网站加载速度非常慢或根本无法加载。这是一个片段sudo dmesg

[ 1073.310482] IPv6: ADDRCONF(NETDEV_CHANGE): wlp6s0: link becomes ready
[ 1107.065818] IPv6: ADDRCONF(NETDEV_UP): wlp6s0: link is not ready
[ 1107.065852] IPv6: ADDRCONF(NETDEV_CHANGE): wlp6s0: link becomes ready
[ 1145.315969] IPv6: ADDRCONF(NETDEV_UP): wlp6s0: link is not ready
[ 1145.316005] IPv6: ADDRCONF(NETDEV_CHANGE): wlp6s0: link becomes ready

这是我运行iwconfig两次时发生的情况:

$ sudo iwconfig
enp7s0    no wireless extensions.

wlp6s0    IEEE 802.11  ESSID:"TP-LINK_754E"  
          Mode:Managed  Frequency:2.457 GHz 
          Bit Rate=58.5 Mb/s   Tx-Power=200 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=40/70  Signal level=-70 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

enp0s20u1  no wireless extensions.

lo        no wireless extensions.

$ sudo iwconfig
enp7s0    no wireless extensions.

wlp6s0    IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=200 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

enp0s20u1  no wireless extensions.

lo        no wireless extensions.

可以看到wlp6s0连接到我的wifi然后突然掉线,没有明显的原因。

问题不是因为路由器或芯片,因为我使用 Windows 双启动并且工作正常。你们有什么建议吗?

编辑(输出lspci -knn |grep Net -A3):

06:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
    Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]
    Kernel driver in use: wl
    Kernel modules: bcma, wl

答案1

解决了。我运行journalctl -xe并注意到 hostapd 正在禁用 wlp6s0。清除 hostapdsudo apt autoremove --purge hostapd解决了问题。

相关内容