Feb 1, 2010

Wireless /Wlan Trouble in Ubuntu

WLAN Driver In UBUNTU


In earlier version of Ubuntu(9.10+) I have found a problem with wireless driver. After installing Ubuntu Network Manager unable to detect wireless card. Also,unable to detect through Hardware detection in Administrator. But I have found some idea to get through it. Try bw procedure One by One. I am not sure which one is helpful for you, but it is sure that one of these is helpful for you.

STEP - I   Install ndiswrapper and ndisgtk.


Installing By Terminal- run following codes in terminal
sudo apt-get install ndiswrapper
sudo apt-get install ndisgtk
You can also get this files from your UBUNTU DISK/IMAGE in folder  ===>
 Pool/Main/n/ndiswrapper  and
Pool/Main/n/ndisgtk
You get some .deb files in abive directories, just install them by double clicking.

STEP - II   Installing Driver for your wireless Device.

    Now you'll need .inf  file for your hardware. I'm telling you how to get it read carefully. 
If you have installed it on your windows OS,then go to C drive and search directory where your driver is installed. If you have got it goto driver==>win_xp(something like this) and you'll get xxx.inf .

Now go to System =>Administration =>windows wireless driver. you'll get a new windows as below


click on - Install New Driver

Click on - (None) and locate your >inf file
 
 Click on - Install


STEP - III   Copy following codes and paste in your terminal--

Inspiron 1525 Dell 1395 Wireless trouble

FOLLOW INSTRUCTION STEP BY STEP AS GIVEN BELOW
1.copy and run following code in terminal
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r`
sudo ln -s /usr/src/linux-`uname -r` /lib/modules/`uname -r`/build
mkdir -p ~/bcm43xx/ndiswrapper; cd ~/bcm43xx/ndiswrapper
sudo wget http://downloads.sourceforge.net/ndiswrapper/ndiswrapper-1.53.tar.gz -Ondiswrapper.tar.gz
tar xvzf ndiswrapper.tar.gz
cd ndiswrapper*
make distclean
make
sudo make install

[THE ABOVE METHOD DOWNLOAD LATEST VERSION OF NDISWRAPPER IN TAR.TZ FORMAT----->EXTRACT IT TO YOUR HOME DIRECTORY---->MAKE IT A INSTALLATION FILE]

2. Now download correct driver for your wlan mini card Run following codes---->

cd ~/bcm43xx
wget ftp://ftp.compaq.com/pub/softpaq/sp34001-34500/sp34152.exe
unzip R174291-pruned.zip


[above step will download and unzip the drivers into the bcm43xx folder in your Home folder]

3.To reinstall the drivers using ndiswrapper you should be able to copy and paste this:
Code:

sudo ndiswrapper -i bcmwl5.inf
ndiswrapper -l
sudo depmod -a
sudo modprobe ndiswrapper
sudo cp /etc/network/interfaces /etc/network/interfaces.orig
echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
sudo ndiswrapper -m
echo 'ndiswrapper' | sudo tee -a /etc/modules
echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant

4.Once that completes the new drivers should be installed. You may see your Wireless access points listed now. If so, you're good to go. Based on experience with that card, you're gonig to have to use the Hardy Bug Fix though. To test this run:
Code:

sudo lshw -C network

Under the section for your wireless card you should see a line towards the bottom that contains Module= If that says Module=ssb then you need the bug fix:
Code:

sudo rmmod b43
sudo rmmod b44
sudo rmmod b43legacy #this step added Apr 27 2008
sudo rmmod ssb
sudo rmmod ndiswrapper
sudo modprobe ndiswrapper
sudo modprobe ssb
sudo modprobe b44