From owner-freebsd-current@FreeBSD.ORG Thu Mar 5 14:58:46 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 5EE0F1065675 for ; Thu, 5 Mar 2009 14:58:46 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 236C08FC12 for ; Thu, 5 Mar 2009 14:58:46 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from [IPv6:2001:7b8:3a7:0:588a:15ba:1923:192f] (unknown [IPv6:2001:7b8:3a7:0:588a:15ba:1923:192f]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C61F35C43; Thu, 5 Mar 2009 15:58:44 +0100 (CET) Message-ID: <49AFE8A6.4010008@andric.com> Date: Thu, 05 Mar 2009 15:58:46 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1b3pre) Gecko/20090304 Shredder/3.0b3pre MIME-Version: 1.0 To: Hugo Silva References: <49AFE3F9.4050108@barafranca.com> In-Reply-To: <49AFE3F9.4050108@barafranca.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: 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:58:46 -0000 On 2009-03-05 15:38, Hugo Silva wrote: > # 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). Maybe this info will help: http://www.freebsd.org/doc/en/books/handbook/network-wireless.html#NETWORK-WIRELESS-AP-BASIC