Ubuntu 16.04 的 Wifi 问题

Ubuntu 16.04 的 Wifi 问题

首先,我对 Linux 还很陌生,所以任何帮助都需要循序渐进。

我有一台 HP Stream 14,我刚刚在上面安装了 Ubuntu 16.04。没有双启动;它将是我唯一的操作系统。它没有以太网端口,所以我无法连接到互联网来运行sudo apt-get update或类似的东西。它有 Broadcom BCM43142。

我尝试安装 dkms 和 bcmwl-kernel-source 以及软件和更新 -> 附加驱动程序,但它显示“没有可用的附加驱动程序”。

输出sudo lshw -class network

  *-network               
       description: Network controller
       product: BCM43142 802.11b/g/n
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=bcma-pci-bridge latency=0
       resources: irq:35 memory:fe900000-fe907fff

输出lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1566
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3E Graphics] (rev 02)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 156b
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1537
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 11)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.7 SD Host controller: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller (rev 01)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1580
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1581
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1582
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1583
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1584
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1585
01:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)

输出rfkill list all

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

答案1

首先查看警告

获取具有有效互联网连接的计算机(尽管您已经完成此步骤),从 Ubuntu 软件包存档下载此驱动程序到闪存驱动器上,复制到您的笔记本电脑,然后手动安装(您可以通过运行找到您的体系结构uname -m):

http://packages.ubuntu.com/yakkety/bcmwl-kernel-source

sudo dpkg -i <downloaded_package>其复制到 HP 流后,使用 。重新启动。请记住从复制到的目录中运行它,使用cd。要学习cd语法,请运行man cd(键入q以退出)。

根据此页面的讨论,我认为您需要 sta 驱动程序:Ubuntu 14.04 (Trusty Tahr) 上的 Broadcom BCM43142 驱动程序


警告:

根据 chili555 的建议,该包dkms是一个依赖项,需要先安装。从以下链接下载并按照上述相同步骤安装(安装后无需重新启动dkms):

http://packages.ubuntu.com/yakkety/all/dkms/download


编辑

存在一个潜在的错误,即使安装了正确的驱动程序,Linux 内核 4.4.0-21 和衍生系统(例如 2017 年 2 月 1 日的 ubuntu 16.04)也无法获取 wifi 卡。请参阅https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1572659

目前已知的解决此问题的方法是禁用计算机上的安全启动。如果禁用安全启动后重新启动不起作用,请尝试以下操作。

重启后,关闭wifi,然后运行sudo dpkg-reconfigure bcmwl-kernel-source。打开wifi。

相关内容