From owner-freebsd-stable@FreeBSD.ORG Wed Nov 11 05:48:20 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83810106568D for ; Wed, 11 Nov 2009 05:48:20 +0000 (UTC) (envelope-from geoff@apro.com.au) Received: from mail.ricksure.com.au (mail.ricksure.com.au [203.98.89.150]) by mx1.freebsd.org (Postfix) with ESMTP id B36478FC1E for ; Wed, 11 Nov 2009 05:48:18 +0000 (UTC) Received: from dsl-202-173-129-2.nsw.westnet.com.au [202.173.129.2] by mail.ricksure.com.au with SMTP; Wed, 11 Nov 2009 16:48:05 +1100 From: Geoff Roberts Organization: Australian Projects To: freebsd-stable@freebsd.org Date: Wed, 11 Nov 2009 16:48:00 +1100 User-Agent: KMail/1.9.10 References: <200911090053.47239.geoff@apro.com.au> <4AF6F669.6050403@freebsd.org> In-Reply-To: <4AF6F669.6050403@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200911111648.00729.geoff@apro.com.au> X-Declude-Sender: geoff@apro.com.au [202.173.129.2] X-Declude-Spoolname: 44698030.eml X-Declude-RefID: X-Declude-Note: Scanned by Declude 4.6.35 "http://www.declude.com/x-note.htm" X-Declude-Scan: Outgoing Score [0] at 16:48:09 on 11 Nov 2009 X-Declude-Tests: Whitelisted X-Country-Chain: X-Declude-Code: 0 X-Declude-Recipcount: 2 Organization: Declude, Inc. X-Helo: bsd7desktop.home.wollongong X-RevDNS: Cc: Sam Leffler Subject: Re: Problems moving hostapd AP config from 6.4 to 8.0RC2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: geoff@apro.com.au List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2009 05:48:20 -0000 Hi Sam, On Mon, 9 Nov 2009 03:48:41 am Sam Leffler wrote: > snip < > > So your station associated and hostapd saw it but nothing in your logs > shows what hostapd did or did not do to complete the radius handshake. > All we see is that hostapd dropped the station--presumably because it > timed out trying to authenticated against the backend. > > Not sure what debug level you need for hostapd; I usually use the cmd > line options. Thanks for responding - it was a great help. Your comment give me a clue as to where to begin looking. It appears some components required by hostapd weren't being built. I am building on an amd64 system. I had a look at the make file in /usr/src/usr.sbin/wpa/hostapd/Makefile and found that adding the following to /etc/src.conf fixed my problem: HOSTAPD_CFLAGS+=-DEAP_SERVER -DEAP_GTC -DEAP_AKA -DEAP_SIM -DEAP_GPSK HOSTAPD_CFLAGS+=-DEAP_PAX -DEAP_SAKE WITH_OPENSSL=YES I haven't had a chance to narrow down exactly which one made the difference, but I'm guessing it is the -DEAP_SERVER flag. The only tunable I could find in /usr/src/tools/build/options was WPA_SUPPLICANT_EAPOL, but this should only affect wpa_supplicant. Does anyone know if there is a tunable I am missing in my src.conf file, or should I be setting the HOSTAPD_CFLAGS directly as above. Kind regards, Geoff