Saturday, May 16, 2009

HOW TO MAKE HP DV9310US WIRELESS CARD WORK WITH UBUNTU 8.04

when I installed ubuntu 8.04 i had issues in getting my wireless card working with wifi router .Basically the problem was ubuntu was not able to load my wireless card with its basic driver . Here are the steps which made sure i would load my wireless card work with ubuntu.

To install wireless driver
First install build essentials using sudo apt-get install build-essentials
Next install b43-fwcutter using sudo apt-get install b43-fwcutter.
Next download using the following command or manually download
wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
wget http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o

Then do the following steps.
cd
sudo b43-fwcutter -w /lib/firmware wl_apsta-3.130.20.0.o
tar xfvj broadcom-wl-4.150.10.5.tar.bz2
sudo b43-fwcutter --unsupported -w /lib/firmware broadcom-wl-4.150.10.5/driver/wl_apsta_mimo.o
sudo chmod o+rx /lib/firmware/b43 /lib/firmware/b43legacy
sudo ifconfig wlan0 up

sudo /etc/init.d/networking restart

In order to automate this process let us now create scripts for starting the wireless driver .

## These are scripts which go into init.d document for wireless connectivity, name this script as wirelessfix.sh

using vi wirelessfix.sh

copy the following content.

#!/bin/bash
modprobe b43
modprobe -r b43
modprobe -r b44
modprobe -r ssb
modprobe b44
modprobe -r b43
modprobe b43

Following commands will make sure the wireless shell script is started automatically by being a adding this as init activity
##List of commands to make the wirelessfix shell script part of init job
sudo chmod 755 wirelessfix.sh
update-rc.d wirelessfix.sh defaults

That's it your dv9310us is now wifi ready.

No comments: