Date: Tue, 10 Jun 2008 09:15:48 -0700 From: Sam Leffler <sam@freebsd.org> To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no> Cc: Randy Bush <randy@psg.com>, freebsd-current@freebsd.org Subject: Re: problems making an access point w/current Message-ID: <484EA8B4.6010802@freebsd.org> In-Reply-To: <86bq29sdlu.fsf@ds4.des.no> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote:
> Randy Bush <randy@psg.com> writes:
>
>> ifconfig_wlan0="channel 11 ssid rgnet-aden wep wepkey thirteenchars weptxkey 1 mediaopt hostap up"
>> [...]
>> # ifconfig wlan0
>> wlan0:
>> flags=8d43<UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST>
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?484EA8B4.6010802>
