Fedora

Fedora 25 Broadcom 無線 BCM43228 無 WiFi

  • June 20, 2019

我知道 Broadcom 不喜歡 Fedora,我已經處理了幾年和版本。過去,安裝 kmod-wl 或 akmod-wl 通常足以讓一切正常執行(在很久以前將 b43 和 b43 legacy 列入黑名單之後)。

細節:

聯想 Thinkpad Twist s230u

unname -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 結尾是一個問題嗎?任何事,請。

編輯添加

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?

編輯添加(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!

sudo 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 kernel-devel

[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 | 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 ~]$ 

我有完全相同的問題,我安裝了 kernel-devel

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

然後我按照 Xenox 在他的回答中提到的相同步驟進行操作,現在 wifi 工作正常

確保安裝了正確的 kernel-devel。如果沒有,首先安裝 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。

我遇到了和你一樣的問題,上面的方法解決了我的問題。

引用自:https://unix.stackexchange.com/questions/341020