我刚刚在 HP Elitebook 745 A2 上安装了 Xubuntu 18.04,但无法使用 Wi-Fi

我刚刚在 HP Elitebook 745 A2 上安装了 Xubuntu 18.04,但无法使用 Wi-Fi

wifi 适配器是 BCM4352,我使用的是 bcmwl-kernel-source 驱动程序。我尝试按照论坛上各种帖子中的建议操作,但两天后还是无法正常工作。

这是 lshw 给出的;

    tim@tim-HP-EliteBook-745-G2:~$ sudo lshw -C network
[sudo] password for tim: 
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: enp1s0f0
       version: 0e
       serial: 3c:a8:2a:87:de:28
       size: 10Mbit/s
       capacity: 1Gbit/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 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:40 ioport:4000(size=256) memory:d5804000-d5804fff memory:d5800000-d5803fff
  *-network
       description: Wireless interface
       product: BCM4352 802.11ac Wireless Network Adapter
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlo1
       version: 03
       serial: 28:c2:dd:8d:91:a2
       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:47 memory:d0a00000-d0a07fff memory:d0800000-d09fffff

这是 lspci -knn | grep Net -A2; rfkill list 的输出

    tim@tim-HP-EliteBook-745-G2:~$ lspci -knn | grep Net -A2; rfkill list
02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter [14e4:43b1] (rev 03)
    Subsystem: Hewlett-Packard Company BCM4352 802.11ac Wireless Network Adapter [103c:2154]
    Kernel driver in use: wl
    Kernel modules: bcma, wl
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: brcmwl-0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

在网络下拉菜单中,“Wi-Fi 网络”和“断开连接”均显示为灰色。

有人对我如何修复这个问题有什么建议吗?

谢谢

今天我又尝试了一次。

tim@tim-HP-EliteBook-745-G2:~$ rfkill
ID TYPE      DEVICE        SOFT      HARD
 0 bluetooth hci0     unblocked unblocked
 1 wlan      phy0     unblocked unblocked
 2 wlan      brcmwl-0 unblocked unblocked   

因此没有任何东西被阻止,我假设无线网卡名为 brcmwl-0

当我运行扫描时,什么也没发现。

tim@tim-HP-EliteBook-745-G2:~$ iwlist wlo1 scan
wlo1      No scan results

这次设备似乎被称为 wlo1,不确定这是否有任何意义,但我还是尝试扫描 brcmwl-0。

tim@tim-HP-EliteBook-745-G2:~$ iwlist brcmwl-0 scan
brcmwl-0  Interface doesn't support scanning.

接下来我尝试唤醒设备。

tim@tim-HP-EliteBook-745-G2:~$ iwconfig
lo        no wireless extensions.

enp0s16f0u2  no wireless extensions.

wlo1      IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

enp1s0f0  no wireless extensions.

tim@tim-HP-EliteBook-745-G2:~$ sudo ifconfig wlo1 up
tim@tim-HP-EliteBook-745-G2:~$ service network-manager restart

还是不开心。有人有什么想法吗?

现在我已经尝试过了。

tim@tim-HP-EliteBook-745-G2:~$ lspci -nnk | grep 0280 -A3
02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter [14e4:43b1] (rev 03)
    Subsystem: Hewlett-Packard Company BCM4352 802.11ac Wireless Network Adapter [103c:2154]
    Kernel driver in use: wl
    Kernel modules: bcma, wl
tim@tim-HP-EliteBook-745-G2:~$ sudo modprobe -r bcma
[sudo] password for tim: 
tim@tim-HP-EliteBook-745-G2:~$ sudo modprobe wl
tim@tim-HP-EliteBook-745-G2:~$ 

还是没有 wifi!

最后,在今晚,我设法通过将其列入黑名单来关闭 bcma 驱动程序,现在只需运行 wl。

tim@tim-HP-EliteBook-745-G2:~$ lspci -vvnn | grep -A 9 Network
02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter [14e4:43b1] (rev 03)
    Subsystem: Hewlett-Packard Company BCM4352 802.11ac Wireless Network Adapter [103c:2154]
    Physical Slot: 0
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 46
    Region 0: Memory at d0a00000 (64-bit, non-prefetchable) [size=32K]
    Region 2: Memory at d0800000 (64-bit, non-prefetchable) [size=2M]
    Capabilities: <access denied>
    Kernel driver in use: wl

依然没有。

答案1

简单的答案是花 25 英镑买一张新的 WLAN 卡。英特尔 HP7260AC 不到 5 分钟就安装好了,BIOS 毫无问题地接受了,一切工作正常。我重新安装了一次,只是为了保持一切干净。比尝试让驱动程序工作容易多了!

相关内容