LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 01-23-2005, 11:27 AM   #1
ELconkestador
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 2, SuSE 10
Posts: 25

Rep: Reputation: 15
problems obtaining an wireless IP address


I have a dell laptop with fedora core 2
my wireless card is installed and works fine and finds my Acces Point, however when I try to run dhclient to obtain an IP address I get this:

/sbin/dhclient-script: configuration for wlan0 not found.
dhclient.c(2046): null pointer
DHCPDECLINE on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.0.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1

over and over agian until i terminate it.
I havfe no idea why this won't work. I looked in dhclient-script, but its just a bunch of code and i have no idea how i could make it work for wlan0. Please help!

ifconfig reports this:
wlan0 Link encap:Ethernet HWaddr 00:90:96:CD:27:B7
inet6 addr: fe80::290:96ff:fecd:27b7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8753 (8.5 Kb) TX bytes:6876 (6.7 Kb)
Interrupt:193 Memory:faffc000-faffdfff

iwconfig reports this:
wlan0 IEEE 802.11g ESSID:"NETGEAR"
Mode:Managed Frequency:2.462GHz Access Point: 00:09:5BD:F3:3E
Bit Rate:48Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-43 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:177 Missed beacon:0

ndiswrapper is up and working and all the correct drivers are installed. All help is greatly appreciated.
 
Old 01-23-2005, 12:11 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

Do you have a dhcp server on your network?
 
Old 01-23-2005, 12:56 PM   #3
ELconkestador
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 2, SuSE 10
Posts: 25

Original Poster
Rep: Reputation: 15
With all the other computers on the network an IP address is just given to them by the router I belive. dhclient also works when I have my wired NIC plugged into the router, so I don't think thats the problem. All the other computers on the network are also windows boxes, I'm not sure if windows has something that linux doesn't to do this. I am kind of new to the linux community and don't know too much about it, so try to bear with me. I think the problem lays here (this is the output of dhclient) :

/sbin/dhclient-script: configuration for wlan0 not found.
dhclient.c(2046): null pointer
DHCPDECLINE on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 192.168.0.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1

it reapeats this over and over till I terminate it. dhclient works when I have my wired NIC plugged in, just not the wireless. I think the first line is the one makeing problems.
thanks,
Aaron

Last edited by ELconkestador; 01-23-2005 at 01:06 PM.
 
  


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
Obtaining an IP Address Via Instant Messaging Services Permaximus Linux - Security 2 07-14-2005 09:30 AM
Help obtaining ip address colombo187 Linux - Wireless Networking 4 12-28-2004 05:29 PM
obtaining a specific ip address from DHCP true_atlantis Slackware 5 09-28-2004 12:12 AM
Obtaining and IP address dynamicly getatmefosho Linux - Networking 3 12-10-2002 07:48 AM
a question about obtaining address of variable ....... purpleburple Programming 3 07-06-2002 05:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:28 PM.

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
Open Source Consulting | Domain Registration