Setting Up a FreeBSD Access Point
Starting
with FreeBSD 4.6, the default wireless driver (wi)
has support for using the HostAP functionality
of Intersil’s Prism cards. The FreeBSD
implementation is not as feature rich as the Linux implementation,
yet. The HostAP projects in both Linux and
FreeBSD development communities have received a great deal of
attention. The features available in both implementations will
continue to grow and become more robust.
When setting up a FreeBSD access point, it is advisable to start with
a stripped down kernel configuration. The custom kernel you build
must have the wi device configured. See Section 4.1.1 and Section 4.1.2 in Chapter 4 for a complete discussion on compiling a
secure FreeBSD. There should be little difference between a client
kernel and an access-point kernel. The principle of least privilege
dictates that you should only compile in the features and devices you
really need. The more unneeded options in your kernel, the greater
the likely of your machine eventually being compromised.
Once you have a properly compiled
kernel, configuring HostAP under FreeBSD is
straightforward. FreeBSD has unified wireless control commands under
the ifconfig utility.
HostAP is enabled via a flag passed to
ifconfig.
ifconfig
in HostAP mode
supports the following flags:
-
interface The name of the wireless interface to be managed.
-
ssid ssid The Service Set Identifier the access point will be identified by. This is the value stations will use to associate ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access