HEADSUP: 802.11 vap support merged

John Baldwin jhb at freebsd.org
Sat Apr 26 12:23:47 UTC 2008


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


More information about the freebsd-current mailing list