From owner-freebsd-current@FreeBSD.ORG Tue Mar 3 15:08:05 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 297941065672 for ; Tue, 3 Mar 2009 15:08:05 +0000 (UTC) (envelope-from randy@psg.com) Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:1::36]) by mx1.freebsd.org (Postfix) with ESMTP id 031168FC13 for ; Tue, 3 Mar 2009 15:08:05 +0000 (UTC) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=rmac.psg.com) by ran.psg.com with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LeWDz-000BTj-MI; Tue, 03 Mar 2009 15:08:03 +0000 Received: from rmac.psg.com.psg.com (localhost [127.0.0.1]) by rmac.psg.com (Postfix) with ESMTP id 20E31BAE61B; Wed, 4 Mar 2009 00:08:03 +0900 (JST) Date: Wed, 04 Mar 2009 00:08:03 +0900 Message-ID: From: Randy Bush To: Michael Proto In-Reply-To: <1de79840903030704w2ab9e994i77d8461bb2a5778c@mail.gmail.com> References: <1de79840903030704w2ab9e994i77d8461bb2a5778c@mail.gmail.com> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (i386-apple-darwin9.6.0) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-current@freebsd.org Subject: Re: wpa2 hostap setup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 15:08:07 -0000 > First, if you want to use WPA2, you'll want to change the hostapd.conf > options a bit: > > wpa=2 > wpa_pairwise=CCMP TKIP (or just wpa_pairwise=CCMP) > > You also don't need the wep settings in the ifconfig statement for > wlan0 in your rc.conf, hostapd will take care of the encryption bits. > Here's all my rc.conf has for my wlan0 interface (and I'm using WPA2 > with it as well, which is configured as in hostapd.conf) which has > been working very well for a variety of clients for some time now: > > ifconfig_ath0="mode 11g" > wlans_ath0="wlan0" > create_args_wlan0="wlanmode ap" > ifconfig_wlan0="inet 192.168.1.1 netmask 255.255.255.0 channel 11" thanks! will try it tomorrow, when my wife is gone for the day :) randy