"Failed to read configurations file" ?

Jerry LeVan jerry.levan
Sat Dec 3 14:52:23 PST 2005


Earlier I wrote:

> Hi,
> I have a linux laptop, HP DV4000 with an ipw2200 wireless interface.
> I have been running with WEP but wanted something more secure.
>
> I am running the latest ipw2200 drivers  and firmware and kernel
> 2.6.14 with Fedora Core 4.
>
> My wireless ap is a linksys wrt54g.
>
> my .config file is
> CONFIG_DRIVER_TEST=y
> CONFIG_NO_STDOUT_DEBUG=y
> CONFIG_DRIVER_IPW=y
> CONFIG_DRIVER_WEXT=y
>
> my wpa_supplicant.conf file is:
>
> # WPA-PSK/TKIP
>
> ctrl_interface=/var/run/wpa_supplicant
>
> network={
>        ssid="foolsnet"
>        key_mgmt=WPA-PSK
>        proto=WPA
>        pairwise=TKIP
>        group=TKIP
>        psk="letitpleasework"
> }
>
> Attempting to start the supplicant fails with a read failure that I
> cannot diagnose. the file is there and readable (certainly by root...)
> so there must be some parse error that I cannot find. Does anyone
> see the problem?
>
> # wpa_supplicant -cwpa_supplicant.conf -Dipw -ieth1 -dd
> Failed to read configuration file 
> '/home/jerry/Desktop/MyWPA/wpa_supplicant.conf'.

I modded the .config file to takeout the CONFIG_NO_STDOUT_DEBUG line and 
also
added CONFIG_DRIVER_HOSTAP=y and recompiled.

This time the debugging complained about the line
  
'ctrl_interface=/var/run/wpa_supplicant' as an invalid configuration line

So I took it out and  tried the command
#wpa_supplicant -Dwext -ieth1 -cwpa_supplicant.conf -dd 

Note I changed to wext instead of ipw ( ipw was throwing io_control errors)

this seemed to be doing ok and the debug output finished with:
State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
WPA: RX message 1 of Group Key Handshake from 00:13:10:e9:38:02 (ver=1)
WPA: Group Key - hexdump(len=32): [REMOVED]
WPA: Installing GTK to the driver (keyidx=1 tx=0).
WPA: RSC - hexdump(len=6): 20 00 00 00 00 00
wpa_driver_wext_set_key: alg=2 key_idx=1 set_tx=0 seq_len=6 key_len=32
WPA: Sending EAPOL-Key 2/2
WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 03 11 00 20 00 00 00 
00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2b 2d 2f 
6d 50 1f e0 69 66 9a 0a ff 26 cd 77 13 00 00
WPA: Key negotiation completed with 00:13:10:e9:38:02 [PTK=TKIP GTK=TKIP]
Cancelling authentication timeout
State: GROUP_HANDSHAKE -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:13:10:e9:38:02 completed (auth)

However I could not even successfully ping the router ;(

Any suggestions,,,

Jerry






More information about the Hostap mailing list