Date: Fri, 23 Apr 2004 06:07:53 -0700 (PDT) From: Dirk-Willem van Gulik <dirkx@webweaving.org> To: Darryl Hoar <darryl@osborne-ind.com> Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd machine as a wireless access point ? Message-ID: <20040423060229.P54360@skutsje.san.webweaving.org> In-Reply-To: <002e01c42932$4768f160$0701a8c0@darryl> References: <002e01c42932$4768f160$0701a8c0@darryl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 Apr 2004, Darryl Hoar wrote:
> I have a spare PC with Freebsd installed on it. Can I configure
> this machine to be a wireless access point ?
Install a prism 2 card and do something like (assuming fxp0
is your upstream iface and wi0 your card in AP mode).
rc.conf
ifconfig_wi0="inet 10.0.0.1/24 ssid myap channel 11 mediaopt hostap"
gateway_enable="YES"
natd_enable="YES"
natd_interface="fxp0"
Then install from ports isc-dhcpd with a config like:
ddns-update-style none;
always-broadcast on;
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.10 10.0.0.100;
option broadcast-address 10.0.0.255;
option subnet-mask 255.255.255.0;
option routers 10.0.0.1;
}
You rpopralby want do add a crrect
option domain-name-servers 10.0.0.1;
etc, etc.
The above is not secure in any way - so you may want to add WEP
for a start and then get more serious; add ipfw packet filtering
and nail things shut.
DW.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040423060229.P54360>
