From: Josh Lehan <krellan@krellan.com>
To: linux-wireless@vger.kernel.org
Subject: Distinguishing wrong password from other failure to connect?
Date: Thu, 11 Nov 2010 23:25:29 -0800 [thread overview]
Message-ID: <4CDCEBE9.8060905@krellan.com> (raw)
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
next reply other threads:[~2010-11-12 7:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 7:25 Josh Lehan [this message]
2010-11-12 16:51 ` Distinguishing wrong password from other failure to connect? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CDCEBE9.8060905@krellan.com \
--to=krellan@krellan.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).