Installing Broadcom Wireless STA Driver in Fedora 11

These are updated instructions for installing the Broadcom Wireless STA driver in Fedora 11. This driver is for use with Broadcom’s BCM4311-, BCM4312-, BCM4321-, and BCM4322-based hardware.

1) Enable the rpmfusion repositories.

The broadcom-wl and wl-kmod RPMs that we need are in the rpmfusion non-free repository which also requires the rpmfusion free repository. To enable these repos in Fedora 11 simply do this:

su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

2) Update and install the driver package

Now that you have the appropriate repository enabled, to install the driver package we first ensure that we have the latest updates and then install the “kmod-wl” package which will bring with it the required “broadcom-wl” package:

su -
yum update
yum install kmod-wl

3) Make a couple of adjustments

At this stage you should reboot and provided you have Network Manager running (default setting for F11) it should detect your Broadcom wireless device and you should be able to connect to your wireless network.

If you’re having problems then it is likely some conflict between Network Manager and the network service. To ensure that Network Manager can use the wireless go to System > Administration > Network and select the wireless device (if it’s not there then this doesn’t apply to you). Edit the device and check “Controlled by Network Manager” and “Activate device when computer starts”. Close Network Configuration, save changes and then reboot.

You should also read the license and readme which are located in /usr/share/doc/

4) Enjoy your wireless!

That’s all there is to it. At this stage you may need to reboot (if you didn’t already) in order to enable the new driver and any new kernel that was installed during the update.

When future kernels are released a simple “yum update” command should install the new kernel and also pull in the updated Broadcom driver for that new kernel.

63 thoughts on “Installing Broadcom Wireless STA Driver in Fedora 11

  1. Sagy Volkov

    Tried this, but its not working for me.
    D630, BCM4312.
    yum install wl-kmod
    Loaded plugins: refresh-packagekit
    Setting up Install Process
    Package akmod-wl-5.10.79.10-2.fc11.9.i686 already installed and latest version
    Nothing to do

    modprobe wl
    FATAL: Module wl not found.

    help?

  2. Sagy Volkov

    oh, and device is NOT showing up on “System > Administration > Network”

  3. victor

    I did everything you say here and I can detect the wireless network but when I put the key doesn’t conect to the network, that key is working in ubuntu but not with fedora, what can I do??

  4. Pingback: Installing Fedora 11 on a MacBook | cenolan.com

  5. Hugo

    I have followed this tutorial, but my wireless is still not working. I have a Broadcom BCM4328 (rev 03).
    My wireless does not show up neither in the tab Hardware nor Device in “System > Administration > Network”.

    I had successfully installed the driver in F10 (with the same tutorial, for F10), but now it is not working.

    Can anyone help me?
    Thanks

  6. Hugo

    The first results nothing:
    # lsmod | grep wl

    The other results this:
    # rpm -qa | grep wl
    broadcom-wl-5.10.79.10-2.fc11.noarch
    iwl4965-firmware-228.57.2.23-5.fc11.noarch
    iwl5000-firmware-5.4.A.11-4.noarch
    akmod-wl-5.10.79.10-2.fc11.9.i686
    iwl3945-firmware-15.32.2.9-1.fc11.noarch

    1. Chris Post author

      Hugo, same to you as I said to Sagy above:

      yum erase akmod-wl
      yum install wl-kmod

      That should do it. No idea why it is pulling in the akmod package instead of the kmod… odd.

  7. Hugo

    Chris, when I erased akmod and reinstalled wl-kmod, it reinstalled again the akmod.

    So I tried to erase akmod one more time and install kmod-wl instead, and it worked! I’m in wireless right now!
    Thanks very much for the help.

    Hugo

    1. Chris Post author

      Hi Hugo, glad you got it working and thanks for the feedback. I will update the instructions to say install kmod-wl and not wl-kmod :)

  8. victor

    I did everything you say, I have a BCM4311 I can detect my wireless network, but I am using WEP and when ask for the key an d put it, I can’t conect to the network, I have a couple of computer with diferent OS and all of them work except the one with Fedora., what can I do??

  9. victor

    I need help, I have a BCM4311 that works fine in Ubuntu, but it doesn’t work with Fedora, I did everything you say here and I can detect my wireless network but I can’t conect, I am using WEP and when try to conect it doesn’t take the key, what can I do?, that key work’s fine in the same computer using ubuntu but no with Fedora. can anybody help me???

  10. Abram

    Thanks for providing this info. Finally I’ve got my BCM4312 on Acer Aspire 4720 laptop work now with WPA personal enabled.

    I’m using Fedora 11. Now I’m still confused about the relationship between the Network Devices in System>Administration>Network and Network Connectons in System>Preference. After installed the driver, I can’t see any wireless devices under System>Administration>Network, although I can see eth1 in Hardware under it. So I new one device based on the eth1 hardware. After this, nothing happened. Then I added one wireless connection under System>Preference>Network Connections. This time my laptop began to make connection to my AP. But now I have 2 wireless devices listed in Network Configuration. One is the device I created which is showed as Active. Another is a device with the same name as the Wireless Connection I created and it’s showed as inactive. The “delete” tab is disabled so I can’t delete anyone there. Is this in the right way?

    Appreciate any clarification to help me understand this.

  11. Luis

    Hey Chris

    I get this result with rpm -qa | grep wl:

    broadcom-wl-5.10.79.10-2.fc11.noarch
    iwl4965-firmware-228.57.2.23-5.fc11.noarch
    iwl5000-firmware-8.24.2.12-1.fc11.noarch
    kmod-wl-5.10.79.10-2.fc11.9.x86_64
    iwl3945-firmware-15.32.2.9-1.fc11.noarch
    kmod-wl-2.6.29.4-167.fc11.x86_64-5.10.79.10-2.fc11.9.x86_64

    However when I go to Network Manager I can see any wireless device, although under hardware I can see the Broadcome device.

    Could you tell me what I should do in order to get the wireless running?

    BTW I’m doing this on a Macbook 3.1 (Black Santa Rosa late 2007).

  12. Jannik

    Hi, I tried the manual but it doesn’t work. What can I do now? Which informations do you need??
    thank you so much! =)

  13. Romario Ferreira

    Hey guys. It works perfectly on HP compaq c270br. Very nice job you guys who posted it. Thanks so much.

  14. Daniel Wyeth

    Hi there,

    The current driver (5.10.79.10) works flawlessly on WPA1/2 networks without EAP, and on WEP networks with EAP (802.11x/PEAP); unfortunately, connecting to WPA1/2 networks with EAP (or at least those using PEAP anyway) causes the system to lock hard: no panic messages, no reported error of any sort, just a complete freeze.

    I’ve reported this to Broadcom, who didn’t respond, but did issue a patch. Applying this patch resolved the problem for linux 2.6.27 (under Debian), and it would it would appear to now included in the most recent version of broadcom’s driver (5.10.91.9).

    I suspect that it would help many people if this new version of the driver could be packaged and uploaded to the rpmfusion repositories (particularly for x86_64)… I have just migrated to Fedora (as of yesterday) from Debian (after 4 years) so I have no idea how to build an rpm myself at this point; give me a week or two and I’ll be more help. I will however report back here with any success or failure with my own manually compiled version (5.10.91.9) as soon as I’ve given it a good run.

    1. Chris Post author

      Hi Daniel, the updated 5.10.91.9 build for 2.6.29 (current) kernel has now been pushed to the rpmfusion repository. Anyone else having troubles authenticating with their wireless router should update their driver with “yum update”.

  15. Daniel Wyeth

    As an addendum to the last post, the most recent version of the driver (5.10.91.9) does not compile against the current kernel in Fedora (2.6.29.4-167.fc11.x86_64) at least on my system. It would appear that some kernel data structures and associated functions in the wireless stack have changed between 2.6.27 and 2.6.29, specifically:

    the structure net_device no longer has a member priv
    the function ieee80211_get_crypto_ops is either not defined, or its definition has moved.

    The significant errors are:

    error: implicit declaration of function ‘ieee80211_get_crypto_ops’
    error: ‘struct net_device’ has no member named ‘priv’

    The remaining errors are I think simply a consequence of those above; most are of the form:

    error: dereferencing pointer to incomplete type

    The structure net_device is defined in ${source}/include/linux/netdevice.h, and does have a member:

    unsigned short priv_flags; /* Like ‘flags’ but invisible to userspace. */

    but would not appear to have a member called priv (though it’s a really big struct, so it’s possible that I’ve missed it somehow). Interestingly, I can’t find a member called priv in the definition of the structure in 2.6.27 either… not quite sure what this means, maybe its hidden by one of the macros?

    The function ieee80211_get_crypto_ops would indeed seem to have disappeared however: it is defined in:

    ${2_6_27}/include/net/ieee80211_crypt.h:
    struct ieee80211_crypto_ops *ieee80211_get_crypto_ops(const char *name);

    but grepping the current sources reveals nothing. Not sure what function is supposed to replace it.

    If you have any ideas on any of this, feel free to email me, or just comment in this thread and I’ll check.

    Daniel.

  16. Daniel Wyeth

    As this page is one of the first hits in a google search for “fedora broadcom wl” I thought that I should just give an update:
    it turns out that there is a Fedora package of version 5.10.91.9 in testing, available from:

    http://download1.rpmfusion.org/nonfree/fedora/updates/testing/11/x86_64/

    though it is not clear when this will make it out of testing and into the main repositories. Through several hours of heavy use on a WPA2-Enterprise network (PEAPv0 / MSCHAPv2) the driver has been very stable, so this version would appear to resolve the EAP issue (at least for PEAP).

  17. Jannik

    Mhh… My steps:
    yum install kmod-wl
    modprobe -wl
    alias wlan0 wl written in modprobe.conf & modprobe.d/broadcom-wl-alias.conf
    restart
    it doesn’t work =(
    output from lsmod | grep wl is nothing
    ]# rpm -qa | grep wl
    iwl5000-firmware-8.24.2.12-1.fc11.noarch
    iwl4965-firmware-228.57.2.23-5.fc11.noarch
    kmod-wl-2.6.29.4-167.fc11.i586-5.10.79.10-2.fc11.9.i586
    iwl3945-firmware-15.32.2.9-1.fc11.noarch
    broadcom-wl-5.10.79.10-2.fc11.noarch
    kmod-wl-5.10.79.10-2.fc11.9.i586

    do you know what i can do??
    thank you so much..

Comments are closed.