ap_scan=2 problem?

YenJung Chang yenjung
Wed Mar 2 18:41:14 PST 2005


Hi, List and Jouni,

I tested wpa_supplicant with ap_scan=1 and ap_scan=2, and it seems
there is some problem on ap_scan=2.

The testing steps on ap_scan=1 and ap_scan=2 are same:
1.  $ wpa_supplicant.conf -i ath0 -c/etc/wpa_supplicant.conf -d > supp1.log
2.  $ wpa_cli status  (make sure the connection is created)
3.  $ wpa_cli reassociate ( force wpa_supplicant to reassociate)
4.  $ wpa_cli status  (check is it connected?)

The connection with ap_scan=1 is re-created successfully, but failed
with ap_scan=2.

Following is my wpa_supplicant.conf
==============================================
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1                                                                 
ap_scan=2
fast_reauth=1                                                                   
network={                                             
ssid="*spencer*"
key_mgmt=NONE
} 
==============================================

and attached supp1.log is the log when tested ap_scan=1 and supp2.log
is ap_scan=2.
Is it meaning there is some problem on ap_scan=2?

ps.
There is another stranger behavior on ap_scan=2. The connection to AP
is hard to create
if the wpa_supplicant commad is "wpa_supplicant -i ath0 -c
/etc/wpa_supplicant.conf -d",
but the connection is created successfuly if the command is 
"wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf -d > /tmp/supp2.log".
The only difference is that the output log is redirected to a file.
I have no idea what cause that. And I can not post the failed log, bcz
it would not fail when I redirect the log to a file. :S.

Regards,
Spencer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: supp1.log
Type: application/octet-stream
Size: 7379 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20050303/4966219a/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: supp2.log
Type: application/octet-stream
Size: 9627 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20050303/4966219a/attachment-0001.obj 



More information about the Hostap mailing list