Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2008 08:18:48 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Randy Bush <randy@psg.com>, Brooks Davis <brooks@freebsd.org>
Subject:   Re: HEADSUP: 802.11 vap support merged
Message-ID:  <200804260818.49123.jhb@freebsd.org>
In-Reply-To: <4812C59D.60806@psg.com>
References:  <480D6667.4020509@errno.com> <20080423142628.GA44288@lor.one-eyed-alien.net> <4812C59D.60806@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 26 April 2008 02:03:09 am Randy Bush wrote:
> so, let me make sure i have this correctly.
>
> i currently have
>
> vap_create_wlan0="wlanmode ap"
> vaps_ath0="wlan0"
> cloned_interfaces=bridge0
> ifconfig_bridge0="192.168.0.1 addm vr1 addm vr2 addm vr3 addm wlan0 up"
> ipv6_ifconfig_bridge0="inet6 2001:240:6a8::1/64"
> ifconfig_vr1=up
> ifconfig_vr2=up
> ifconfig_vr3=up
> ifconfig_wlan0="channel 11 ssid rg-crypt wep wepkey thirteenchars
> weptxkey 1 mediaopt hostap up"
>
> to add a second ssid on the same device and same lan, i would change this
> to
>
> vap_create_wlan0="wlanmode ap"
> vap_create_wlan1="wlanmode ap"
> vaps_ath0="wlan0"
> vaps_ath0="wlan1"

Change this to: vaps_ath0="wlan0 wlan1"

> cloned_interfaces=bridge0
> ifconfig_bridge0="192.168.0.1 addm vr1 addm vr2 addm vr3 addm wlan0
> wlan1 up"

Looks like you need another 'addm' before wlan1 perhaps?

> ipv6_ifconfig_bridge0="inet6 2001:240:6a8::1/64"
> ifconfig_vr1=up
> ifconfig_vr2=up
> ifconfig_vr3=up
> ifconfig_wlan0="channel 11 ssid rg-crypt wep wepkey thirteenchars
> weptxkey 1 mediaopt hostap up"
> ifconfig_wlan1="channel 11 ssid rg-open mediaopt hostap up"

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804260818.49123.jhb>