All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k not connecting to one particular network..
Date: Mon, 25 Mar 2013 03:38:01 -0700	[thread overview]
Message-ID: <CA+55aFyxn6U0bx-JWF3GDatvObgSKWB6skCBp07M=MtwQb2_Mg@mail.gmail.com> (raw)
In-Reply-To: <20130325101251.GA8819@jouni.qca.qualcomm.com>

On Mon, Mar 25, 2013 at 3:12 AM, Jouni Malinen <jouni@qca.qualcomm.com> wrote:
>
> Did you happen to notice whether wpa_supplicant showed more than one
> attempt at associating with the AP?

According to the kernel messages, there seems to be just a single
quick association:

IOW, this is what happens with wpa_supplicant:

  [ 4219.297875] wlan0: authenticate with 50:46:5d:02:85:08
  [ 4219.312013] wlan0: send auth to 50:46:5d:02:85:08 (try 1/3)
  [ 4219.314029] wlan0: authenticated
  [ 4219.314099] wlan0: associate with 50:46:5d:02:85:08 (try 1/3)
  [ 4219.317809] wlan0: RX AssocResp from 50:46:5d:02:85:08
(capab=0x411 status=0 aid=16)
  [ 4219.317913] wlan0: associated
  [ 4219.317934] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

and everything is happy.

>> Presumably NetworkManager should do the same, but doesn't. Or
>> more likely, does something *more*, and that "something more" ends up
>> confusing the driver and resetting.
>
> It could be helpful to get wpa_supplicant debug output from both the
> successful case (running it with manual configuration) and with NM
> running it. I haven't done much debugging with NM, but this page seems
> to show some guidance on how to collect the latter:
> https://live.gnome.org/NetworkManager/Debugging
> (for the former, just add -ddt on wpa_supplicant command line)

Hmm. That points to /var/log/wpa_supplicant.log, which I hadn't
noticed before. That looks useful, except for the fact that it just
shows

  wlan0: SME: Trying to authenticate with 50:46:5d:02:85:08
(SSID='lodgecondo' freq=2412 MHz)
  wlan0: Trying to associate with 50:46:5d:02:85:08 (SSID='lodgecondo'
freq=2412 MHz)
  wlan0: Associated with 50:46:5d:02:85:08
  wlan0: Authentication with 50:46:5d:02:85:08 timed out.
  wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3

which looks pretty bogus, since wpa_supplicant on its own seems to
associate/authenticate pretty much immediately. There are no
timestamps in that log-file, so it's hard to tell, but that web page
tells me how to add them, so I'll do that (I obviously lose my network
when I try this, so I'm not doing it while writing this email ;)

                  Linus

  reply	other threads:[~2013-03-25 10:38 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25  4:06 [ath9k-devel] ath9k not connecting to one particular network Linus Torvalds
2013-03-25  4:22 ` Outback Dingo
2013-03-25  9:05   ` Linus Torvalds
2013-03-25  4:26 ` Joel Wirāmu Pauling
2013-03-25  9:23   ` Linus Torvalds
2013-03-25  9:38     ` Linus Torvalds
2013-03-25 10:12     ` Jouni Malinen
2013-03-25 10:38       ` Linus Torvalds [this message]
2013-03-25 11:06         ` Linus Torvalds
2013-03-25 11:30           ` Jouni Malinen
2013-03-25 12:17             ` Joel Wirāmu Pauling
2013-03-25 12:46               ` Jouni Malinen
2013-03-25 16:04             ` Linus Torvalds
2013-03-25 16:35               ` Jouni Malinen
2013-03-25 16:42                 ` Linus Torvalds
2013-03-25 18:03                   ` Peter Stuge
2013-03-25 19:01                     ` Adrian Chadd
2013-03-26  2:12                   ` Linus Torvalds
2013-03-26  9:58                     ` Jouni Malinen
2013-03-26 10:28                       ` Peter Stuge
2013-03-26 13:56                       ` Dan Williams
2013-03-26 15:25                       ` Linus Torvalds
2013-03-26 15:40                         ` Jouni Malinen
2013-03-26 19:20                           ` Luis R. Rodriguez
2013-03-26 19:20                             ` Luis R. Rodriguez
2013-03-25 10:43     ` Oleksij Rempel
2013-03-25  5:38 ` Adrian Chadd

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='CA+55aFyxn6U0bx-JWF3GDatvObgSKWB6skCBp07M=MtwQb2_Mg@mail.gmail.com' \
    --to=torvalds@linux-foundation.org \
    --cc=ath9k-devel@lists.ath9k.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.