From owner-freebsd-current@FreeBSD.ORG Tue Jun 10 16:15:51 2008 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 70818106566B for ; Tue, 10 Jun 2008 16:15:51 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 4B4448FC15 for ; Tue, 10 Jun 2008 16:15:51 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m5AGFmOB090448 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 10 Jun 2008 09:15:48 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <484EA8B4.6010802@freebsd.org> Date: Tue, 10 Jun 2008 09:15:48 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <6b8e8f4f0804291900v521cde5cw1ad4eaba70244e9c@mail.gmail.com> <4817E52F.5070806@freebsd.org> <6b8e8f4f0805011334t68c265a8r50eaf2264eb12d08@mail.gmail.com> <481A520B.3020808@freebsd.org> <6b8e8f4f0805012012u3d0baee1x46e313c33b4295f4@mail.gmail.com> <484D1AAB.5080800@psg.com> <484E33A9.80202@psg.com> <86bq29sdlu.fsf@ds4.des.no> In-Reply-To: <86bq29sdlu.fsf@ds4.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-DCC-Rhyolite-Metrics: ebb.errno.com; whitelist Cc: Randy Bush , freebsd-current@freebsd.org Subject: Re: problems making an access point w/current 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, 10 Jun 2008 16:15:51 -0000 Dag-Erling Smørgrav wrote: > Randy Bush writes: > >> ifconfig_wlan0="channel 11 ssid rgnet-aden wep wepkey thirteenchars weptxkey 1 mediaopt hostap up" >> [...] >> # ifconfig wlan0 >> wlan0: >> flags=8d43 >> metric 0 mtu 1500 >> ether 00:0b:6b:83:59:25 >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> status: no carrier >> ssid rgnet-aden channel 11 (2462 Mhz 11g) >> country US ecm authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit >> txpower 19 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >> roam:rssi 7 roam:rate 5 protmode CTS wme burst ff dturbo bintval 0 >> > > Note that it says "autoselect" instead of "hostap". AFAIK, you have to > specify a media and a mode before you specify a mediaopt. Try "media > autoselect mode 11g mediaopt hostap" instead of just "mediaopt hostap". > > The operating mode of a vap is immutable; it must be set when it's created by cloning the underlying ifnet. I believe there are usage examples in all the wireless driver man pages. The scripts in src/tools/tools/net80211/scripts also demonstrate how to setup various configurations. Sam