LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-14-2006, 04:07 PM   #1
cuschu
Member
 
Registered: Jun 2005
Location: Lander, Wyoming
Distribution: Ubuntu 9.05 LTSP Server, Kubuntu 9.04 Desktop
Posts: 46

Rep: Reputation: 15
WIFI driver on HP Laptop


Hello,
I just bought a new HP dv5000 laptop and the first thing I did was erase XP and put Kubuntu Linux on it.
the one major problem that I am having that I can not get the WIFI to work. The card is a bcm4318, commonly known on Google as "Air Force One". I have tried ndiswrapper with the bcmwl5.inf and bcmwl5a.inf, but neither have worked. I also tried fwcutter. The wireless LED does light up when Kubuntu loads and knetwork manager detects my AP. However, when I try to connect it hangs at 28% (configuring device).

Cuschu
 
Old 08-14-2006, 05:54 PM   #2
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
what problems where you having with ndiswrapper? It seems to be your only choice at the moment.
 
Old 08-14-2006, 07:22 PM   #3
cuschu
Member
 
Registered: Jun 2005
Location: Lander, Wyoming
Distribution: Ubuntu 9.05 LTSP Server, Kubuntu 9.04 Desktop
Posts: 46

Original Poster
Rep: Reputation: 15
That is what is confusing me. I ran ndiswrapper without any problems and now when I type "ndiswrapper -l" it lists the driver and says:
cuschu@cuschu-laptop:~$ sudo ndiswrapper -l
Password:
Installed ndis drivers:
bcmwl5 driver present, hardware present
cuschu@cuschu-laptop:~$

But when I try to connect to various APs I have tried 3. Knetwork manager stalls at 28%


Also I tried this:
cuschu@cuschu-laptop:~$ ndiswrapper -m
modprobe config already contains alias directive

cuschu@cuschu-laptop:~$

With ndiswrapper I used the -i, -l, -m; is there another command that I am forgetting?
 
Old 08-16-2006, 06:19 PM   #4
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
It seems like you have ndiswrapper configured and running properly. I'll show you how to do it all manually because, GUI's although well intended are quit buggy still.
first type
Quote:
iwconfig -a
you should have an interface that says wlan0, if not then its an ndiswrapper issue.

then type
Quote:
iwlist wlan0 scan
that scans for AP's

If you are connecting to an AP that uses WEP encryption you can do the following.
Code:
iwconfig wlan0 essid Ur-ssid
iwconfig wlan0 key[#] urwepkey
# = the key number used.
"man iwconfig" gives much better examples.

If you are connecting to an AP that uses WPA encryption you will need "wpa supplicant" I don't remember their website so you'll have to google for it. Their website contains howto's on how to get everything up and running.
 
Old 08-16-2006, 08:36 PM   #5
cuschu
Member
 
Registered: Jun 2005
Location: Lander, Wyoming
Distribution: Ubuntu 9.05 LTSP Server, Kubuntu 9.04 Desktop
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks for the help

now that you mention the wlan0 interface, I am sure that I have not configured ndiswrapper properly. When I issue the command iwconfig I get this:

Code:
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11b/g  ESSID:"Schulz_AP"  Nickname:"Broadcom 4318"
          Mode:Managed  Frequency=2.484 GHz  Access Point: Invalid
          Bit Rate=11 Mb/s   Tx-Power=18 dBm
          RTS thr:off   Fragment thr:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.
When I type iwconfig -a I get this:
Code:
-a        No such device
When i use iwlist scan I get this

Code:
cuschu@cuschu-laptop:~$ iwlist wlan0 scan
wlan0     Interface doesn't support scanning.
Code:
cuschu@cuschu-laptop$ iwlist eth1 scan
eth1      No scan results

Last edited by cuschu; 08-17-2006 at 02:28 AM.
 
Old 08-16-2006, 08:50 PM   #6
cuschu
Member
 
Registered: Jun 2005
Location: Lander, Wyoming
Distribution: Ubuntu 9.05 LTSP Server, Kubuntu 9.04 Desktop
Posts: 46

Original Poster
Rep: Reputation: 15
Now that I think about it, i should probably say what I have done so far with ndiswrapper.

I started off by installing it with apt-get

Then I used ndiswrapper -i bcmwl5.inf

Then ndiswrapper -m

I have also uninstalled the bcmwl5.inf and installed the bcmwl5a.inf

However, since I had no luck with the bcmwl5a.inf I uninstalled it and reinstalled the bcmwl5.inf

I have also used ndiswrapper -l a few times, but I don't think that listing the driver has any effect on its operation, but I may be wrong.

Code:
cuschu@cuschu-laptop:~$ ndiswrapper -l
Installed ndis drivers:
bcmwl5          driver present, hardware present
cuschu@cuschu-laptop:~$
Hopefully that will help you out a little bit ...
 
Old 08-17-2006, 06:01 PM   #7
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
open up /etc/modules.conf with a text editor. Change "alais eth1 ndiswrapper" to alais wlan0 ndiswrapper. That will change the interface name.

what version of ndiswrapper are you using? It looks like a driver problem if you can't scan.
 
Old 08-18-2006, 02:30 PM   #8
cuschu
Member
 
Registered: Jun 2005
Location: Lander, Wyoming
Distribution: Ubuntu 9.05 LTSP Server, Kubuntu 9.04 Desktop
Posts: 46

Original Poster
Rep: Reputation: 15
I Googled how to change the interface name, so I got that working, but I could not get the WIFI to go. Since School is beginning soon and I wanted to get this laptop up and running I was forced to switch back to Windows (temporarily). Maybe next winter break I will backup and try again, Hopefully, by then some developments may have been made with respect to using this card in Linux. I was running what I think is the latest version of ndiswrapper, I got it like this:

Code:
sudo apt-get install ndiswrapper-utils
If you think that a specific ndiswrapper version would work better please post a link to it.
 
Old 08-18-2006, 02:41 PM   #9
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
When you ran iwconfig and the card came back as eth1 it sounds like you are using the bcm43xx driver, which if you are using the latest kubuntu it is built into the kernel. Ndiswrapper uses wlan0 not eth1.

Try "iwconfig eth1 essid Schulz_AP" and see if get an access point when you enter "iwconfig eth1"
 
Old 08-18-2006, 09:00 PM   #10
cuschu
Member
 
Registered: Jun 2005
Location: Lander, Wyoming
Distribution: Ubuntu 9.05 LTSP Server, Kubuntu 9.04 Desktop
Posts: 46

Original Poster
Rep: Reputation: 15
When I did iwconfig eth1 essid Schulz_AP it did register the essid under iwconfig. However, it said that the access point, which I am assuming was supposed to be a MAC address, was invalid and the card still would not connect to the internet.

Also, when I rechecked the instructions I found that I had the blacklist wrong. So it must have been using the bcm43xx driver. However, when I did the correct blacklist the eth1 disappeared and the LED on the WIFI card did not light up any more.
 
Old 08-19-2006, 10:29 PM   #11
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
I would recommend using bcm43xx, there is a very good howto in the ubuntu forums. Just search ubuntu for bcm43xx and it will tell you how to set it up.

Or try "modprobe ndiswrapper" then "iwconfig" if wlan0 is there the rest of the setup will be easy.
 
Old 09-05-2006, 09:12 AM   #12
colonboy
Member
 
Registered: Dec 2005
Location: Prior Lake, MN
Distribution: Fedora, Suse, Mandriva, Ubuntu
Posts: 35

Rep: Reputation: 15
Just a thought, but the Broadcomm wireless on my Gateway is a bcm4318 on a 64 bit processor with a 64 bit OS (FC5). Though ndiswrapper will successfully install the 32 bit driver, it would not bring up the wireless when I tried.

Are you running a 64 bit system?
 
Old 09-05-2006, 09:34 AM   #13
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
Yes, I am running the amd64 port of debian-unstable. and yes must use the 64 bit windows drivers with both ndiswrapper and bcm43xx drivers with a 64 system.

The 64 bit drivers can be found http://www.linuxant.com/driverloader/drivers.php
 
Old 09-07-2006, 12:22 AM   #14
k9bud
LQ Newbie
 
Registered: Aug 2006
Location: Mooresville, IN
Distribution: Mandriva 2007 Official
Posts: 6

Rep: Reputation: 0
cuschu@cuschu-laptop:~$

With ndiswrapper I used the -i, -l, -m; is there another command that I am forgetting?[/QUOTE]

I am using ndiswrapper with bcmwl5a.inf and bcmwl5.sys on Compaq V5201 in Mandria 2006.0. I was not able to get it to see wlan0 until i ran ndiswrapper -i bcmwl5a.inf in the directory that contained the bcm files. When it loads correctly, you will get 2 or more lines stating about changing the IBSS number. I couldn't get it to do anything until I made this discovery. Finally, you will get to the point when you get your iwconfig wlan0 commands done, including essid, etc. the light should come on that indicates the wireless is actually enabled. Before that you can get output from iwconfig wlan0 but it won't be connected until the light is on and everything else is set up.
 
Old 10-06-2006, 06:54 PM   #15
dfreer
Member
 
Registered: Oct 2005
Distribution: Ubuntu 5.1 "Breezy"
Posts: 33

Rep: Reputation: 15
hmmm...

don't know if it helps, but i'm running ubuntu on the hp dv5000t with wireless working. The GUI wireless freezes/hangsup, so I just use the command line to connect to a wireless network.

~$ sudo ifconfig eth1
~$ sudo iwconfig eth1 essid "yourwirelessessidhere"
~$ sudo dhclient eth1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Whats the Best WIFI card for a laptop badgerbox76 Linux - Newbie 13 11-26-2008 11:41 AM
Wifi Problem With A Hp Laptop victorocho Linux - Wireless Networking 24 08-08-2006 09:23 PM
Laptop WiFi FishBoy Linux - Wireless Networking 10 09-11-2005 07:19 PM
WiFi card in laptop Fold Zandura Linux - Wireless Networking 8 02-06-2003 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration