From owner-freebsd-current@FreeBSD.ORG Thu Mar 5 14:39:37 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 803D6106566C for ; Thu, 5 Mar 2009 14:39:37 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.213.67.47]) by mx1.freebsd.org (Postfix) with ESMTP id 52BEA8FC15 for ; Thu, 5 Mar 2009 14:39:37 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from localhost (unknown [172.16.100.24]) by mail.barafranca.com (Postfix) with ESMTP id D57101822 for ; Thu, 5 Mar 2009 14:39:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at barafranca.com Received: from mail.barafranca.com ([172.16.100.24]) by localhost (mail.barafranca.com [172.16.100.24]) (amavisd-new, port 10024) with ESMTP id wm5F-wRfkMd9 for ; Thu, 5 Mar 2009 14:38:58 +0000 (UTC) Received: from [192.168.43.130] (a81-84-14-136.cpe.netcabo.pt [81.84.14.136]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTPSA id F1510181F for ; Thu, 5 Mar 2009 14:38:57 +0000 (UTC) Message-ID: <49AFE3F9.4050108@barafranca.com> Date: Thu, 05 Mar 2009 14:38:49 +0000 From: Hugo Silva User-Agent: Thunderbird 2.0.0.9 (X11/20071213) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: rc.conf - what's the right way to enable hostap mode? 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: Thu, 05 Mar 2009 14:39:37 -0000 # ifconfig wlan1 create wlandev ath0 ; ifconfig wlan1 wlanmode hostap ifconfig: wlanmode: bad value # ifconfig wlan1 create wlandev ath0 wlanmode hostap (works) My question is how to properly achieve this in rc.conf: wlans_ath0="wlan0 wlan1" creates the devices, but it seems impossible to set them to hostap operation later. (see the first example). Am I missing something?