From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 18 02:30:14 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2FFC5536 for ; Fri, 18 Jul 2014 02:30:14 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B42C42AD8 for ; Fri, 18 Jul 2014 02:30:13 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X7xvv-0001h1-Sz for freebsd-wireless@freebsd.org; Fri, 18 Jul 2014 04:30:03 +0200 Received: from dynamic34-29.dynamic.dal.ca ([129.173.34.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jul 2014 04:30:03 +0200 Received: from jrm by dynamic34-29.dynamic.dal.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jul 2014 04:30:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-wireless@freebsd.org From: Joseph Mingrone Subject: iwn / Intel Centrino Advanced-N 6205 / WPA2-Enterprise Date: Thu, 17 Jul 2014 23:17:57 -0300 Lines: 79 Message-ID: <8661ivif56.fsf@gly.ftfl.ca> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dynamic34-29.dynamic.dal.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Cancel-Lock: sha1:LpaUr2RQ0sprNsfae/N+5X2lb6Q= X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 02:30:14 -0000 Hello, I'm running 9.2-STABLE (r264631: Thu Apr 17 23:48:34 ADT 2014) amd64. The Intel Centrino Advanced-N 6205 wireless card works fine with the iwn driver on WPA2-Personal networks, but it's a different story with WPA2-Enterprise [1]. The problem is that the connection drops frequently, even when I'm only a few metres from the access point. This is what the entry looks like in /etc/wpa_supplicant.conf. network={ ssid="Dal-WPA2" scan_ssid=1 key_mgmt=WPA-EAP identity="me" password="my_password" eap=PEAP phase1="peaplabel=0" phase2="auth=MSCHAPV2" } Pasted at the end, is a sample of what I see in /var/log/messages. What else should I be looking at to debug the issue? Is this a known problem, perhaps related to some commits to current in the last few months (e.g., http://svnweb.freebsd.org/base?view=revision&revision=258829)? Is there any other debugging information I can provide to shed some light? Joseph [1] At least I think the problem is related to WPA2-Enterprise. I've only used WPA2-Enterprise with one network, but it's one I connect to daily and the problem is consistent. Jul 11 10:56:54 phe wpa_supplicant[374]: CTRL-EVENT-DISCONNECTED bssid=00:24:6c:be:4b:02 reason=0 Jul 11 10:56:54 phe kernel: wlan0: link state changed to DOWN Jul 11 10:56:54 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:be:4b:02 (SSID='Dal-WPA2' freq=2412 MHz) Jul 11 10:57:04 phe wpa_supplicant[374]: Authentication with 00:24:6c:be:4b:02 timed out. Jul 11 10:57:07 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:be:4b:12 (SSID='Dal-WPA2' freq=5180 MHz) Jul 11 10:57:17 phe wpa_supplicant[374]: Authentication with 00:24:6c:be:4b:12 timed out. Jul 11 10:57:17 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:be:4b:12 (SSID='Dal-WPA2' freq=5180 MHz) Jul 11 10:57:17 phe wpa_supplicant[374]: Associated with 00:24:6c:be:4b:12 Jul 11 10:57:17 phe kernel: wlan0: link state changed to UP Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-STARTED EAP authentication started Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25 Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/serialNumber=Nj2rTKIwnBBchbQSNCGG0zJhqiNNea-L/C=CA/ST=Nova Scotia/L=Halifax/O=Dalhousie University/OU=Networks and Systems/CN=network-authentication.dal.ca' Jul 11 10:57:20 phe wpa_supplicant[374]: EAP-MSCHAPV2: Authentication succeeded Jul 11 10:57:20 phe wpa_supplicant[374]: EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully Jul 11 10:57:20 phe wpa_supplicant[374]: WPA: Key negotiation completed with 00:24:6c:be:4b:12 [PTK=CCMP GTK=CCMP] Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-CONNECTED - Connection to 00:24:6c:be:4b:12 completed (reauth) [id=2 id_str=] Jul 11 11:17:22 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:bd:0a:e2 (SSID='Dal-WPA2' freq=2437 MHz) Jul 11 11:17:22 phe wpa_supplicant[374]: CTRL-EVENT-DISCONNECTED bssid=00:24:6c:bd:0a:e2 reason=0 Jul 11 11:17:22 phe kernel: wlan0: link state changed to DOWN Jul 11 11:17:32 phe wpa_supplicant[374]: Authentication with 00:00:00:00:00:00 timed out. Jul 11 11:17:32 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:bd:0a:e2 (SSID='Dal-WPA2' freq=2437 MHz) Jul 11 11:17:32 phe wpa_supplicant[374]: Associated with 00:24:6c:bd:0a:e2 Jul 11 11:17:32 phe kernel: wlan0: link state changed to UP Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-STARTED EAP authentication started Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25 Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/serialNumber=Nj2rTKIwnBBchbQSNCGG0zJhqiNNea-L/C=CA/ST=Nova Scotia/L=Halifax/O=Dalhousie University/OU=Networks and Systems/CN=network-authentication.dal.ca' Jul 11 11:17:35 phe wpa_supplicant[374]: EAP-MSCHAPV2: Authentication succeeded Jul 11 11:17:35 phe wpa_supplicant[374]: EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully Jul 11 11:17:35 phe wpa_supplicant[374]: WPA: Key negotiation completed with 00:24:6c:bd:0a:e2 [PTK=CCMP GTK=CCMP] Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-CONNECTED - Connection to 00:24:6c:bd:0a:e2 completed (reauth) [id=2 id_str=] Jul 11 11:18:34 phe dhclient: New IP Address (wlan0): 134.190.131.203 Jul 11 11:18:34 phe dhclient: New Subnet Mask (wlan0): 255.255.254.0 Jul 11 11:18:34 phe dhclient: New Broadcast Address (wlan0): 134.190.131.255 Jul 11 11:18:34 phe dhclient: New Routers (wlan0): 134.190.130.1 Jul 11 11:53:53 phe wpa_supplicant[374]: CTRL-EVENT-DISCONNECTED bssid=00:24:6c:bd:0a:e2 reason=0