LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-10-2005, 01:58 PM   #1
embalmedlenin
LQ Newbie
 
Registered: Feb 2003
Location: Apex, North Carolina
Distribution: Debian
Posts: 29

Rep: Reputation: 15
Wireless card not getting assigned an ip but looks configured


Ok i just installed wmp54g v4 on my computer installed ndiswrapper configured it and installed drivers for the card. Anyway its not allowing me to connect to the connect even though it reconised the wireless network since i scaned for them heres what i get when i type ifconfig
I didnt paste my other interface because it activated so i could write this post.
NOTE-= Its also not assigning an ip address which i think is the key to the problem.

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3322 errors:0 dropped:0 overruns:0 frame:0
TX packets:3322 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:302322 (295.2 KiB) TX bytes:302322 (295.2 KiB)

wlan0 Link encap:Ethernet HWaddr 00:12:17:8B:7D:B7
inet6 addr: fe80::212:17ff:fe8b:7db7/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Memory:d4000000-d4001fff


heres the output of iwconfig wlan0

wlan0 IEEE 802.11g ESSID:"Wireless for $5/m Billy 818-xxxx"
Mode:Auto Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
Bit Rate:54 Mb/s Tx-Power:20 dBm Sensitivity=-120 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:ABCD-EABC-DE Security mode:restricted
Power Managementff
Link Quality:100/100 Signal level:-42 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:205 Missed beacon:0
any other information just ask and ill post it.
I don't know what else to try
any help appreciated

Last edited by embalmedlenin; 08-10-2005 at 10:29 PM.
 
Old 08-11-2005, 07:25 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,769
Blog Entries: 1

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
How are you requesting an IP address? Configuring a card only gets you part way, you do need to either request an IP using a dhcp client or assign one using ifconfig.
 
Old 08-11-2005, 08:53 AM   #3
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Rep: Reputation: 15
Try this manual method, then work on automation.

# ifconfig wlan0 192.168.0.105 (Substitute a valid IP address for your system.)
# route add default gw 192.168.0.1 (Substitute your router/gateway IP address.)

Good luck, jimbo
 
Old 08-11-2005, 11:31 AM   #4
embalmedlenin
LQ Newbie
 
Registered: Feb 2003
Location: Apex, North Carolina
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: 15
what command do i run for dhcp client.
 
Old 08-11-2005, 05:12 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,769
Blog Entries: 1

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
That actually depends on your distro. I think Debian uses dhclient, so the command would be dhclient wlan0. Other potential commands are dhcpcd (pay real close attention to the spelling) and pump.
 
Old 08-12-2005, 09:14 AM   #6
embalmedlenin
LQ Newbie
 
Registered: Feb 2003
Location: Apex, North Carolina
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: 15
now when i run dhclient it tries to send out requests for ips but it only sends out to 255.255.255.255 over and over.
Also when i run iwconfig sometimes it shows the access point address that i designate but most of the time it just shows something like 00:00:00:00:00 i dont have the output with me exactly. even when i try to assign essid sometimes it doesnt change in the output of iwconfig. Does anyone have any suggestions.

Last edited by embalmedlenin; 08-12-2005 at 04:10 PM.
 
Old 08-13-2005, 07:23 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,769
Blog Entries: 1

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
OK, you need to get iwconfig to set the configuration before any DHCP request will work.
Quote:
when i run iwconfig sometimes it shows the access point address that i designate
This statement bothers me a lot mainly because you talk about an access point address. You don't use iwconfig to connect to a specific address, rather you use it to connect to a named access point. Rather than guessing, if you could post the commands you use to configure your card it might help.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to a wireless access point automatically on startup timelord726 Suse/Novell 2 09-30-2005 07:52 PM
Access point and wireless card need to be of the same vendor?? whodunit Linux - Wireless Networking 1 09-02-2005 07:05 AM
Help connecting to wireless access point djh00ligan Linux - Wireless Networking 1 08-18-2005 02:08 PM
Which is the best Wireless Access Point and Wireless Card? hamish Linux - Wireless Networking 13 05-04-2004 10:26 AM
not able to ping from my wireless card to my access point tonybhullar Linux - Wireless Networking 0 03-05-2003 02:56 PM


All times are GMT -5. The time now is 04:06 PM.

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