Fedora Linux Support Community & Resources Center
Old 29th June 2007, 12:25 AM
Eddd Offline
Registered User
Join Date: Oct 2005
Location: London
Posts: 85
wpa_supplicant connects but can't get IP?

I had an old WEP router which I was using fine with iwconfig until recently where I replaced it with a WPA2-PSK version. I switched to wpa_supplicant and it seems to connect OK but I simply can't retrieve an IP address from the router. Manually assigning a valid IP doesn't put me on the network either so I guess it's something I'm doing wrong with the connection.

My wpa_supplicant.conf looks like this:


It associates fine if I run:
wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant/wpa_supplicant.conf
Trying to associate with 00:FF:FF:FF:FF (SSID='edddwire' freq=0 MHz)
Associated with 00:FF:FF:FF:FF
WPA: Key negotiation completed with 00:FF:FF:FF:FF [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:FF:FF:FF:FF completed (auth)

wpa_cli reports:
> status

But this error appears every now and then:

ioctl[SIOCGIFADDR]: Cannot assign requested address

The wireless card is a ipw2200. Anyone have any ideas? Thanks in advance..
Reply With Quote
Old 29th June 2007, 12:40 AM
Iron_Mike Offline
Registered User
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,780
Since you have a ipw2200, is the firmware installed in the /lib/firmware directory ?? Are you using static ip or dhcp ?? If using DHCP and runnning from the cli, once the supplicant connects your have to open a terminal window su - (su dash) and type:

dhclient eth0 or eth1, whatever your wireless device is named...

But let's make it easy, verify the firmware is installed, then turn on the NetworkManager services, and turn off the wpa_supplicant service if it's running and save the changes, reboot the computer, left click on the new icon in the top panel and select your AP, it should ask for the "default keyring" password, then ask for your wpa2 key....

Last edited by Iron_Mike; 29th June 2007 at 12:44 AM.
Reply With Quote

connects, wpasupplicant

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 connects sometimes but not always joruss Using Fedora 0 12th October 2009 01:47 AM
NetworkManager insists "wireless is disabled", but wpa_supplicant cli connects fashionhat Servers & Networking 8 14th November 2008 09:19 PM
No IRC ever connects zero-x Servers & Networking 15 1st September 2008 09:53 PM
GAIM connects but that's about it? cwynn Using Fedora 2 19th December 2005 03:14 PM
VPN connects then terminates with fc3 vifa84 Servers & Networking 0 5th July 2005 01:52 AM

Current GMT-time: 11:06 (Wednesday, 20-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat