linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Distinguishing wrong password from other failure to connect?
@ 2010-11-12  7:25 Josh Lehan
  2010-11-12 16:51 ` Johannes Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Josh Lehan @ 2010-11-12  7:25 UTC (permalink / raw)
  To: linux-wireless

Hi.  Curious if there is a way to distinguish between the various
failure modes when failing to make an association to an AP.

In particular, I'd love to distinguish between these two states:

* User entered incorrect password

* User entered correct password, but the AP rejected them for some other
reason (perhaps signal was too weak, or the AP is using MAC address
filtering, or they couldn't negotiate a common encryption/authentication
protocol, or whatever).

Does the Linux wireless stack support a way for applications to gather
this information?  Are the "reason=0x00" bytes, sometimes displayed by
wpa_supplicant in the logs, standardized across all AP's?

This seems to be a common problem, because on many distributions, I see
NetworkManager constantly popping up the password entry box whenever an
association fails, when the user already knows the password is correct
(and in fact has entered it into the box already, as it's pre-filled in
the box, albeit starred out).

Thanks!

Josh

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-14  2:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12  7:25 Distinguishing wrong password from other failure to connect? Josh Lehan
2010-11-12 16:51 ` Johannes Berg
2010-11-12 17:21 ` Paul Stewart
2010-11-14  2:36   ` Josh Lehan
2010-11-13 10:34 ` Jouni Malinen
2010-11-14  2:47   ` Josh Lehan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).