WEP in OPEN SYSTEM is used to protect data not authentication.
One way to detect the correctness of WEP key is to send out several ethernet broadcast with special pattern.
Then, you can check if you receive them or not. If the key is wrong, you will get nothing. If right, AP will broadcast them
and you get them.
You need to do this in driver level or the kernel give you a warning 'duplicate address' and drop them.
Giaramita Domenico wrote:
R: [zd1211-devs] Question for WEP Key when it is wrong inserted
OK, Daniel,
so you mean that for the protocol 802.11 even if the set of wep-key on my usb wi-fi key is wrong the answer of iwconfig tells me the MAC of AP where I try to associate?
thanks, Domenico
-----Messaggio originale-----
Da: Daniel Drake [ mailto:dsd@gentoo.org ]
Inviato: mer 05/03/2008 12.58
A: Giaramita Domenico
Cc: zd1211-devs@lists.sourceforge.net
Oggetto: Re: [zd1211-devs] Question for WEP Key when it is wrong inserted
Giaramita Domenico wrote:
> My issues is the following: when I set the use of WEP key on the AP and
> I make mistakes on putting the wep key, the response of iwconfig command
> still says to me the MAC adress of the AP; obviously the communication
> is not possible because the wep-key was wrong.
Unless you are using shared key authentication (and I'd strongly advise
you not to use this), authentication and association can successfully
complete with the wrong WEP key. This is just how 802.11 works.
Daniel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Zd1211-devs mailing list -
http://zd1211.wiki.sourceforge.net/Unsubscribe:
https://lists.sourceforge.net/lists/listinfo/zd1211-devs