From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Hogan Date: Tue, 10 Sep 2013 21:03:16 -0400 Subject: [ath9k-devel] ath9k WPA2-PEAP MSCHAPV2 Connectivity issue In-Reply-To: References: <522B7D97.2010409@gmail.com> <21035.64671.831349.345777@gargle.gargle.HOWL> <522CAF8E.8000006@gmail.com> <21037.48871.472273.313308@gargle.gargle.HOWL> Message-ID: <522FC154.10100@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 09/10/2013 03:50 AM, Holger Schurig wrote: >> Can you please open a bug in bugzilla.kernel.org to track this ? > Why? We even don't know if it is a kernel problem or not. > > It might as well be a problem with the AP, e.g. > >> 0.002833: wlan0 (phy #0): auth 00:1a:1e:26:29:63 -> 90:f6:52:e5:70:ba >> status: 17: Association denied because AP is unable to handle additional >> associated STA > sounds like a tremendously overloaded AP. The " Deauthenticated > because sending station is leaving (or has left) the IBSS or ESS" > sounds like a signal strength issue. It might also be a antenna setup > issue, e.g. I once had an AP set to diversity, but with only one > antenna connected, and that produced similar weird results. > > However, so far nothing indicates to me that this might be a kernel > (ath9k driver) problem. > > So we're still at the stage to isolate the culprit. > > What I'd do is to first stop the interface, i.e. bring it down. Then > make sure that no Network Manager, wicd or similar tool is running. > Now, from the command line start wpa_supplicant manually, i.e. > something like > > wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -Dnl80211 > > if that doesn't tell you more, than try to add -d to get debug > information (Gentoo users must probably recompile wpa_supplicant with > USE=debug). If you see something fishy now, then it's probably a > problem with wpa_supplicant and/or the AP. If you don't see something > fishy there (i.e., everything works), then it might have been > NetworkManager/wicd. I am happy to try to provide you all with as much information as you guys need and I appreciate your help. I tool your suggestion and set up wpa_supplicant with debugging and I posted the output online at http://bpaste.net/show/131278/ . At line 1471 I ended the connection. I'm not getting even the 20-30 seconds of connection with this setup though... I don't know if there is a particular reason, but it is just and observation. Here is my wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant update_config=1 ap_scan=1 eapol_version=1 fast_reauth=1 network={ ssid="Liberty-Secure" scan_ssid=1 key_mgmt=WPA-EAP proto=WPA2 pairwise=CCMP group=CCMP ca_cert="/home/jhogan/Downloads/NetworkManager/system-connections/ebe5dd8f-0ab5-4437-a7d7-9e941c364657-ca-cert.pem" eap=PEAP identity="jhogan22" password="***********" phase1="peaplabel=1" phase2="auth=MSCHAPV2" } Also, this is the output of "iwconfig wlan0" after about 40 seconds, as you can see the Invalid Misc is very high wlan0 IEEE 802.11abgn ESSID:"Liberty-Secure" Mode:Managed Frequency:2.437 GHz Access Point: 00:1A:1E:26:29:63 Bit Rate=117 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=61/70 Signal level=-49 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:764 Missed beacon:0