When I set AP like WEP/OPEN or WEP/SHARED , How Can I get AuthMode from IE Codes or anyway else?
Anson_Luo at cn.alphanetworks.com
Anson_Luo
Tue Dec 1 00:56:08 PST 2009
Dear Dan:
I got it, Thanks very much! I am a novice in wireless networks. I
learn it since last week.Thanks for your help.
Dan Williams <dcbw at redhat.com>
2009-12-01 15:59
To: Anson_Luo at cn.alphanetworks.com
cc: hostap at lists.shmoo.com
Subject: Re: When I set AP like WEP/OPEN or WEP/SHARED ,
How Can I get AuthMode from IE Codes or anyway else?
On Tue, 2009-12-01 at 09:23 +0800, Anson_Luo at cn.alphanetworks.com wrote:
>
> ALL here:
> I have a question that let me puzzle:
> When I set AP like WEP/OPEN or WEP/SHARED ,How Can I get AuthMode from
> IE Codes or anyway else?
You cannot. Open/Shared is simply not present in the AP's beacon. It
is a deficiency of WEP, which WPA fixed by only allowing open
authentication for WPA connections. There is simply no way to tell
whether an AP is using shared auth or open system auth because a WEP AP
never broadcasts that information.
Either the user has to specify the WEP authentication mode explicitly,
or the supplicant/driver must first try Shared Key first, and then Open
System when/if the AP reports that SK is not available (using 802.11
status code 13, "Requested authentication algorithm not supported").
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20091201/939c7259/attachment.htm
More information about the Hostap
mailing list