From owner-freebsd-current@FreeBSD.ORG Sun Apr 27 15:02:31 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 738E31065677; Sun, 27 Apr 2008 15:02:31 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 025338FC1F; Sun, 27 Apr 2008 15:02:30 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m3RF2gl4098862; Sun, 27 Apr 2008 10:02:42 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m3RF2gCB098861; Sun, 27 Apr 2008 10:02:42 -0500 (CDT) (envelope-from brooks) Date: Sun, 27 Apr 2008 10:02:42 -0500 From: Brooks Davis To: Randy Bush Message-ID: <20080427150242.GA89937@lor.one-eyed-alien.net> References: <480D6667.4020509@errno.com> <20080422200616.GA44541@tirith.brixandersen.dk> <480E79F9.40303@freebsd.org> <480F358A.2000009@psg.com> <20080423142628.GA44288@lor.one-eyed-alien.net> <4812C59D.60806@psg.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <4812C59D.60806@psg.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Sun, 27 Apr 2008 10:02:42 -0500 (CDT) Cc: Brooks Davis , freebsd-current@freebsd.org 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: Sun, 27 Apr 2008 15:02:31 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 26, 2008 at 03:03:09PM +0900, Randy Bush wrote: > so, let me make sure i have this correctly. >=20 > i currently have >=20 > vap_create_wlan0=3D"wlanmode ap" > vaps_ath0=3D"wlan0" > cloned_interfaces=3Dbridge0 > ifconfig_bridge0=3D"192.168.0.1 addm vr1 addm vr2 addm vr3 addm wlan0 up" > ipv6_ifconfig_bridge0=3D"inet6 2001:240:6a8::1/64" > ifconfig_vr1=3Dup > ifconfig_vr2=3Dup > ifconfig_vr3=3Dup > ifconfig_wlan0=3D"channel 11 ssid rg-crypt wep wepkey thirteenchars > weptxkey 1 mediaopt hostap up" Since I've just changed things again, I'll note that when you update to a new world this config will still work (for the next two weeks), but I'm moving to a different naming convention. Specifically these lines: vap_create_wlan0=3D"wlanmode ap" vaps_ath0=3D"wlan0" will become: wlans_ath0=3D"wlan0" create_args_wlan0=3D"wlanmode ap" The goal is to use the more obvious wlans name for the list and a mroe gene= ric name for the arguments to create because we're discussing adding similar support for vlans and I've added support for create_args_ to interfaces created via cloned_interfaces. -- Brooks > to add a second ssid on the same device and same lan, i would change this= to >=20 > vap_create_wlan0=3D"wlanmode ap" > vap_create_wlan1=3D"wlanmode ap" > vaps_ath0=3D"wlan0" > vaps_ath0=3D"wlan1" > cloned_interfaces=3Dbridge0 > ifconfig_bridge0=3D"192.168.0.1 addm vr1 addm vr2 addm vr3 addm wlan0 > wlan1 up" > ipv6_ifconfig_bridge0=3D"inet6 2001:240:6a8::1/64" > ifconfig_vr1=3Dup > ifconfig_vr2=3Dup > ifconfig_vr3=3Dup > ifconfig_wlan0=3D"channel 11 ssid rg-crypt wep wepkey thirteenchars > weptxkey 1 mediaopt hostap up" > ifconfig_wlan1=3D"channel 11 ssid rg-open mediaopt hostap up" >=20 > and next month, i can get really kinky and run the two ssids into > separate 1q vlans. yes, i am serious, see the MENOG 3 network > presentation . >=20 > randy >=20 --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD8DBQFIFJWRXY6L6fI4GtQRAk8nAKCdb5WWAdtrAogYYFwopzOZuRiDpwCguB42 P11L9Z/miowpabjaBd8YsQs= =Nxz7 -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--