Date: Sun, 27 Apr 2008 10:02:42 -0500 From: Brooks Davis <brooks@freebsd.org> To: Randy Bush <randy@psg.com> Cc: Brooks Davis <brooks@freebsd.org>, freebsd-current@freebsd.org Subject: Re: HEADSUP: 802.11 vap support merged Message-ID: <20080427150242.GA89937@lor.one-eyed-alien.net> In-Reply-To: <4812C59D.60806@psg.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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_<if> 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 <http://rip.psg.com/~randy/080417.menog-v6net.pdf>. >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080427150242.GA89937>