LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   problems obtaining an wireless IP address (https://www.linuxquestions.org/questions/linux-wireless-networking-41/problems-obtaining-an-wireless-ip-address-281245/)

ELconkestador 01-23-2005 11:27 AM

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:5B:DD:F3:3E
Bit Rate:48Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
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.

david_ross 01-23-2005 12:11 PM

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?

ELconkestador 01-23-2005 12:56 PM

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


All times are GMT -5. The time now is 05:38 PM.