Configure the HP dv2000 for Ubuntu Linux - Wifi

Proud owner of a HP dv9000 and Back to the United States, I had to bought a laptop for my little sister. I decided to bought her a dv2000 wich is 2lBs less and has a smaller screen, and surely a better battery life with a 14″ screen and a NVidia 6000 series graphic card instead of a 7600.

The laptop is the Pavilion dv2315nr, you can follow it for the dv2310 too (Thanks Ronin)

(How to install HP pavilion dv2315nr Wireless driver for Windows XP here)

Sadly the computer was Shipped with Windows Vista, I choose to multi-boot it with Ubuntu 7.04, which I prefer, cause t least it’s smooth, and has multi-language

The installation went smoothly but there was several problems

First: Talking to the World, the wifi connection

After doing this command:

lspci

I was surprised to see that the wireless card appears as a “dell wireless 1390 wlan mini-card”, cause, remember. it’s a HP computer, whatever ….
I followed Redhead’s tutorial to install it.

STEP 1: CLEAN YOUR SYSTEM

You need to remove any and all versions of Ndiswrapper currently installed on your system:

sudo rmmod ndiswrapper
sudo apt-get remove ndiswrapper-utils

Run search (Places–>Search) for any instances of ndiswrapper in the file system and then run:

sudo su
nautilus

This allows you to file browse as ROOT. Meaning you have full access to the system and it won’t stop you from deleting anything that will kill your computer. USE WITH CAUTION. If you don’t know don’t do.

Delete any instances of ndiswrapper. Then run the two previous commands over again.

STEP 2: GET NEEDED PACKAGES

We’ll need to install compiling tools, the latest kernel headers, and then the source code for the latest ndiswrapper, and the wireless drivers from Dell.com.
(HP Provide only drivers for Windows Vista, not for XP, or you have to download their magic tool who will install everything, no thanks!!)

sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r`
wget http://ftp.us.dell.com/network/R140747.EXE

At this point, you need to go to the ndiswrapper sourceforge site and get the latest version of the Ndiswrapper program:

wget http://easynews.dl.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-1.41.tar.gz

Go where you downloaded it
Then:

tar -xzvf ndiswrapper-1.41.tar.gz

Finally, we need to blacklist the broken and useless bcm43xx firmware drivers that try to load in a default ubuntu install:

Become ROOT USER (in a command line terminal)
sudo su
Then:
sudo echo blacklist bcm43xx >> /etc/modprobe.d/blacklist

YOU MUST REBOOT NOW!

STEP 3: COMPILE PROGRAM

Now we’ll complile the Ndiswrapper program. In a terminal, go to the directory where you extracted ndiswrapper and execute the following:

Again make the terminal “see” your saved files so you can compile:

cd /home/YOUR LOGIN NAME/THE REST OF THE FILE PATH TO YOUR FOLDER
sudo make uninstall
sudo make
sudo make install

STEP 4: INSTALL DRIVERS

If that worked, then you now have Ndiswrapper installed. Now we need to install the drivers. In a terminal, go to the directory where you have the R140747.EXE file:

cd /home/YOUR LOGIN NAME/THE REST OF THE FILE PATH TO YOUR FOLDER
unzip -a R140747.EXE

Now change directories (cd) to the DRIVER folder that was just extracted.

sudo ndiswrapper -i bcmwl5.inf
sudo ndiswrapper -l

you should see a message that says driver present, hardware detected

sudo ndiswrapper -m
sudo modprobe ndiswrapper

YOU MUST REBOOT NOW!

STEP 5: TEST WIRELESS

Your wifi light on your laptop should be illuminated, and you’re all set! Try running this to see if your wireless card is functioning properly:

sudo iwlist scanning

For the dv2310 do this too

Next Post: Where is my cursor????


Share: Ces icônes sont des liens vers des sites de partage de signet sociaux où les lecteurs peuvent partager et découvrir de nouveaux liens.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists

5 Responses to “Configure the HP dv2000 for Ubuntu Linux - Wifi

  • 1
    Tangman
    June 23rd, 2007 02:52

    It worked!! I’ll have to admit there were some c prompt commands I had to pull from my memory to do everything through the terminal. I also think I unzipped/tar? in my root directory… oh well, the wireless works now on my hp dv2171cl.
    dir -> to list the dir contents and find what the dir is to go to
    cd .. -> to back up one dir
    very happy! thanks. I’m MS free… at least on one of the three computers!

  • 2
    Ludo
    June 23rd, 2007 08:38

    Glad it worked!!!! Enjoy the wireless freedom ;)

  • 3
    fevel
    July 12th, 2007 16:35

    Another happy reader!! thanks for the help.

    instalation went smooth and easy.

  • 4
    rondin
    July 21st, 2007 10:05

    In order to make my dv2310 work I had to add ndiswrapper in /etc/modules or else it would not load the wireless driver. I used SoftPaq 33008 from hp

  • 5
    Ludo
    July 21st, 2007 10:14

    Good to know, added a link to your info in the blog, and added the link to the drivers

Leave a Reply