Installing Broadcom 802.11 Linux STA driver

Installing Broadcom 802.11 Linux STA driver

NOTE: All major distributions have released their packages for the driver.

Please use this guide only if the drivers in the repository don’t work or compiling is a hobby.

This driver includes
BCM4311, BCM4312, BCM4321, and BCM4322

Finally my HP 6515b with BCM4312 is free from ndiswrapper !!!!

A)
1) Depending on your system download 32 or 64 bit package
from http://www.broadcom.com/support/802.11/linux_sta.php

2) Go to a terminal to the dir with package.

3) tar -xvzf hybrid-portsrc-.tar.gz
Replace version with one you have

4) Install kernel headers (eg. in fedora “yum install kernel-headers”)

5) make -C /lib/modules/`uname -r`/build M=`pwd`

if There were no errors

6) Unload Modules from memory
rmmod ndiswrapper b43 ssb bcm43xx b43legacy

7) For WPA
modprobe ieee80211_crypt_tkip

8)Check if Compiled Module is working
insmod wl.ko

Now Probably a new interface will be there for wireless (wlan0 or eth-1)
To check it run
iwconfig
iwlist scanning

AND YES !! ITS Working !!!!!

B)Making it load on boot

1)cp wl.ko /lib/modules/`uname-r`/kernel/net/wireless/

2)depmod -a

3)rmmod wl

4)modprobe wl

5)Add following Lines to /etc/rc.local (in openSuse /etc/rc/rc.d/boot.local)


modprobe wl

NOTE: If You Have Problems See README on the package page or post in troubleshooting page

26 thoughts on “Installing Broadcom 802.11 Linux STA driver”

  1. for total idiots like me, who dont know anything about kernel headers and stuff:
    i tried to follow this advice and was getting an error about /lib/modules/2.6.26-1/build not existing.
    after sweeping the web and tearing my hear i got a brainwave inspired by some of the website. i went to synaptic, searched for ‘kernel’ and installed anything which (by my gut feeling) looked relevant.
    then i rebooted and HALLELUYAH! it worked.
    i dont have a slightest why. for starters i was running debian lenny 32 on an amd 64. but on of the things i installed from synaptic was an -64 kernel image, which might have replaced the 32 one. but i had tried the -32 driver before…
    anyway, im not saying its a good idea, but it worked for me.

  2. I’m a total idiot…I don’t understand anything…. i don’t know how to install the driver….. i open the terminal and i dont know what i have to do… so if you can explain it for real doomies i’ll be so grateful

    thx
    bye

    1. You don’t need to use this guide any more since all the major distributions have already got the driver.

      In Fedora >
      System>Administration> Add Remove Software

      In ubuntu use Synaptic

      Let the list be updated from the internet.
      find a package called wl or broadcom-wl and install that.
      (it may be called akmod-wl or something like that)

      Learn some basic command line skills, they will be helpful.

  3. Didn’t work. It loads module wl, but there is no device in iwconfig or ifconfig or nm-applet. Even -a to ifconfig changes nothing. I think I must stay with ndiswrapper.

    HP Mini 2140 – Ubuntu 9.04 Broadcom 4322

    1. If you have a 2.6.29 Kernel you need to apply the kernel patch available at the Broadcom url mentioned above. ( to check kernel version use “uname -r”). Sometimes (especially in Ubuntu ) the interface eg. wlan0 is not created which you may have to do manually. PS 9.04 already has wl driver so you don’t require this guide.

  4. hi.

    hi.
    I have a machine vostro 1320 wireless network card broadcom 1520 a / b / g / n chipset that is 4322, down from the broadcom web hybrid driver who liberated in September last year to install, follow the steps for installation, and I managed to turn the focus of the wireless but I have enabled wireless networks on the icon. I have Fedora 12?

    Help please

Leave a Reply

Your email address will not be published. Required fields are marked *