我正在使用 Ubuntu 20.04。我的 wifi 会自动连接和断开。事实上,有时它甚至无法连接我不得不使用的外部卡,即使这样也很麻烦。它不断询问我的 wifi 密码。我在使用 ubuntu 18.04 时也遇到了这个问题。我的路由器一切正常,wifi 适用于其他设备。我注意到这种情况大多只发生在连接不良的情况下。
输出sudo lshw -C network
*-network
description: Ethernet interface
product: RTL810xE PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: enp1s0
version: 05
serial: ec:f4:bb:83:06:73
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl_nic/rtl8105e-1.fw latency=0 link=no multicast=yes port=MII
resources: irq:16 ioport:2000(size=256) memory:c0404000-c0404fff memory:c0400000-c0403fff
*-network
description: Wireless interface
product: BCM43142 802.11b/g/n
vendor: Broadcom Inc. and subsidiaries
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 01
serial: 34:23:87:dc:89:a7
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) latency=0 multicast=yes wireless=IEEE 802.11
resources: irq:17 memory:c0500000-c0507fff
*-network
description: Wireless interface
physical id: 2
bus info: usb@3:3
logical name: wlx000f020260af
serial: 00:0f:02:02:60:af
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rt2800usb driverversion=5.4.0-28-generic firmware=0.36 ip=192.168.10.9 link=yes multicast=yes wireless=IEEE 802.11
和lspci | grep -i network
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)
有什么解决办法吗?
答案1
我今天遇到了同样的问题,我用以下方法解决了它Broadcom 安装程序。
以下是如何应用该解决方案:
cd ~/Desktop
git clone https://github.com/mehedihshakeel/BroadcomInstaller2017.git
cd BroadcomInstaller2017
chmod +x ./Broadcom.sh
./Broadcom.sh
您将获得以下选项:
- 安装 Wifi 驱动程序
- 显示命令
- 退出 请输入您的选择:
选择 1(安装 Wifi 驱动程序)并等待安装程序完成。
这已在 Kali Linux 上进行了测试。