Topic: Automatically configure B43 drivers (wl)

For those people ( like me ) that think its a pain to install wl everytime we install debian / #!, i found a script in the linux mint forums about it.

im not sure if it works or not, havent tried it ( will try it soon ), but hey, why not try it.. basically it does everything that the tutorial from the debian wiki -- for you.

well here it is, if it works maybe we should add it in to statler full release ? yikes


EDIT: one thing this script doesnt do is add the non-free source to statler/squeeze, so i may try and actually add it in later on !

"The code below is a script for installing the Broadcom 4812 drivers, tried to attach the script and it won't let me do it without a extension or with the .txt extension so I included it here. Copy and paste it into a text file, I named mine b43,be sure to make it excutable,put it in your home direcotry and run it from a terminal."

#! /bin/bash
# Install the wifi drivers for Broadcom 4312 wifi
# Add contrib non-free to the app source list befor using - Note this may not
# be necessary on LMDE
############################################################################

## Update the list of available packages. Install the module-assistant and
##   wireless-tools packages:

   sudo aptitude update
   sudo aptitude install module-assistant wireless-tools

## Build and install a broadcom-sta-modules-* package for your system,
##   using Module-Assistant:

  sudo m-a a-i broadcom-sta

## Rebuild your initial ramdisk, to blacklist modules defined at
##   /etc/modprobe.d/broadcom-sta-common.conf within initramfs:

  sudo update-initramfs -u -k $(uname -r)

## Unload conflicting modules:

  sudo modprobe -r b44 b43 b43legacy ssb 

## Load the wl module:

  sudo modprobe wl 

## Verify your device has an available interface:

  sudo iwconfig

## Configure your wireless interface as appropriate. 

## At this point I don't think that the wl driver will load on startup so

sudo echo wl >> /etc/modules
   

Hopefully it works and it will be easier for newbies and such!

Thanks big_smile

Last edited by bolle (2010-11-16 02:12:43)

I once installed gentoo. It asked me for a sacrifice and would not install itself unless I gave him my neighbor's first born and my best bottle of Whiskey.  -Awebb 2011

Re: Automatically configure B43 drivers (wl)

I did not need to configure my B43 drivers under Crunchbang.
Worked right out of the box.

In Debian on the other hand, the script should work fine.



/

Re: Automatically configure B43 drivers (wl)

Alright, well i mean this is for statler.. And any help on how i would get this to work guys? i cant seem to open it in a terminal :L

I once installed gentoo. It asked me for a sacrifice and would not install itself unless I gave him my neighbor's first born and my best bottle of Whiskey.  -Awebb 2011

Re: Automatically configure B43 drivers (wl)

Your card does not work out of the box?

Can you post the output of:

lspci -vnn | grep 14e4

Here's a really good resource: http://linuxwireless.org/en/users/Drivers/b43

Re: Automatically configure B43 drivers (wl)

bolle wrote:

Alright, well i mean this is for statler.. And any help on how i would get this to work guys? i cant seem to open it in a terminal :L

I also mean Statler. It worked right out of the box.
As I am running normal Debian at the moment I needed configure them by hand.
I did use the commandos of that script and it worked like a charm.



/

Re: Automatically configure B43 drivers (wl)

@bolle - you have to paste the script into a text file, make it executable, then run it like /path/to/scriptname

edit: You even included the instructions in your post >_>

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Automatically configure B43 drivers (wl)

ahah i know i did, but i couldnt figure out how to run it.. it just doesnt open anything..

I once installed gentoo. It asked me for a sacrifice and would not install itself unless I gave him my neighbor's first born and my best bottle of Whiskey.  -Awebb 2011