Centos 8 and broadcom?

Issues related to configuring your network
Post Reply
larigan
Posts: 1
Joined: 2019/09/27 11:37:31

Centos 8 and broadcom?

Post by larigan » 2019/09/27 11:39:42

I have broadcom chip for wireless. -> BCM43142

How to install drivers to get network?

bonedome
Posts: 201
Joined: 2017/04/22 08:11:04

Re: Centos 8 and broadcom ?

Post by bonedome » 2019/10/04 19:21:05

Hello
your question answered mine, one of the reasons I'll wait a while to install CentOS 8
I have BCM 4313, using the rpmfusion wl packages.
The RPMFusion el8 repo doesn't contain the broadcom akmod/kmod wl rpms yet, but you could try installing the el7 rpms from here https://download1.rpmfusion.org/nonfree ... index.html you'll need the broadcom-wl, akmod-wl and (current/running/uname -r) kernel-devel packages, they work with the latest elrepo mainline kernel (currently 5.3.2-1.el7.elrepo.x86_64) so I can't see the kernel version being a problem.
The broadcom-wl and akmod-wl rpms will need to be installed together then a reboot.
I know it's never a great idea to install rpms from different releases, but this sounds like you have a fresh install with no working wireless, so why not be the test pilot ;)
Hopefully rpmfusion will have el8 rpms soon.
Let us know if you have success.

eyeprotocol
Posts: 1
Joined: 2020/06/02 11:50:26

Re: Centos 8 and broadcom ?

Post by eyeprotocol » 2020/06/02 12:02:10

Hello. I am new to Centos. Since i am faced with the same problem, i was wondering if someone would point me to a proper set of instructions on resolving this. It appears that the "repo" mentioned, now has packages for version 8, but i need further guidance if available.

User avatar
oceanjeremy
Posts: 46
Joined: 2020/05/29 15:01:00

Re: Centos 8 and broadcom ? - SOLVED (for me)

Post by oceanjeremy » 2020/06/06 13:51:08

I just installed CentOS 8 on a MacBook Pro and it wasn't recognizing my Wi-Fi or my ethernet controller. No internet at all. This got me connected in about fifteen minutes.

I got my instructions from these two pages:
- https://centos.pkgs.org/8/rpmfusion-non ... h.rpm.html
- https://centos.pkgs.org/8/rpmfusion-non ... 4.rpm.html

This is what worked for me:
  1. Get on a different machine (one that connects to the internet), so I can put the Wi-Fi driver on a USB drive and take it to my new CentOS machine
  2. Download Broadcom driver common files: https://download1.rpmfusion.org/nonfree ... noarch.rpm
  3. Download wl kernel modules: https://download1.rpmfusion.org/nonfre ... x86_64.rpm
  4. Take those (via USB drive) over to my new CentOS machine and drop into terminal (as root user)
  5. Run this command:

    Code: Select all

    # rpm -Uvh broadcom-wl-6.30.223.271-13.el8.noarch.rpm kmod-wl-4.18.0-147.el8.x86_64-6.30.223.271-32.el8.x86_64.rpm
    # dnf install kmod-wl-4.18.0-147.el8.x86_64 broadcom-wl
  6. Reboot CentOS 8 machine
To be completely honest I did this last night while a little bit tipsy and I can't remember each step exactly. I think you might need to double check your kernel (# uname -r) and make sure it matches? Not sure, I'm a Linux beginner myself.

But hopefully this can get you up and running!
Please be kind! I've only been a Linux user for eight months.

mrsr2174
Posts: 3
Joined: 2020/07/02 11:39:39

Re: Centos 8 and broadcom ?

Post by mrsr2174 » 2020/07/02 18:42:39

[root@CentOSDellLaptop Downloads]# rpm -Uvh broadcom-wl-6.30.223.271-13.el8.noarch.rpm kmod-wl-4.18.0-147.el8.x86_64-6.30.223.271-32.el8.x86_64.rpm
warning: broadcom-wl-6.30.223.271-13.el8.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID bdda8475: NOKEY
error: Failed dependencies:
kernel < 4.18.0-148.el8 is needed by kmod-wl-4.18.0-147.el8.x86_64-6.30.223.271-32.el8.x86_64

[root@CentOSDellLaptop Downloads]# rpm -Uvh broadcom-wl-6.30.223.271-13.el8.noarch.rpm
warning: broadcom-wl-6.30.223.271-13.el8.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID bdda8475: NOKEY
error: Failed dependencies:
wl-kmod >= :6.30.223.271 is needed by broadcom-wl-6.30.223.271-13.el8.noarch
[root@CentOSDellLaptop Downloads]# rpm -Uvh kmod-wl-4.18.0-147.el8.x86_64-6.30.223.271-32.el8.x86_64.rpm

warning: kmod-wl-4.18.0-147.el8.x86_64-6.30.223.271-32.el8.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID bdda8475: NOKEY
error: Failed dependencies:
kernel < 4.18.0-148.el8 is needed by kmod-wl-4.18.0-147.el8.x86_64-6.30.223.271-32.el8.x86_64
wl-kmod-common >= 6.30.223.271 is needed by kmod-wl-4.18.0-147.el8.x86_64-6.30.223.271-32.el8.x86_64

how do change kernel & wl-kmod vesrions

User avatar
oceanjeremy
Posts: 46
Joined: 2020/05/29 15:01:00

Re: Centos 8 and broadcom ?

Post by oceanjeremy » 2020/07/03 14:45:09

@mrsr2174:

You have to install all of the dependent packages at the same time, in one command. (Just rpm -Uvh pkg1.rpm pkg2.rpm pkg3.rpm etc)

However... these drivers worked for the last CentOS 8.1 kernel. I haven't had any luck finding a driver that works for CentOS 8.2 kernel, which you are probably running now.

I'm trying to work around the whole issue by getting a USB WiFi card. Eventually if I still want to use this MacBook I might replace the internal WiFi card with one that CentOS plays nicely with, but I'm not there yet.

Best of luck, let me know if you find a solution.
Please be kind! I've only been a Linux user for eight months.

mrsr2174
Posts: 3
Joined: 2020/07/02 11:39:39

Re: Centos 8 and broadcom?

Post by mrsr2174 » 2020/07/04 05:45:57

I tried below & sucessfully install broadcom-wl & kmwod-wl.

rpm -Uhv rpmfusion-free-release-8-0.1.noarch.rpm
rpm -Uhv rpmfusion-nonfree-release-8-0.1.noarch.rpm
rpm -Uhv rpmfusion-nonfree-appstream-data-8-1.el8.noarch.rpm
rpm -Uhv rpmfusion-nonfree-release-tainted-8-0.1.noarch.rpm
dnf install broadcom-wl

ifconfig -a , show a new device , when i tried to connect it is not connecting

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 60:d8:19:2b:58:0f 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 17

rfkill list show new device with my dell wireless, i am confused here. So what did broadcom-wl did
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: yes
2: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: yes

mrsr2174
Posts: 3
Joined: 2020/07/02 11:39:39

Re: Centos 8 and broadcom?

Post by mrsr2174 » 2020/07/04 07:16:11

Issued resolved after below installations, what i didn;t notice was there is hard button to power on wireless . After that everything is fine. Almost thought of installing Centos &

pm -Uhv rpmfusion-free-release-8-0.1.noarch.rpm
rpm -Uhv rpmfusion-nonfree-release-8-0.1.noarch.rpm
rpm -Uhv rpmfusion-nonfree-appstream-data-8-1.el8.noarch.rpm
rpm -Uhv rpmfusion-nonfree-release-tainted-8-0.1.noarch.rpm
dnf install broadcom-wl

User avatar
oceanjeremy
Posts: 46
Joined: 2020/05/29 15:01:00

Re: Centos 8 and broadcom?

Post by oceanjeremy » 2020/07/04 16:57:45

mrsr2174 wrote:
2020/07/04 07:16:11
Issued resolved after below installations, what i didn;t notice was there is hard button to power on wireless . After that everything is fine. Almost thought of installing Centos &

pm -Uhv rpmfusion-free-release-8-0.1.noarch.rpm
rpm -Uhv rpmfusion-nonfree-release-8-0.1.noarch.rpm
rpm -Uhv rpmfusion-nonfree-appstream-data-8-1.el8.noarch.rpm
rpm -Uhv rpmfusion-nonfree-release-tainted-8-0.1.noarch.rpm
dnf install broadcom-wl
Thank you so kindly for this! Ever since CentOS upgraded to 8.2 my wifi hasn't worked, and it's because I installed the broadcom-wl driver manually. So it still was using the kmod-wl for 8.1 (kmod-wl-4.18.0-147.el8).

I had the first three packages, but did not have rpmfusion-nonfree-release-tainted. I installed that one and it still would say dependencies resolved / nothing to do when I tried to install broadcom-wl, so I just dnf removed it then dnf installed it again right after. I watched it pull down the correct kmod whitelist (kmod-wl-4.18.0-193.6.3.el8_2x86_64).

I rebooted, et voilà! My internal wifi card was working again.

Thanks so much mrsr2174!!
Please be kind! I've only been a Linux user for eight months.

Post Reply