我在为 Ubuntu 安装 Broadcom 驱动程序时遇到了严重的问题。它在我以前的版本上运行得很好,但现在,这是不可能的。
为 BCM43xx 卡安装 Broadcom 无线驱动程序的步骤是什么?
我是一个没有 Linux 高级知识的用户,所以我需要关于如何制作、编译等的清晰解释。
lspci -vnn | grep Network
显示:
Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b]
Run Code Online (Sandbox Code Playgroud)
iwconfig
显示:
lo no wireless extensions.
eth0 no wireless extensions.
Run Code Online (Sandbox Code Playgroud)
注意:每次添加新信息并确认有效时,下面的答案都会更新。
从 14.04 升级到 Ubuntu 16.04 后,我无法查看任何 wifi 网络。尝试升级到 Ubuntu 15.10 时也会出现此问题。这是我的网络窗口的样子:
右上角的下拉菜单中也没有 Wifi 选项。屏幕截图来自 Ubuntu GNOME,但它也不适用于标准 Ubuntu。如何启用wifi网络?
的输出lspci -knn | grep Net -A2
:
07:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: XAVi Technologies Corp. BCM43142 802.11b/g/n [1b9a:3002]
Kernel modules: bcma, wl
Run Code Online (Sandbox Code Playgroud)
的输出sudo apt-get install bcmwl-kernel-source
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
bcmwl-kernel-source is already the newest version (6.30.223.248+bdcom-0ubuntu8).
0 upgraded, 0 newly installed, 0 to …
Run Code Online (Sandbox Code Playgroud) 蓝牙已打开,但无法找到或无法被任何其他设备找到。
的输出sudo service bluetooth status
:
? bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since ??? 2015-06-04 22:33:18 GET; 13min ago
Main PID: 26678 (bluetoothd)
CGroup: /system.slice/bluetooth.service
??26678 /usr/sbin/bluetoothd -n
??? 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPAG
??? 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/HFPHS
??? 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSource
??? 04 22:39:14 Rangoo bluetoothd[26678]: Endpoint registered: sender=:1.63 path=/MediaEndpoint/BlueZ4/A2DPSink
??? 04 22:39:14 Rangoo bluetoothd[26678]: bluetoothd[26678]: …
Run Code Online (Sandbox Code Playgroud) 无线在 ubuntu 10.10 中完美运行。现在我将它升级到 ubuntu 11.04。此升级无线在我的笔记本电脑中不起作用后,甚至“无线连接”也未显示在网络连接列表中。
我必须为此做什么?
lspci
输出:
06:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
Run Code Online (Sandbox Code Playgroud) 我已经在 Windows 8.1 旁边安装了 Ubuntu。但是 wifi 在 Ubuntu 中不起作用(可能驱动程序不存在),这在 Windows 中运行良好。我也无法连接以太网,因为我的笔记本电脑没有以太网端口。那么有没有办法让我在 ubuntu 中连接到互联网?
编辑:终端命令的输出 lspci -knn | grep Net -A2
:
vikram@vikram-Inspiron-11-3148:~$ lspci -knn | grep Net -A2
01:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Dell Device [1028:0018]
Kernel driver in use: bcma-pci-bridge
vikram@vikram-Inspiron-11-3148:~$
Run Code Online (Sandbox Code Playgroud)
我做了 Pilot6 的建议。这是输出:
vikram@vikram-Inspiron-11-3148:~$ sudo dpkg -i *.deb
[sudo] password for vikram:
Selecting previously unselected package bcmwl-kernel-source.
(Reading database ... 163804 files and directories currently installed.)
Preparing to unpack bcmwl-kernel-source_6.30.223.141+bdcom-0ubuntu2_amd64.deb ... …
Run Code Online (Sandbox Code Playgroud) 启动后,网络连接似乎已连接,多次重启后,我很快就能 ping 8.8.8.8。但是,我不能再这样做了。然后在登录后(<30 秒)网络管理员说电缆已断开连接。拔下并重新插入电缆不会改变此状态。
无线连接工作正常。
我以前在这台笔记本电脑上使用过旧版本的 ubuntu(16.10 和 16.04)中的有线连接,尽管我最近没有测试过它们。
网线可与其他计算机配合使用。
NIC 设备是 BCM5762。
这是 ifconfig 的输出
enp1s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 40:b0:34:09:9a:c0 txqueuelen 1000 (Ethernet)
RX packets 91 bytes 54152 (54.1 KB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 146 bytes 32104 (32.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 36
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local …
Run Code Online (Sandbox Code Playgroud) 类似于bcmwl-kernel-source 在内核上损坏:5.8.0-7630-generic,但我使用的是标准内核 - WiFi 在我的 MacBook Air(2013)上没有问题,直到我拉入最新的 20.04.2 更新包含5.8.0-34-generic
内核,5.4.0-59-generic
之后重新启动并不能解决问题。总之,详情如下;任何帮助将非常感激。
lspci -vnn | grep Network
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Subsystem: Apple Inc. BCM4360 802.11ac Wireless Network Adapter [106b:0117]
Run Code Online (Sandbox Code Playgroud)
ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default …
Run Code Online (Sandbox Code Playgroud) 我在 Windows 上为 Broadcom 网络适配器重新安装了一个驱动程序,之后我的 WiFi 在 Ubuntu(16.04) 上完全停止工作。
我尝试使用以下命令重新安装驱动程序:
1. sudo apt-get purge bcmwl-kernel-source
2. sudo apt-get install bcmwl-kernel-source
Run Code Online (Sandbox Code Playgroud)
但它没有帮助
第二个命令的输出(安装 bcmwl-kernel-source):
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.2) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.2) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 4.15.0-24-generic
Building for architecture x86_64
Building initial module for 4.15.0-24-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/bcmwl-kernel-source.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-24-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information. …
Run Code Online (Sandbox Code Playgroud) 我无法为我的 Wi-Fi + 蓝牙卡 (Broadcom BCM43142) 安装驱动程序。
到目前为止我所做的:
apt-get
安装、下载 tar ball 以及安装和离线安装(来自 Ubuntu 的引导 DVD)。bcmwl-kernel-source
.在每个方法 [1,2,3] 的末尾,当我执行 a 时sudo modprobe wl
,我总是得到这个:
modprobe: 错误: 无法插入 'wl': Exec 格式错误。
我也尝试过将驱动程序列入黑名单wl
,并尝试多次重新安装相同的驱动程序。
ndiswrapper
which 足以使 UNCLAIMED 驱动程序(请参阅下面的输出lshw -c Network
)更改为其他内容。然而,最后 Wi-Fi 确实出现了或工作了。
内核版本: 3.13.0-24-generic
我已经尽我所能,尽我所能。如果您能帮我设置 Wi-Fi,那将非常有帮助。我愿意粘贴您可能要求我执行的任何命令的输出。(我已经添加了lshw -c Network
and的输出lspci -nn
,但请不要犹豫,问我其他任何问题。)
lshw -c Network
WARNING: you should run this program as super-user.
*-network UNCLAIMED …
Run Code Online (Sandbox Code Playgroud) 如果我无法通过有线连接到互联网,如何安装固件 b43 安装程序驱动程序?