xref: /freebsd/usr.sbin/wpa/hostapd/hostapd.8 (revision 870a6d51817a9d9d0a6ddb1dd9fa8dfcb878aa2b)
1b9b8a416SSam Leffler.\" Copyright (c) 2005 Sam Leffler <sam@errno.com>
2b9b8a416SSam Leffler.\" All rights reserved.
3b9b8a416SSam Leffler.\"
4b9b8a416SSam Leffler.\" Redistribution and use in source and binary forms, with or without
5b9b8a416SSam Leffler.\" modification, are permitted provided that the following conditions
6b9b8a416SSam Leffler.\" are met:
7b9b8a416SSam Leffler.\" 1. Redistributions of source code must retain the above copyright
8b9b8a416SSam Leffler.\"    notice, this list of conditions and the following disclaimer.
9b9b8a416SSam Leffler.\" 2. Redistributions in binary form must reproduce the above copyright
10b9b8a416SSam Leffler.\"    notice, this list of conditions and the following disclaimer in the
11b9b8a416SSam Leffler.\"    documentation and/or other materials provided with the distribution.
12b9b8a416SSam Leffler.\"
13b9b8a416SSam Leffler.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14b9b8a416SSam Leffler.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15b9b8a416SSam Leffler.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16b9b8a416SSam Leffler.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17b9b8a416SSam Leffler.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18b9b8a416SSam Leffler.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19b9b8a416SSam Leffler.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20b9b8a416SSam Leffler.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21b9b8a416SSam Leffler.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22b9b8a416SSam Leffler.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23b9b8a416SSam Leffler.\" SUCH DAMAGE.
24b9b8a416SSam Leffler.\"
25b9b8a416SSam Leffler.\" $FreeBSD$
26b9b8a416SSam Leffler.\"
27e9d5ba06SSimon L. B. Nielsen.Dd October 26, 2007
28b9b8a416SSam Leffler.Dt HOSTAPD 8
29b9b8a416SSam Leffler.Os
30b9b8a416SSam Leffler.Sh NAME
31b9b8a416SSam Leffler.Nm hostapd
32b9b8a416SSam Leffler.Nd "authenticator for IEEE 802.11 networks"
33b9b8a416SSam Leffler.Sh SYNOPSIS
34b9b8a416SSam Leffler.Nm
35e516c0d9SRuslan Ermilov.Op Fl BdhKtv
36e9d5ba06SSimon L. B. Nielsen.Op Fl P Ar pidfile
37b9b8a416SSam Leffler.Ar config-file ...
38b9b8a416SSam Leffler.Sh DESCRIPTION
39e516c0d9SRuslan ErmilovThe
40b9b8a416SSam Leffler.Nm
41e516c0d9SRuslan Ermilovutility
42b9b8a416SSam Leffleris an authenticator for IEEE 802.11 networks.
43b9b8a416SSam LefflerIt provides full support for WPA/IEEE 802.11i and
44b9b8a416SSam Lefflercan also act as an IEEE 802.1X Authenticator with a suitable
45e516c0d9SRuslan Ermilovbackend Authentication Server (typically
46e516c0d9SRuslan Ermilov.Tn FreeRADIUS ) .
47e516c0d9SRuslan ErmilovThe
48b9b8a416SSam Leffler.Nm
49e516c0d9SRuslan Ermilovutility
50b9b8a416SSam Lefflerimplements the authentication protocols that piggyback on top
51b9b8a416SSam Lefflerof the normal IEEE 802.11 protocol mechanisms.
52b9b8a416SSam LefflerTo use
53b9b8a416SSam Leffler.Nm
54e516c0d9SRuslan Ermilovas an authenticator, the underlying device must support some
55b9b8a416SSam Lefflerbasic functionality such as the ability to set security information
56b9b8a416SSam Lefflerin the 802.11 management frames.
57b9b8a416SSam LefflerBeware that not all devices have this support.
58b9b8a416SSam Leffler.Pp
59e516c0d9SRuslan ErmilovThe
60b9b8a416SSam Leffler.Nm
61e516c0d9SRuslan Ermilovutility
62e516c0d9SRuslan Ermilovis designed to be a
63e516c0d9SRuslan Ermilov.Dq daemon
64e516c0d9SRuslan Ermilovprogram that runs in the
65b9b8a416SSam Lefflerbackground and acts as the backend component controlling
66b9b8a416SSam Lefflerthe wireless connection.
67e516c0d9SRuslan ErmilovIt supports separate frontend programs such as the
68b9b8a416SSam Lefflertext-based frontend,
69e516c0d9SRuslan Ermilov.Xr hostapd_cli 8 .
70b9b8a416SSam Leffler.Pp
71b9b8a416SSam LefflerThe following arguments must be specified on the command line:
72b9b8a416SSam Leffler.Bl -tag -width indent
73e516c0d9SRuslan Ermilov.It Ar config-file
74b9b8a416SSam LefflerUse the settings in the specified configuration file; the name of
75b9b8a416SSam Lefflerthe specified wireless interface is contained in this file.
76b9b8a416SSam LefflerSee
77b9b8a416SSam Leffler.Xr hostapd.conf 5
78b9b8a416SSam Lefflerfor a description of the configuration file syntax.
79b9b8a416SSam Leffler.Pp
80b9b8a416SSam LefflerChanges to the configuration file can be reloaded by sending a
81e516c0d9SRuslan Ermilov.Dv SIGHUP
82b9b8a416SSam Lefflerto the
83b9b8a416SSam Leffler.Nm
84b9b8a416SSam Lefflerprocessor or with the
85e516c0d9SRuslan Ermilov.Xr hostapd_cli 8
86e516c0d9SRuslan Ermilovutility, using
87e516c0d9SRuslan Ermilov.Dq Li "hostapd_cli reconfigure" .
88b9b8a416SSam Leffler.El
89b9b8a416SSam Leffler.Sh OPTIONS
90b9b8a416SSam LefflerThe options are as follows:
91b9b8a416SSam Leffler.Bl -tag -width indent
92b9b8a416SSam Leffler.It Fl d
93b9b8a416SSam LefflerEnable debugging messages.
94e516c0d9SRuslan ErmilovIf this option is supplied twice, more verbose messages are displayed.
95b9b8a416SSam Leffler.It Fl h
96b9b8a416SSam LefflerShow help text.
97b9b8a416SSam Leffler.It Fl t
98b9b8a416SSam LefflerInclude timestamps in debugging output.
99b9b8a416SSam Leffler.It Fl v
100b9b8a416SSam LefflerDisplay version information on the terminal and exit.
101b9b8a416SSam Leffler.It Fl B
102b9b8a416SSam LefflerDetach from the controlling terminal and run as a daemon process
103b9b8a416SSam Lefflerin the background.
104b9b8a416SSam Leffler.It Fl K
105b9b8a416SSam LefflerInclude key information in debugging output.
106e9d5ba06SSimon L. B. Nielsen.It Fl P Ar pidfile
107e9d5ba06SSimon L. B. NielsenStore PID in
108e9d5ba06SSimon L. B. Nielsen.Ar pidfile .
109b9b8a416SSam Leffler.El
110b9b8a416SSam Leffler.Sh SEE ALSO
111b9b8a416SSam Leffler.Xr ath 4 ,
112b9b8a416SSam Leffler.Xr ipw 4 ,
113e516c0d9SRuslan Ermilov.Xr iwi 4 ,
114b9b8a416SSam Leffler.Xr ral 4 ,
115*870a6d51SKevin Lo.Xr run 4 ,
116b9b8a416SSam Leffler.Xr ural 4 ,
117b9b8a416SSam Leffler.Xr wi 4 ,
118b9b8a416SSam Leffler.Xr hostapd.conf 5 ,
119e516c0d9SRuslan Ermilov.Xr hostapd_cli 8 ,
120b9b8a416SSam Leffler.Xr ifconfig 8
121b9b8a416SSam Leffler.Sh HISTORY
122b9b8a416SSam LefflerThe
123b9b8a416SSam Leffler.Nm
124b9b8a416SSam Lefflerutility first appeared in
125b9b8a416SSam Leffler.Fx 6.0 .
126b9b8a416SSam Leffler.Sh AUTHORS
127b9b8a416SSam LefflerThe
128b9b8a416SSam Leffler.Nm
129b9b8a416SSam Lefflerutility was written by
1304365f62bSSam Leffler.An Jouni Malinen Aq j@w1.fi .
131e516c0d9SRuslan ErmilovThis manual page is derived from the
132e516c0d9SRuslan Ermilov.Pa README
133e516c0d9SRuslan Ermilovfile included in the
134b9b8a416SSam Leffler.Nm
135b9b8a416SSam Lefflerdistribution.
136