wpa_supplicant cryptic procedure of access

Daniel Dieterle daniel
Thu Sep 21 12:34:55 PDT 2006


Hi everybody,

at ouer HighSchool we have a wifi for guests and a hidden wifi for the
students. I want to the hidden wifi.

if i set in my config:
 ap_scan=1
the outpout ist:
 Scan results: 4
 Selecting BSS from priority group 0
 0: 00:0f:90:55:50:70 ssid='<hidden>' wpa_ie_len=0 rsn_ie_len=0
caps=0x11
    skip - no WPA/RSN IE
 1: 00:0f:90:55:4f:70 ssid='<hidden>' wpa_ie_len=0 rsn_ie_len=0
caps=0x11
    skip - no WPA/RSN IE
 2: 00:12:80:e1:bb:a0 ssid='INVITES' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
    skip - no WPA/RSN IE
 3: 00:0f:90:6f:be:10 ssid='INVITES' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
    skip - no WPA/RSN IE
 No suitable AP found.

So, wpa_supplicant doesn't found a AP.



if i set in my config:
 ap_scan=2
and do:
 wpa_supplicant -ieth1 -Dwext -c/etc/wpa_supplicant.conf
the output is:
 Trying to associate with SSID 'ResEl'
 CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys

Hey great wpa_supplicant sees the the SSID. But can't connect. :-( I
have tried this very, very often but every time with the same result.
The outpout repeats if i wate some time.



So i reset it to:
 ap_scan=1
and do:
 wpa_supplicant -ieth1 -Dwext -c/etc/wpa_supplicant.conf
the output is:
 Trying to associate with 00:0f:90:55:50:70 (SSID='ResEl' freq=0 MHz)
 CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
 CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
 Associated with 00:0f:90:55:50:70
 CTRL-EVENT-EAP-STARTED EAP authentication started
 CTRL-EVENT-EAP-METHOD EAP method 21 (TTLS) selected
 CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
 WPA: Key negotiation completed with 00:0f:90:55:50:70 [PTK=TKIP
GTK=WEP-104]
 CTRL-EVENT-CONNECTED - Connection to 00:0f:90:55:50:70 completed (auth

So wpa_supplicant connects.
Very confusing, isn't it? I have to change my config every time twice.
Its awful!

Has anybody a hint for me? Would be very great.
Thanks.

Daniel.


My hw-config:
intel 2915
driver ipw2200-1.1.3 (but have to use -iwext as option. "-iipw" doesn't
work. i thinks thats not new)

My wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

ap_scan=1

network={
        ssid="ResEl"
        scan_ssid=1
        key_mgmt=WPA-EAP
        eap=TTLS
        anonymous_identity="anonymous"
        identity="**myidentity**"
        password="***mypassword**"
        ca_cert="/root/ca.pem"
        phase2="auth=PAP"
}





More information about the Hostap mailing list