Ashley M. Kirchner wrote:
Please don't top post.
On Jan 13, 2014 5:19 AM, "mark" m.roth@5-cent.us wrote:
On 01/11/14 14:37, Ashley M. Kirchner wrote:
Thanks Scott. Following that page, when I run
wpa_supplicant -Dwext -iwlan0 -cwpa.conf
I get this output:
Trying to associate with e0:46:9a:35:fb:98 (SSID='Nymphadora'
freq=2412 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy Association request to the driver failed Associated with e0:46:9a:35:fb:98 WPA: Key negotiation completed with e0:46:9a:35:fb:98 [PTK=CCMPGTK=CCMP] CTRL-EVENT-CONNECTED - Connection to e0:46:9a:35:fb:98 completed (auth) [id=0 id_str=]
... and it just sits there. Doesn't return to the prompt or anything. In another terminal, I ran dhclient wlan0 which returned to a prompt, however now ifconfig shows the interface having an IP given out by the wireless router. Great, we have progress. However, I'm still stuck
at the
previous terminal with the above mentioned output, and I also need
this to
happen automatically when the system reboots.
In a previous post, you'd mentioned chkconfig'ing NM off, and wpa-supplicant on. At this point, have you done service wpa-supplicant
start?
I did it by hand first and then completely restarted the server. In both cases the service started, but it did not bring the interface up as far as it connecting to my wireless and getting an IP from the router.
Do I have to create an ifcfg-wlan0 file for the interface? If so, what goes in it? How do I tell it what network cell and password? Or does that information only reside in wpa_supplicant.conf (where it is now.)
You might check out this thread: https://www.centos.org/forums/viewtopic.php?t=8626 Scroll to the bottom, where they solve it - they've got the ifcfg-wlan0. Also - I haven't done this in years - you might rpm -ql wpa-supplicant; I'd be surprised if they didn't have, maybe /usr/share/wpa-supplicant? anyway, a sample ifcfg-wlan0.
mark
mark