May 18, 2009

How to configure your wireless correctly.

Every Distro has its own unique quirks about setting up wireless.

I have primarily used Red Hat Distros, such as Centos, Fedora.

However I have set up wireless on Open-suze, Mandriva, LinuxMint.

If you follow these instructions, you should avoid frustration and issues.

step 1. - enter terminal

su -

#yum update

# lspci -l

uname -r

step 2.  go to firefox, or your web browser of choice...sourceforge.net

http://sourceforge.net/projects/ndiswrapper/

ndiswrapper ( latest version is ndiswrapper-1.54) 

download and save to file...

step 3.

enter back to terminal

mv ndiswrapper-1.54.tar.gz  /usr/src

cd /usr/src

tar -xzvf ndiswrapper-1.54.tar.gz

cd ndiswrapper-1.54

make clean

make

su -

make install

ln -s /lib/modules/uname -r/build

(uname -r) is your kernel...centos it is currently

2.6.18-128.1.1.el5

cd /

su -

mk dir AA

 

 

Step 4. 

lspci --your driver...the best option is to go to your support site for maker of your laptop...such as HP, Dell, Toshiba...etc...

download and save as file the correct driver...generally this gets saved in your home file. 

make sure to move the file to a safe place...

I would ;   mv FILE NAME.EXE  /usr/src/AA ( you created AA in step#3)

cd /usr/src/AA unzip 

cd /

ndiswrapper -i   /usr/src/AA/DRIVER/bcmwl5.inf

modprobe ndiswrapper

ndiswrapper -m alias "eth1" >> wlan0

ndiswrapper -mi

ndiswrapper -ma

iwconfig....it should then list wlan0

cd /

cd /etc/modules.d

nano blacklist

enter at the bottom of the list : blacklist bcm43xxx

 

reboot

 

If you have a wireless Hot Key--- make sure you watch to see it light up.

 

step 4.  

http://linuxwireless.org/en/users/Drivers/b43

Linuxwireless.org has a great way to install.  You need the information from lspci.  

 depending upon your driver...it will determine what you need for a driver for wireless. 

wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2
tar xjf b43-fwcutter-011.tar.bz2
cd b43-fwcutter-011
make

make install
cd ..
export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
tar xjf broadcom-wl-4.80.53.0.tar.bz2
cd broadcom-wl-4.80.53.0/kmod
sudo ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
exit...
 
ifconfig...it should list wlan0.... 
reboot...and you should have wireless.... 
 
Potential issues:
 
wpa_supplicant...you may need to go to services...and start this service...it will then enable  you to connect to your wireless service...
 
again...each distro has its own hang up..but this should get your wirless working in almost all instances... 

 

 

Click Here!