From owner-freebsd-current@FreeBSD.ORG Sat Apr 26 12:23:47 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 0ACAF1065674; Sat, 26 Apr 2008 12:23:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9FA458FC1D; Sat, 26 Apr 2008 12:23:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (unknown [208.65.91.234]) by elvis.mu.org (Postfix) with ESMTP id 669781A4D8B; Sat, 26 Apr 2008 05:23:41 -0700 (PDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Sat, 26 Apr 2008 08:18:48 -0400 User-Agent: KMail/1.9.7 References: <480D6667.4020509@errno.com> <20080423142628.GA44288@lor.one-eyed-alien.net> <4812C59D.60806@psg.com> In-Reply-To: <4812C59D.60806@psg.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804260818.49123.jhb@freebsd.org> Cc: Randy Bush , Brooks Davis Subject: Re: HEADSUP: 802.11 vap support merged 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: Sat, 26 Apr 2008 12:23:47 -0000 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