From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 18 02:31:58 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B94AA568 for ; Fri, 18 Jul 2014 02:31:58 +0000 (UTC) Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B8102AE4 for ; Fri, 18 Jul 2014 02:31:58 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id i13so2589149qae.34 for ; Thu, 17 Jul 2014 19:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=a5DZBDIONdJvH2GqRMGveskkQgTc0ysYSjw7VETgxZ4=; b=pH3BWSH3C9KZFjkmM5035WpUM4qD1D+iLpM3Rciv57kWtSAxokDLzXPUvVna8as7qz Q/ajIuFMDrRphWTcnt54qj7mx6hRJSYKSd2mmapCQaoMSZcATVHs7SgPIrD5/Ikdxnn2 yMRbOZ5xnZHc371+vMu8hcDEtE+QLTySCwF4Nl16hOrJIU1AstSx8vW7DCBsNmEjnC+Y gAli5PJv9bp5IRXtQoihCgZecCGHzRVEIWjtcvWam6jclzPl7OPDQlOslKZ8N7j1XD46 sdy7gP083ucDo+jBOl91LdJdfScllQFPPugb1nudH+LescMEdc6NxbntNnsJlDH7I3CH AcFQ== MIME-Version: 1.0 X-Received: by 10.229.184.9 with SMTP id ci9mr2499688qcb.11.1405650717319; Thu, 17 Jul 2014 19:31:57 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 17 Jul 2014 19:31:57 -0700 (PDT) In-Reply-To: <8661ivif56.fsf@gly.ftfl.ca> References: <8661ivif56.fsf@gly.ftfl.ca> Date: Thu, 17 Jul 2014 19:31:57 -0700 X-Google-Sender-Auth: dKxcq4bC9_5IdgTFWzL7wtLTORA Message-ID: Subject: Re: iwn / Intel Centrino Advanced-N 6205 / WPA2-Enterprise From: Adrian Chadd To: Joseph Mingrone Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" 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:31:58 -0000 Hi, Please try it with an -11 snapshot - some extra work was done on the intel iwn driver since 9.x and now. -a On 17 July 2014 19:17, Joseph Mingrone wrote: > 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 > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"