linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Xavier Bestel <xavier.bestel@free.fr>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Can't authenticate to WPA network with rt2800usb driver
Date: Thu, 5 Jan 2017 11:56:37 +0100	[thread overview]
Message-ID: <20170105105636.GA15224@redhat.com> (raw)
In-Reply-To: <1483545757.8560.79.camel@free.fr>

On Wed, Jan 04, 2017 at 05:02:37PM +0100, Xavier Bestel wrote:
> Le mercredi 04 janvier 2017 à 16:02 +0100, Stanislaw Gruszka a écrit :
> > On Wed, Jan 04, 2017 at 11:37:50AM +0100, Xavier Bestel wrote:
> > > Jan  4 11:22:29 pcxav wpa_supplicant[13666]: wlx7cdd90463ef8: SME: Trying to authenticate with 5c:33:8e:56:78:d3 (SSID='MySecretSSID' freq=2437 MHz) 
> > > Jan  4 11:22:29 pcxav kernel: [2921135.972360] wlx7cdd90463ef8: authenticate with 5c:33:8e:56:78:d3 
> > > Jan  4 11:22:29 pcxav NetworkManager[15150]: <info>  [1483525349.3774] device (wlx7cdd90463ef8): supplicant interface state: inactive -> authenticating 
> > > Jan  4 11:22:29 pcxav kernel: [2921135.990588] wlx7cdd90463ef8: send auth to 5c:33:8e:56:78:d3 (try 1/3) 
> > > Jan  4 11:22:29 pcxav kernel: [2921135.999983] wlx7cdd90463ef8: authenticated 
> > > Jan  4 11:22:34 pcxav kernel: [2921140.991625] wlx7cdd90463ef8: aborting authentication with 5c:33:8e:56:78:d3 by local choice (Reason: 3=DEAUTH_LEAVING) 
> > 
> > This looks like problem when wpa_supplicant do not talk to correct
> > kernel socket when cfg80211 module was removed and then loaded again.
> > This can happen when you remove wireless device driver using
> > modprobe -r  i.e:
> > 
> > modprobe -r rt2800usb
> > modprobe rt2800pci
> > 
> > This problem is fixed in current version of wpa_supplicant or maybe
> > in kernel.
> > 
> > > Does anyone have a hint to make it work ?
> > 
> > "systemctl restart wpa_supplicant.service" recovers from bad state.
> 
> I just upgraded wpa_supplicant from 2.5 to 2.6 (latest version AFAIK)
> and restarted it but still no luck:
> Jan  4 17:01:19 pcxav kernel: [2941466.617276] wlx7cdd90463ef8: aborting authentication with 5c:33:8e:56:78:d3 by local choice (Reason: 3=DEAUTH_LEAVING) 
> Do you know which kernel should I run to have the fix ?

4.7 kernel and 2.5 supplicant works here. But if wpa_supplicant
restart do not fix the problem this is likely a different issue
than I describe. 

Stanislaw

      reply	other threads:[~2017-01-05 11:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04 10:37 Can't authenticate to WPA network with rt2800usb driver Xavier Bestel
2017-01-04 15:02 ` Stanislaw Gruszka
2017-01-04 16:02   ` Xavier Bestel
2017-01-05 10:56     ` Stanislaw Gruszka [this message]

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=20170105105636.GA15224@redhat.com \
    --to=sgruszka@redhat.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=xavier.bestel@free.fr \
    /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).