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.

Friday, May 15, 2009

Restore ubuntu 9.10 Grub Bootloader after installing windows7

Yesterday, i tried to install windows7 over windows xp everything seemed to be perfect during the installation process .I had dual boot system with windows xp and ubuntu 9.10.This dual boot is guided by grub bootloader.After my windows 7 installation my grub boot loader was overwritten by the windows 7 boot loader.


I was presuming that i had lost ubuntu in the process.I had googled for on how to restore grub boot loader .Read some post on how to restore ubuntu grub boot loader. Finally restored the ubuntu grub boot loader.Here are some of the steps followed to restore grub boot loader.



  • Restart you machine with ubuntu 9.10 live CD.

  • After successfull logon to ubuntu live version open terminal window

  • Type sudo grub on terminal console

  • You will prompted grub prompt .

  • Under grub prompt type find /boot/grub/stage1

  • you will see  hd0,1 or similar kind depending on where linux has been installed.Note this value as this will be used in the following command

  • type root (hd0) .Note there is space between root and (hd0)

  • type setup (hd0) ,this will mark MBR to point to linux partition.

  • type quit

  • Remove the live cd and restart the machine.

  • Now you should see your famous grub loader loaded .




Powered by Qumana


Blogging - Add-ons Gallery

Blogging - Add-ons Gallery