Getting Broadcom WiFi Driver to Work on MacBook Pro 12.1 with Fedora 40

I’m trying to install and configure the Broadcom WiFi driver on my MacBook Pro 12 running Fedora 40. After installing and running sudo dnf upgrade, I’ve noticed that my WiFi is no longer functioning. I’ve tried installing the broadcom-wl package using dnf, but I’m still unable to connect to any networks.

Can anyone provide guidance on how to troubleshoot and resolve this issue? I can provide any system details or provide any other information you need.

For example:

lspci | grep Network
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43602 802.11ac Wireless LAN SoC (rev 01)

As a new user to Fedora (I’m used to Debian-based systems), I’d appreciate any detailed instructions or references to relevant documentation that can help me get my MacBook Pro 12’s WiFi up and running again.

Maybe George (@gnwiii ) can assist. I believe he uses a mac and probably can provide detailed info.

There are several threads here about the BCM4360 chipset so a quick search could also provide assistance.

1 Like

Please check the wifi tag. We do have quite a lot of issues with the broadcom cards.

Here an example:

2 Likes

Thank you! I’ll keep searching, and I’ll come back here if I can’t find anything.

The new version (2.11-1 I think) of package wpa_supplicant apparently introduced an issue in relation to broadcom-wl drivers. Temporary fix is to downgrade the package:

sudo dnf downgrade wpa_supplicant

Until a new version appears, this package should be excluded from dnf upgrade.

2 Likes

Thank you for this. I’ve installed broadcom-wl, kmod-wl, and akmod-wl. I’ve downgraded wpa_supplicant and added excludepkgs=wpa_supplicant to /etc/dnf/dnf.conf. I’ve rebooted after all these and it still doesn’t work :frowning:

Did you by any chance reboot?

EDIT: I missed the info that you did.

1 Like

I’ll access my old 2008 MacBook in a couple of hours and make some tests.

As I updated yesterday to the latest wpa_supplicant, I already new about the issue, but I did it anyway, just to reproduce it.

1 Like

Thank you!

It is not clear to me from your post is if this is a fresh Fedora install, or at least it is the first time you are trying to set up WiFi, or is it actually that WiFi did work on a Fedora installation in the past, but not after the recent dnf upgrade?

I checked the list of wireless network controllers covered by the broadcom-wl drivers:

Description  : This package contains the license, README.txt and configuration
             : files for the Broadcom 802.11 Linux STA Driver for WiFi, a Linux
             : device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4313-,
             : BCM4321-, BCM4322-, BCM43142-, BCM43224-, BCM43225-, BCM43227-,
             : BCM43228-, BCM4331-, BCM4360 and -BCM4352- based hardware.

I am wondering if BCM4360 covers also BCM43602, which is your adapter, given that the only BCM4360 is missing a dash afterwards.

We might get an answer by running dnf list installed \*-wl\*. Please post the output of this command. If the driver covers your adapter, then the built kernel modules should be there in the format kmod-wl-6.9.12-200.fc40.x86_64.x86_64 for each of the installed kernels.

Please also post the output of dnf list installed wpa_supplicant.

1 Like

This is a fresh Fedora 40 install. The WiFi worked after install, but it stopped working after sudo dnf update; sudo dnf upgrade. I actually have my history handy . Here are the first 10 commands (you can tell when I started experiencing issues when I installed broadcom-wl):

username@fedora:~$ history

1  sudo nano /etc/dnf/dnf.conf 
2  sudo dnf update
3  sudo dnf upgrade
4  sudo reboot
5  sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
6  sudo dnf install broadcom-wl
7  sudo dnf upgrade
8  sudo dnf update
9  sudo reboot

10 sudo dnf install broadcom-wl

Here’s the wl install list:
username@fedora:~$ dnf list installed \*-wl\*

Installed Packages
akmod-wl.x86_64 6.30.223.271-51.fc40 @rpmfusion-nonfree
broadcom-wl.noarch 6.30.223.271-23.fc40 @rpmfusion-nonfree
kmod-wl-6.9.12-200.fc40.x86_64.x86_64 6.30.223.271-51.fc40 @@commandline

username@fedora:~$ dnf list installed wpa_supplicant

Error: No matching Packages to list

Just to clarify, that is Debian alias Ubuntu thing with the update/upgrade. In fedora you just can use sudo dnf upgrade.

To read the metadata again, so that you have the latest one you can do it withsudo dnf upgrade --refresh

1 Like

Super helpful thank you!

I commented out excludepkgs=wpa_supplicant in my /etc/dnf/dnf.conf

Ran this below and then rebooted.

sudo dnf upgrade -y; sudo dnf downgrade wpa_supplicant; dnf list installed wpa_supplicant

Installed Packages
wpa_supplicant.x86_64 1:2.10-10.fc40 @fedora

Does not work yet.

Could you also provide the full output from dnf history and post it here as preformatted text (using the </> button instead of blockquote), given that it also provides timestamps, and please indicate the last command when wireless did work. You can remove any line you consider sensitive information.

The reason I am asking this is because it is still not clear to me when did Wi-Fi work and when did it start not working, and what did you do to try to make it work again. My guess (based on my short research, more on that below), and on your comments above, is that:

  • Wi-Fi did work for you OOTB, without broadcom-wl being installed.
  • After a recent dnf upgrade, your Wi-Fi didn’t work anymore (possibly because the wpa_supplicant issue affects Broadcom adapters/drivers in general). The Wi-Fi button is available in the Quick Settings menu, but doesn’t scan for available networks.
  • As a fix, you tried installing broadcom-wl drivers from RPM Fusion. Wi-Fi still not working, possibly Wi-Fi button in Quick Settings menu not available.
  • You donwgraded wpa_suplicant, but it didn’t help.

If the above is true, then the reason of the issue is that the driver for BCM43602 is included in the kernel, given that Broadcom released in 2010 a fully open-source driver (brcm80211) which also works for your chip. Then you installed broadcom-wl, which doesn’t suport your wireless card (BCM43602 is not the same as BCM4360), hence Wi-Fi is not working anymore.

If my assumptions are true, then the following should provide a fix:

  • Remove the broadcom-wl driver: sudo dnf remove broadcom-wl.
  • Verify that corresponding kernel modules were removed: sudo dnf list installed kmod-wl\*. There should be no matching packages.
  • Make sure wpa_supplicant is downgraded.
  • Reboot.
1 Like

Just for information, i got an upgrade today.
The version is now -2 in the end (new: wpa_supplicant-2.11-2 old: 2.10-10.fc40).

Might be worth to test.

1 Like

Will test later today, thanks.

Your steps worked! Thank you so much, Mike!!

username@macbook-pro-12:~$ dnf history
ID     | Command line              | Date and time    | Action(s)      | Altered
--------------------------------------------------------------------------------
    41 | remove broadcom-wl        | 2024-08-08 07:27 | Removed        |   27 EE
    40 | downgrade wpa_supplicant  | 2024-08-07 16:47 | Downgrade      |    1   
    39 | upgrade -y --refresh      | 2024-08-07 16:37 | Upgrade        |    1   
    38 | -y install --nogpgcheck - | 2024-08-07 16:34 | Install        |    1   
    37 | install kmod-wl           | 2024-08-07 16:33 | Install        |   26 EE
    36 | remove broadcom-wl        | 2024-08-07 16:18 | Removed        |   26 EE
    35 | downgrade wpa_supplicant  | 2024-08-07 16:10 | Downgrade      |    1   
    34 | upgrade                   | 2024-08-07 16:09 | Upgrade        |    1   
    33 | remove -y google-chrome-s | 2024-08-07 14:42 | Removed        |    2   
    32 | reinstall -y google-chrom | 2024-08-07 14:34 | R              |    2   
    31 | install rstudio-desktop   | 2024-08-07 14:05 | Install        |   52   
    30 | install R                 | 2024-08-07 13:49 | Install        |  524   
    29 | install okular            | 2024-08-07 13:45 | Install        |   87   
    28 | install backintime-qt     | 2024-08-07 13:43 | Install        |   44 EE
    27 | reinstall broadcom-wl     | 2024-08-07 10:05 | R              |    2   
    26 | remove kmod-wl            | 2024-08-07 09:55 | Removed        |    1   
    25 | install -y google-chrome- | 2024-08-07 09:33 | Install        |    2  <
    24 | install -y vlc            | 2024-08-07 09:26 | Install        |   41 > 
    23 | install -y audacity       | 2024-08-07 09:09 | Install        |    9   
    22 | install -y unzip p7zip p7 | 2024-08-07 09:08 | Install        |    3   
    21 | groupupdate sound-and-vid | 2024-08-07 09:07 | Install        |    1   
    20 | install -y gstreamer1-plu | 2024-08-07 09:06 | Install        |    1   
    19 | groupupdate multimedia -- | 2024-08-07 09:06 | Install        |   14   
    18 | install -y libdvdcss      | 2024-08-07 09:05 | Install        |    1   
    17 | install -y rpmfusion-nonf | 2024-08-07 09:02 | Install        |    1   
    16 | install -y rpmfusion-free | 2024-08-07 09:02 | Install        |    1   
    15 | -y groupupdate core       | 2024-08-07 09:02 | Install        |    3  <
    14 | install kmod-wl           | 2024-08-07 01:05 | Install        |    1 > 
    13 | reinstall broadcom-wl     | 2024-08-07 01:00 | R              |    2   
    12 | downgrade wpa_supplicant  | 2024-08-07 00:56 | Downgrade      |    1   
    11 |                           | 2024-08-06 17:27 | Install        |    1   
    10 | reinstall akmod-wl broadc | 2024-08-06 17:08 | R              |    4   
     9 | reinstall broadcom-wl     | 2024-08-06 16:53 | R              |    2   
     8 | reinstall broadcom-wl     | 2024-08-06 16:44 | R              |    2   
     7 | reinstall broadcom-wl     | 2024-08-06 16:39 | R              |    2   
     6 | install fastfetch         | 2024-08-06 15:45 | Install        |    9   
     5 | -y install --nogpgcheck - | 2024-08-06 15:31 | Install        |    1   
     4 | install broadcom-wl       | 2024-08-06 15:30 | Install        |   65 E<
     3 | install https://mirrors.r | 2024-08-06 15:29 | Install        |    2 > 
     2 | update                    | 2024-08-06 15:02 | I, O, U        |  803 E<
     1 |                           | 2024-04-14 16:56 | Install        | 1952 >E
2 Likes

I have performed the test by upgrading wpa_supplicant to the newer version 1:2.11-2.fc40, but with no success. Whatever fix was brought in by release -2, it doesn’t seem to have solved our Broadcom-related issue.

Thankyou for putting the information about downgrading the wpa_supplicant - I was trying to figure out why my broadcom 4360 wasn’t working and this fixed it for me. My question is how do we know when a fix has been put out?