From owner-freebsd-net@FreeBSD.ORG Fri Aug 17 13:40:25 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A3D3106564A for ; Fri, 17 Aug 2012 13:40:25 +0000 (UTC) (envelope-from freebsd-net@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 3D19C8FC0A for ; Fri, 17 Aug 2012 13:40:24 +0000 (UTC) Received: from laptop3.herveybayaustralia.com.au (unknown [192.168.0.147]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 4F4085C2A for ; Fri, 17 Aug 2012 23:55:48 +1000 (EST) Message-ID: <502E49C7.3090505@herveybayaustralia.com.au> Date: Fri, 17 Aug 2012 23:40:23 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120728 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <502DA0F6.5040305@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: wpa_supplicant wpa peap gtc connection - gtc failing? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2012 13:40:25 -0000 On 08/17/12 17:38, Bernhard Schmidt wrote: > On Fri, Aug 17, 2012 at 3:40 AM, Da Rock > wrote: >> I'm trying to access a uni network using wpa-peap with GTC authentication, >> and no matter what I've tried it fails. >> >> I've come across the same error in most of my logs: "phase2 request: NAK >> type 6". > I haven't tried GTC myself, though, I know that wpa_supplicant by > default is built *without* support for that. You didn't mention it, so > I assume that might be a valid pointer. > > Just adding WPA_SUPPLICANT_CFLAGS=-DEAP_GTC to /etc/make.conf and > rebuilding/reinstalling /usr/src/usr.sbin/wpa should get you going. That helps a lot, thanks. I had suspected it, but everything I had seen on the subject was 2006 (FBSD7?), so I wasn't sure if it was a policy still or not. Looks like the fix will be relatively easy then... :/ Cheers chaps!