Broadcom BCM43228 fedora 31

Hi team,

I’m using fedora 31 for one week now. So far so good, except I’m having a hard time getting the wifi adapter to work. I’m using an HP EliteBook 745 my chipset is Broadcom BCM43228.
I have searched the web for help and followed all the steps discribed here: https://www.cyberciti.biz/faq/fedora-linux-install-broadcom-wl-sta-wireless-driver-for-bcm43228/
But still not able to fix the wlan issue. When I issue at the terminal ifconfig I dont’ even see the wlan interface show up. What can I do?

Welcome to the Fedora Community carlosdias,
Please share your output to the following:

sudo lspci | grep -i broadcom

Here it is twohot,

[root@carlostech Downloads]# lspci | grep -i broadcom
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n

install this packages/reboot and try disable secureboot from uefi @carlosdias

sudo dnf install akmod-wl kernel kernel-devel kernel-headers @c-development

Hi youssefmsourani, I have disabled secureboot installed the packages rebooted the system but still the same.
[cdias@carlostech Downloads]$ sudo rpm -ivh broadcom-wl-6.30.223.271-13.fc31.noarch.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
package broadcom-wl-6.30.223.271-13.fc31.noarch is already installed
[cdias@carlostech Downloads]$ sudo dnf install akmod-wl kernel kernel-devel kernel-headers
Last metadata expiration check: 0:03:33 ago on Sun 29 Dec 2019 03:15:37 AM WAT.
Package akmod-wl-6.30.223.271-30.fc31.x86_64 is already installed.
Package kernel-5.3.7-301.fc31.x86_64 is already installed.
Package kernel-devel-5.3.16-300.fc31.x86_64 is already installed.
Package kernel-headers-5.3.6-300.fc31.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[cdias@carlostech Downloads]$

What else should I try?

try this command and check if FAILED.

sudo akmods --force

and what the output off this commands ?

lspci -k |grep -A 5 -i broadcom

sudo modprobe wl -v

lsmod | grep wl

uname -r

ls /usr/src/kernels

Hi Yussef thanks for you reply,

[cdias@carlostech ~]$ sudo akmods --force
Checking kmods exist for 5.3.7-301.fc31.x86_64 [ OK ]
Files needed for building modules against kernel
5.3.7-301.fc31.x86_64 could not be found as the following
directories are missing:
/usr/src/kernels/5.3.7-301.fc31.x86_64/
/lib/modules/5.3.7-301.fc31.x86_64/build/Is the correct ker[FAILED]l package installed?
[cdias@carlostech ~]$
[cdias@carlostech ~]$ lspci -k | grep -A 5 -i broadcom
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n
DeviceName: WLAN
Subsystem: Broadcom Inc. and subsidiaries Device 05e2
Kernel modules: bcma
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
Subsystem: Hewlett-Packard Company Device 221c
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
[cdias@carlostech ~]$
[cdias@carlostech ~]$ sudo modprobe wl -v
modprobe: FATAL: Module wl not found in directory /lib/modules/5.3.7-301.fc31.x86_64
[cdias@carlostech ~]$
[cdias@carlostech ~]$ lsmod | grep wl
[cdias@carlostech ~]$
[cdias@carlostech ~]$ uname -r
5.3.7-301.fc31.x86_64
[cdias@carlostech ~]$
There are the output of the requested commands, thanks again.

Hi @youssefmsourani and @carlosdias

I did found it out maybe help you.

https://www.cyberciti.biz/faq/fedora-linux-install-broadcom-wl-sta-wireless-driver-for-bcm43228/

https://download1.rpmfusion.org/nonfree/fedora/releases/31/Everything/x86_64/os/repoview/broadcom-wl.html

The package from rpm fusion should be the adequate one if we look for the model of broadcom.

I hope this one help you 2

Regards.

1 Like

what about ?

ls /usr/src/kernels

Generally install this and try akmod again .

sudo dnf install http://ftp.iij.ad.jp/pub/linux/Fedora/fedora/linux/releases/31/Everything/x86_64/os/Packages/k/kernel-devel-5.3.7-301.fc31.x86_64.rpm

You need kernel-devel version with the same version of kernel that loaded (5.3.7-301.fc31.x86_64 ) .

sudo dnf install kernel-devel package indicates to kernel-devel with the same version of last kernel in repository (until now 5.3.7-301.fc31.x86_64 /// fedora 31).

I think For some reason you have kernel-devel with different version of loaded kernel (5.3.7-301.fc31.x86_64).

(google translate)

1 Like

Thank you very much youssefmsourani,
It did work. I was thinking about trying ubuntu already. Now I can see my wifi card with ifconfig.

wlo1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 30:52:cb:db:d4:4a 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
device interrupt 47
You saved my day.

2 Likes

Thanks xtym,

I had already gone through that but did not work. Yussef just provided the solution.

Cheers,

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.