Fedora 25 Broadcom 无线 BCM43228 无 WiFi

Fedora 25 Broadcom 无线 BCM43228 无 WiFi

我知道 Broadcom 与 Fedora 的配合不太好,我已经处理这个问题好几年了,也处理了多个版本。过去,安装 kmod-wl 或 akmod-wl 通常足以让一切正常运行(在很久以前将 b43 和 b43 旧版列入黑名单之后)。

细节:

联想 Thinkpad Twist s230u

uname -r

4.9.5-200.fc25.x86_64

lspci -vnn -d 14e4:

03:00.0 Network controller [0280]: Broadcom Limited BCM43228 802.11a/b/g/n [14e4:4359]
    Subsystem: Broadcom Limited Device [14e4:0607]
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at f1d00000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel modules: bcma

rpm-qa| grep -e 内核 -e Broadcom-wl -e kmod-wl |种类

abrt-addon-kerneloops-2.9.0-1.fc25.x86_64
akmod-wl-6.30.223.271-7.fc25.x86_64
broadcom-wl-6.30.223.271-1.fc24.noarch
kernel-4.8.6-300.fc25.x86_64
kernel-4.9.5-200.fc25.x86_64
kernel-core-4.8.6-300.fc25.x86_64
kernel-core-4.9.5-200.fc25.x86_64
kernel-debug-devel-4.9.5-200.fc25.x86_64
kernel-headers-4.9.5-200.fc25.x86_64
kernel-modules-4.8.6-300.fc25.x86_64
kernel-modules-4.9.5-200.fc25.x86_64
kernel-modules-extra-4.8.6-300.fc25.x86_64
kernel-modules-extra-4.9.5-200.fc25.x86_64
kmod-wl-6.30.223.271-7.fc25.x86_64
libreport-plugin-kerneloops-2.8.0-1.fc25.x86_64

我重新启动了网络管理器,但没有效果。重启了,没有变化。

如果配置

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.1.170  netmask 255.255.255.0  broadcast 192.168.1.255
    inet6 fe80::dbf:6e57:4c52:2a14  prefixlen 64  scopeid 0x20<link>
    ether 20:89:84:d2:7b:2c  txqueuelen 1000  (Ethernet)
    RX packets 274564  bytes 389721772 (371.6 MiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 73269  bytes 6440437 (6.1 MiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

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 1  (Local Loopback)
    RX packets 192  bytes 14760 (14.4 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 192  bytes 14760 (14.4 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
    ether 52:54:00:e1:8a:4d  txqueuelen 1000  (Ethernet)
    RX packets 0  bytes 0 (0.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 0  bytes 0 (0.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

但是 iwconfig

virbr0-nic  no wireless extensions.

virbr0    no wireless extensions.

lo        no wireless extensions.

enp4s0    no wireless extensions.

modprobe 与我在返回之前使用过的任何 wl(akmod-wl;kmod-wl;broadcom-wl):

modprobe: FATAL: Module ______ not found in directory /lib/modules/4.9.5-200.fc25.x86_64`

当我安装时,dnf模块是否位于错误的位置?我们正在更深入地研究这个问题以及我以前研究过的 Linux 实际工作原理。 Broadcom-wl 以 fc24.noarch 而不是 fc25.something 结尾是否有问题?有什么事,拜托。

编辑添加

须藤 akmods --force

Checking kmods exist for 4.9.5-200.fc25.x86_64             [  OK  ]
Files needed for building modules against kernel
4.9.5-200.fc25.x86_64 could not be found as the following directories are missing:
/usr/src/kernels/4.9.5-200.fc25.x86_64/
/usr/lib/modules/4.9.5-200.fc25.x86_64/build/Is the correct kernel-devel package installed?

编辑添加(2): sudo dnf install kernel devel 导致:

[Kennedy@Shield_Generator ~]$ sudo dnf install kernel-devel
[sudo] password for Kennedy: 
google-chrome                                    26 kB/s | 3.7 kB     00:00    
Fedora 25 - x86_64 - Updates                     18 MB/s |  17 MB     00:00    
Last metadata expiration check: 0:00:11 ago on Tue Jan 31 19:43:34 2017.
Package kernel-debug-devel-4.9.5-200.fc25.x86_64 is already installed, skipping.
Dependencies resolved.
================================================================================
 Package             Arch          Version                 Repository      Size
================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 kernel-devel        x86_64        4.9.6-200.fc25          updates         11 M

Transaction Summary
================================================================================
Skip  1 Package

Nothing to do.
Complete!

须藤 akmods --force

[Kennedy@Shield_Generator ~]$ sudo akmods --force
Checking kmods exist for 4.9.5-200.fc25.x86_64             [  OK  ]
Files needed for building modules against kernel
4.9.5-200.fc25.x86_64 could not be found as the following
directories are missing:
/usr/src/kernels/4.9.5-200.fc25.x86_64/
/usr/lib/modules/4.9.5-200.fc25.x86_64/build/Is the correct kernel-devel package installed?                                                [FAILED]

sudo dnf install -y broadcom-wl 内核开发

[Kennedy@Shield_Generator ~]$ sudo dnf install -y broadcom-wl kernel-devel
Last metadata expiration check: 0:44:34 ago on Tue Jan 31 19:43:34 2017.

Package broadcom-wl-6.30.223.271-1.fc24.noarch is already installed, skipping.
Package kernel-debug-devel-4.9.5-200.fc25.x86_64 is already installed, skipping.
Package kernel-debug-devel-4.9.6-200.fc25.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

那么它们已安装,但在正确的目录中找不到?威士忌探戈狐步舞,结束。

预计到达时间 (3)

$ rpm -qa | rpm grep -e 内核调试

[Kennedy@Shield_Generator ~]$ rpm -qa | grep -e kernel-debug
kernel-debug-devel-4.9.5-200.fc25.x86_64
kernel-debug-devel-4.9.6-200.fc25.x86_64

rpm-qa| grep -e 内核开发

[Kennedy@Shield_Generator ~]$ rpm -qa | grep -e kernel-devel
[Kennedy@Shield_Generator ~]$ 
[Kennedy@Shield_Generator ~]$ 

答案1

确保安装了正确的内核开发。如果没有,请先安装 kernel-devel 包。请注意,kernel-devel 与 kernel-debug-devel 不同。

我猜您已经安装了 akmods 并收到错误“在目录 /lib/modules/4.9.5-200.fc25.x86_64 中找不到模块 wl”。跑步,

# akmods --force
# depmod -a
# modprobe wl

作为 root 或使用 sudo。

我遇到了和你一样的问题,上面的方法解决了我的问题。

答案2

我有完全相同的问题,我安装了 kernel-devel

sudo dnf install kernel-devel-4.9.6-200.fc25.x86_64 

然后我按照 Xenox 在他的回答中提到的相同步骤操作,现在 wifi 工作正常

答案3

我正在处理同样的问题,我是这样解决的:

sudo dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-25.noarch.rpm https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-25.noarch.rpm
sudo dnf install -y broadcom-wl kernel-devel
sudo akmods --force --kernel `uname -r` --akmod wl
sudo modprobe -a wl

将“uname -r”更改为您的。

答案4

对我来说,在 fedora 29 中使用 rpmfusion repo 安装 bcm43228 驱动器。

# view info
lspci | grep -i broadcom

# installing
dnf install "kernel-devel-uname-r == $(uname -r)"
dnf install akmods
dnf install kmod-wl # dependences including akmod-wl and broadcom-wl

# reboot
reboot

相关内容