LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-06-2006, 01:19 PM   #1
reh_42
LQ Newbie
 
Registered: Sep 2005
Posts: 29

Rep: Reputation: Disabled
Wireless Card and Ubuntu


I am using an HP Pavilion ze4300, Ubuntu 5.10, and a D-Link Airplus 2.4 GHz Wireless Cardbus Adapter (DWL-650+).

I am trying to access the wireless network at my parent's house and am having some troubles.

To begin with, I insert the wireless card into my PC slot and the green lcd light does not turn on. I assume that if I am able to get my computer to recognize the card then I will be able to connect with ease, but I am not sure.

Does anyone have any idea what I can do to make the computer recognize the card? Thank you very much.

Ruth
 
Old 05-06-2006, 02:09 PM   #2
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/XP/Win7
Posts: 677

Rep: Reputation: 30
Are you using ndiswrapper?
have you downloaded a driver for that card?
 
Old 05-06-2006, 02:41 PM   #3
svarmido
Member
 
Registered: Apr 2006
Posts: 78

Rep: Reputation: 15
Ruth.

Are you a new Linux user? I suggest you login as root and open the program that enables you to control which services start when the computer is booted. Make sure "pcmcia" is selected. Make sure "network" is selected. Highlight "pcmcia" with your cursor and press on "start". Wait until you get a message indicating "pcmcia" has successfully started. The card LED light may come on. Do the same with "network". If you made any changes, "save" them and exit the "services" program.

Open a "root console" from "System" in the "main menu". At the root prompt which should look something like this [root@localhost@localdomain ~]#, type "dmesg|less". Scroll down using the down page button on your keyboard, or with the cursor on the scroll bar looking for any comment referencing "pcmcia" and your network card. Also, look for any comment regarding drivers being "loaded" or "installed" and their name. If you are in luck, you will see this kind of comment and you may be able to get on the internet with only a few more steps.

At the root prompt, type "lsmod|less" The module or driver name you saw in the "dmesg|less" output should appear as being "loaded" in the "lsmod|less" output.

If not. At the root prompt type "modprobe (and name of your card's driver)" There should be no error message. Type "lsmod|less" again. Do you see the module or driver in the output?

Yes? At the root prompt type "ifcfg wlan0" You should get output related to your card. If the output says "no such file" you probably do not have "wireless tools" installed... If not, come back and we will do some more stuff...

If you do get output related to your card, next at the root prompt type "ifup wlan0" You should not get an error message. At the root prompt type "iwconfig wlan0". There should be output similar to this:

[root@localhost@localdomain ~]# iwconfig wlan0
wlan0 IEEE 802.11b/g ESSID:"Mod Coffeehouse" Nickname:"localhost@localdomain"
Mode:Managed Frequency=2.462 GHz Access Point: 00:11:50:12:AA:9F
Bit Rate=11 Mb/s Tx-Power=15 dBm
RTS thrff Fragment thrff
Encryption keyff

Start your browser. You should be able to get on the net.

If not, come back - we'll work on it some more.

Good luck.
 
Old 05-07-2006, 04:05 PM   #4
reh_42
LQ Newbie
 
Registered: Sep 2005
Posts: 29

Original Poster
Rep: Reputation: Disabled
Code:
dmesg|less
wlan0: no IPv6 routers present
FIXME: most likely needs refinement, first implementation version...

lsmod|less 
pcmcia	24584(size)	2(used by)

When I ran the command "ifcfg wlan0" I received the message back "ifcfg: command not found"

I continued on and ran the commands "iwconfig wlan0" and did receive some information back:

Code:
wlan0 	IEEE 802.11b+	ESSID:"NETGEAR"	Nickname:"acx100 v0.2.0pre8"
	Mode:Auto	Frequency:2.412 Ghz	Access Point: 00:00:00:00:00
	Bit Rate=22Mb/s	Tx-Power=18 dBm	Sensitivity=187/255
	Retry min limit:7	RTS thr:off
	Encryption Key:off
	Power management:off
	Link quality:0	Signal level:0	Noise level:0
	Rx invalid nwid:0	Rxvalid crypt:0	Rx invalid frag:0
	Tx excessive retries:0	Invalid misc:0	Missed beacon:0
I'm not sure what else to do. I completely reinstalled my OS because I figured it couldn't hurt and I had some time to waste. Now I see that the computer recognizes my wireless card because the little lcd lights on it have gone on.

As for the newbie question: I've been lightly digging into linux for the past year and half. I'm shaky, obviously.

Thanks for all your help - my little brother is getting tired of my using his laptop to access the wireless internet.

Ruth
 
Old 05-15-2006, 12:48 PM   #5
svarmido
Member
 
Registered: Apr 2006
Posts: 78

Rep: Reputation: 15
On the right track...

If you have a GUI for controlling your network devices, and you probably do, open the program. You want to "edit" the device "wlan0" to make sure the "hardware address" has been properly probed. Also, if you need to use a WEP key make sure you have entered that.

You should be able to use the "ifcfg" command if you are able to use the "iwconfig" command. Try "/sbin/ifcfg wlan0" and make sure of your typing.

Also, try "iwlist" and you should see output indicating which devices are present. I don't know the capabilities of your card, but you may also try "iwlist scanning" to see if your card is able to obtain information for your wireless interface(s).

Finally, make sure you indicate the device should automatically obtain IP address settings with dhcp and DNS information from provider.

svarmido
 
  


Reply

Tags
dlink, hardware, hp, internet, pavilion, ubuntu, wireless


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
Installing Brodcom Wireless Card On Ubuntu? TheGimp Linux - Wireless Networking 2 12-21-2005 01:06 PM
Ubuntu 5.04 Not Detecting Wireless Card TechSonic Linux - Wireless Networking 1 09-22-2005 01:03 AM
Ubuntu: linksys wireless pci card. xVern Linux - Hardware 1 09-07-2005 10:12 AM
Ubuntu Installation: Wireless card tsurc Ubuntu 4 09-04-2005 03:00 PM
Wireless card not seen on Ubuntu distro rmorgan1016 Linux - Wireless Networking 9 07-31-2005 02:36 PM


All times are GMT -5. The time now is 07:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration