From owner-freebsd-wireless@FreeBSD.ORG Wed Apr 22 10:46:20 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B7469C3 for ; Wed, 22 Apr 2015 10:46:20 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C76CB1F5B for ; Wed, 22 Apr 2015 10:46:19 +0000 (UTC) Received: by wicmx19 with SMTP id mx19so83564088wic.1 for ; Wed, 22 Apr 2015 03:46:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:from:resent-message-id:to:cc:subject :in-reply-to:references:mime-version:content-type:content-id :content-transfer-encoding:date:resent-from:resent-to:resent-cc :resent-date; bh=MDz81IhcxrJN4rIKifQTBeH+fqXgOzd1q99VQ6eTXiA=; b=nBJUu66dsvxI9BZIwgxygM4WJKSyw5TalhmIT75DcuWCx1AnESjEyHPXu1j12JjLiw S6wqjeM79O3Wlo3BXLFhQy8DX2uyVig1pYp0PL2kSqrike46Yo67TfU0H/jLZwSk6UcX qm/w8WjMfwioSKyyiw4tjjy3F3fA+YLkzrp/si01ePqVGaVkQwMwtunNeZa1DPr28/ws AY/U2Ek1AgawemzK4+pyetyna2xhEiDFvxCy7D884CJl7Yy80KgNCfbeN4HUkHgqVSSf MbALvJ96wED6I5khNsdyni85C5LM/T1dz7TbOM6xjr0oTG2j9bjUdn/oiRL08zqFvTgn UX7A== X-Gm-Message-State: ALoCoQmPBbRHYNBPZ6G62wQdOz9z9LiLInibCfjblDXcVLaOjTJkw0ZrfD+KAW6bRlpyuntMmPDg X-Received: by 10.194.175.70 with SMTP id by6mr50869579wjc.42.1429699571675; Wed, 22 Apr 2015 03:46:11 -0700 (PDT) Received: from clue.co.za ([197.89.111.34]) by mx.google.com with ESMTPSA id g5sm6776938wjr.19.2015.04.22.03.46.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Apr 2015 03:46:11 -0700 (PDT) Message-ID: <55377bf3.653cc20a.6e28.54ad@mx.google.com> From: Ian FREISLICH X-Google-Original-From: Ian FREISLICH Received: from localhost ([127.0.0.1] helo=zen) by clue.co.za with esmtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1YksAS-0000m1-AI; Wed, 22 Apr 2015 12:46:08 +0200 Resent-Message-Id: To: Rui Paulo cc: "freebsd-wireless@freebsd.org" , freebsd-current@freebsd.org Subject: Re: CTF: wpa_supplicant/hostapd 2.4 import In-Reply-To: <2408123.McWtPaBMsU@akita> References: <2408123.McWtPaBMsU@akita> X-Attribution: BOFH MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2949.1429699452.1@zen> Content-Transfer-Encoding: quoted-printable Date: Wed, 22 Apr 2015 12:44:12 +0200 Resent-From: ianf@capeaugusta.com Resent-To: Rui Paulo Resent-cc: "freebsd-wireless@freebsd.org" , freebsd-current@freebsd.org Resent-Date: Wed, 22 Apr 2015 12:46:08 +0200 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 22 Apr 2015 10:46:20 -0000 Rui Paulo wrote: > Hi, > = > Please test the new wpa_supplicant/hostapd. Here's the patch against Fr= eeBSD = > HEAD: > = > https://people.freebsd.org/~rpaulo/wpa-2.4.diff EAP never actually completes the association. Authentication completes but the link never actually comes up. This configuration worked with the previous wpa_supplicant. Config: network=3D{ ssid=3D"quasar" key_mgmt=3DWPA-EAP eap=3DPEAP identity=3D"zen" password=3D"xxxxxxxxxxxxx" priority=3D8 } RADIUS log: Wed Apr 22 12:28:20 2015 : Auth: Login OK: [zen] (from client AP-PRO-1 por= t 0 cli 00-22-5F-70-A1-DF) Client log: Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: Trying to associate with = 00:27:22:6c:0b:8f (SSID=3D'quasar' freq=3D2437 MHz) Apr 22 12:28:20 zen kernel: wlan0: link state changed to UP Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: Associated with 00:27:22:= 6c:0b:8f Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-STARTED EA= P authentication started Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-PROPOSED-M= ETHOD vendor=3D0 method=3D4 -> NAK Apr 22 12:28:20 zen dhclient[2297]: send_packet: No buffer space available Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-PROPOSED-M= ETHOD vendor=3D0 method=3D25 Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-METHOD EAP= vendor 0 method 25 (PEAP) selected Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-PEER-CERT = depth=3D1 subject=3D'/C=3DZA/ST=3DWestern Cape/O=3DFreislich Home Network/= OU=3DFreislich Home/CN=3Dfreislich.nom.za/emailAddress=3Dca@freislich.nom.= za' hash=3D79d3b2233b7c0e261445f3fe488ef259fdab3c2fbe0727043ff47b0f3f3d22a= 0 Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-PEER-CERT = depth=3D1 subject=3D'/C=3DZA/ST=3DWestern Cape/O=3DFreislich Home Network/= OU=3DFreislich Home/CN=3Dfreislich.nom.za/emailAddress=3Dca@freislich.nom.= za' hash=3D79d3b2233b7c0e261445f3fe488ef259fdab3c2fbe0727043ff47b0f3f3d22a= 0 Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-PEER-CERT = depth=3D0 subject=3D'/C=3DZA/ST=3DWestern Cape/L=3DCape Town/O=3DFreislich= Home Network/OU=3DFreislich Home/CN=3Dfreislich.nom.za/emailAddress=3Dca@= freislich.nom.za' hash=3Dea38723d53e84d2574f9edf105cdb904b773479badfedab1f= 8b9d1abbab0c12e Apr 22 12:28:20 zen wpa_supplicant[2191]: EAP-MSCHAPV2: Authentication suc= ceeded Apr 22 12:28:20 zen wpa_supplicant[2191]: EAP-TLV: TLV Result - Success - = EAP-TLV/Phase2 Completed Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-SUCCESS EA= P authentication completed successfully Apr 22 12:28:21 zen kernel: wlan0: link state changed to DOWN Apr 22 12:28:21 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-DISCONNECTED b= ssid=3D00:27:22:6c:0b:8f reason=3D0 Apr 22 12:28:24 zen wpa_supplicant[2191]: wlan0: Trying to associate with = 00:27:22:6c:0b:8f (SSID=3D'quasar' freq=3D2437 MHz) Apr 22 12:28:24 zen wpa_supplicant[2191]: wlan0: Associated with 00:27:22:= 6c:0b:8f Apr 22 12:28:24 zen kernel: wlan0: link state changed to UP Apr 22 12:28:24 zen dhclient[2297]: send_packet: No buffer space available Apr 22 12:28:29 zen last message repeated 2 times Apr 22 12:28:34 zen wpa_supplicant[2191]: wlan0: Authentication with 00:27= :22:6c:0b:8f timed out. Apr 22 12:28:34 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-DISCONNECTED b= ssid=3D00:27:22:6c:0b:8f reason=3D3 locally_generated=3D1 Apr 22 12:28:34 zen kernel: wlan0: link state changed to DOWN Ian -- = Ian Freislich