LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   HowTo: bcm4306 ndiswrapper installation guide for Fedora (https://www.linuxquestions.org/questions/linux-networking-3/howto-bcm4306-ndiswrapper-installation-guide-for-fedora-774354/)

jjcf89 12-08-2009 08:23 PM

HowTo: bcm4306 ndiswrapper installation guide for Fedora
 
I did this on Fedora 11 64bit with bcm4306 wireless chipset.

Note: This requires internet access. I was able to accomplish this by bridging the wireless and lan on my laptop but that is beyond this guide.

A. Preparation
  1. Open up the terminal (Applications – System – Terminal) and make the following directories:
    Code:

    mkdir /bcm4306
  2. Setup RPM Fusion. RPM Fusion configuration
  3. Blacklist the bcm43xx, b43 wireless driver:
    Note: The su -c command will ask for your root password and not your user password.
    Code:

    su -c nano /etc/modprobe.d/blacklist.conf
    Make sure both
    Code:

    blacklist bcm43xx
    blacklist b43

    are in this file. If you don't have nano installed you can use gedit or vi instead.
  4. Install ndiswrapper, cabextract, and updates
    Code:

    su -c yum install akmod-ndiswrapper ndiswrapper cabextract
    su -c yum update

  5. Restart computer if "yum update" found a kernel update.

B. Download and Install Wireless Driver
  1. Download wireless driver
    Code:

    cd /bcm4306
    wget ftp://ftp.hp.com/pub/softpaq/sp33001-33500/sp33008.exe

  2. Extract wireless driver
    Code:

    cabextract sp33008.exe
  3. Become root and install driver
    Code:

    su --login
    cd /bcm4306
    ndiswrapper -i bcmwl5.inf

  4. Copy the .conf file.
    Code:

    cp /etc/ndiswrapper/bcmwl5/14E4:4324.5.conf /etc/ndiswrapper/bcmwl5/.conf
    Note: This one didn't make much sense to me but I did it it. Not sure if its necessary.
  5. Verify if drivers installed properly
    Code:

    ndiswrapper -l
    Should give something similar to this.
    Code:

    bcmwl5 : driver installed
  6. Run this if the above command worked.
    Code:

    modprobe ndiswrapper
  7. To verify the module loaded run
    Code:

    dmesg | grep wlan
    If you get something like the following it worked
    Code:

    wlan0: ethernet device 00:0c:41:14:24:6b using NDIS driver: bcmwl5, version: 0x4281300, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4320.5.conf
    wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK

  8. Next we add the alias directive to the modprobe.d directory
    Code:

    ndiswrapper -ma
    echo "alias wlan0 ndiswrapper" >> /etc/modprobe.d/bcm4306.conf

If all went well your wireless card will appear in Network Manager. If it doesn't run the command
Code:

iwlist --scanning
If wlan shows up with available networks your drivers are working correctly and your problem lies elsewhere. Try restarting.

Hope this helps.

I built this guide mostly off of the following sources:
http://fedoramobile.org/fc-wireless/ndis-yum-livna
http://ubuntuforums.org/showthread.php?t=340689


All times are GMT -5. The time now is 08:30 PM.