Home > Linux > Installing Broadcom 802.11 Linux STA driver

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

Categories: Linux Tags: , ,
  1. Gangadhar chalapaka
    October 25, 2008 at 4:35 pm

    Hurryyyyyyy !!!!!!!!!!!111

    It Works…

    Great work….

    Waiting for other articles from fedora….

  2. January 4, 2009 at 12:21 am

    It works! Thank you so much.

    You missed backticks and a space:
    1)cp wl.ko /lib/modules/uname-r/kernel/net/wireless/
    Should be:
    1)cp wl.ko /lib/modules/`uname -r`/kernel/net/wireless/

    Thanks again!
    —Douglas

  3. macias
    January 11, 2009 at 4:07 pm

    Thank God for those explanations! 🙂

    Thank you, really, you saved my day. Works fine with opensuse 11.1.

  4. noone
    January 15, 2009 at 3:20 am

    thanks, great.

    Dell Inspiron Mini 9 (BCM4312), Debian Lenny

  5. zinger
    February 5, 2009 at 5:02 am

    Thanks a lot! Seems to have worked perfectly for mandriva 2008

  6. H.Lee
    March 26, 2009 at 11:48 am

    Cooool!
    Tested on DELL Latitude E6400 which has DELL 1397 wireless card (Broadcom 4312) in China

    Thanks

  7. orangedolphin
    April 18, 2009 at 8:40 pm

    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.

  8. Ivan
    May 22, 2009 at 4:08 pm

    Super me funciona con mi INSPIRON 15 y Fedora 10 X86_64

  9. Jose
    July 15, 2009 at 1:30 am

    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

    • djays
      July 15, 2009 at 5:18 am

      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.

  10. aragwain
    August 6, 2009 at 8:40 am

    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

    • djays
      August 6, 2009 at 1:06 pm

      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.

  11. September 11, 2009 at 12:01 pm

    Thankss a looott……….

    It works great for Compaq Presario CQ40 with Broadcom Corporation BCM4312 802.11b/g (rev 01) wireless hardware………EXCELLENT article…….

    Regards,
    Noor Manseel mohamed

  12. November 30, 2009 at 4:27 am

    thank for your tips..

  13. german
    January 22, 2010 at 2:50 am

    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

  1. November 3, 2008 at 11:35 am
  2. November 3, 2008 at 11:39 am
  3. November 3, 2008 at 11:41 am
  4. November 16, 2008 at 8:33 pm
  5. November 30, 2008 at 4:07 am
  6. December 17, 2008 at 11:18 am
  7. January 31, 2009 at 6:55 am
  8. September 11, 2009 at 9:15 pm
  9. February 18, 2010 at 6:03 pm

Leave a comment