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.\" 25abded2bcSGlen Barber.Dd July 18, 2012 26b9b8a416SSam Leffler.Dt HOSTAPD 8 27b9b8a416SSam Leffler.Os 28b9b8a416SSam Leffler.Sh NAME 29b9b8a416SSam Leffler.Nm hostapd 30b9b8a416SSam Leffler.Nd "authenticator for IEEE 802.11 networks" 31b9b8a416SSam Leffler.Sh SYNOPSIS 32b9b8a416SSam Leffler.Nm 33e516c0d9SRuslan Ermilov.Op Fl BdhKtv 34e9d5ba06SSimon L. B. Nielsen.Op Fl P Ar pidfile 35b9b8a416SSam Leffler.Ar config-file ... 36b9b8a416SSam Leffler.Sh DESCRIPTION 37e516c0d9SRuslan ErmilovThe 38b9b8a416SSam Leffler.Nm 39e516c0d9SRuslan Ermilovutility 40b9b8a416SSam Leffleris an authenticator for IEEE 802.11 networks. 41b9b8a416SSam LefflerIt provides full support for WPA/IEEE 802.11i and 42b9b8a416SSam Lefflercan also act as an IEEE 802.1X Authenticator with a suitable 43e516c0d9SRuslan Ermilovbackend Authentication Server (typically 44e516c0d9SRuslan Ermilov.Tn FreeRADIUS ) . 45e516c0d9SRuslan ErmilovThe 46b9b8a416SSam Leffler.Nm 47e516c0d9SRuslan Ermilovutility 48b9b8a416SSam Lefflerimplements the authentication protocols that piggyback on top 49b9b8a416SSam Lefflerof the normal IEEE 802.11 protocol mechanisms. 50b9b8a416SSam LefflerTo use 51b9b8a416SSam Leffler.Nm 52e516c0d9SRuslan Ermilovas an authenticator, the underlying device must support some 53b9b8a416SSam Lefflerbasic functionality such as the ability to set security information 54b9b8a416SSam Lefflerin the 802.11 management frames. 55b9b8a416SSam LefflerBeware that not all devices have this support. 56b9b8a416SSam Leffler.Pp 57e516c0d9SRuslan ErmilovThe 58b9b8a416SSam Leffler.Nm 59e516c0d9SRuslan Ermilovutility 60e516c0d9SRuslan Ermilovis designed to be a 61e516c0d9SRuslan Ermilov.Dq daemon 62e516c0d9SRuslan Ermilovprogram that runs in the 63b9b8a416SSam Lefflerbackground and acts as the backend component controlling 64b9b8a416SSam Lefflerthe wireless connection. 65e516c0d9SRuslan ErmilovIt supports separate frontend programs such as the 66b9b8a416SSam Lefflertext-based frontend, 67e516c0d9SRuslan Ermilov.Xr hostapd_cli 8 . 68b9b8a416SSam Leffler.Pp 69b9b8a416SSam LefflerThe following arguments must be specified on the command line: 70b9b8a416SSam Leffler.Bl -tag -width indent 71e516c0d9SRuslan Ermilov.It Ar config-file 72b9b8a416SSam LefflerUse the settings in the specified configuration file; the name of 73b9b8a416SSam Lefflerthe specified wireless interface is contained in this file. 74b9b8a416SSam LefflerSee 75b9b8a416SSam Leffler.Xr hostapd.conf 5 76b9b8a416SSam Lefflerfor a description of the configuration file syntax. 77b9b8a416SSam Leffler.Pp 78b9b8a416SSam LefflerChanges to the configuration file can be reloaded by sending a 79e516c0d9SRuslan Ermilov.Dv SIGHUP 80b9b8a416SSam Lefflerto the 81b9b8a416SSam Leffler.Nm 82b9b8a416SSam Lefflerprocessor or with the 83e516c0d9SRuslan Ermilov.Xr hostapd_cli 8 84e516c0d9SRuslan Ermilovutility, using 85e516c0d9SRuslan Ermilov.Dq Li "hostapd_cli reconfigure" . 86b9b8a416SSam Leffler.El 87b9b8a416SSam Leffler.Sh OPTIONS 88b9b8a416SSam LefflerThe options are as follows: 89b9b8a416SSam Leffler.Bl -tag -width indent 90b9b8a416SSam Leffler.It Fl d 91b9b8a416SSam LefflerEnable debugging messages. 92e516c0d9SRuslan ErmilovIf this option is supplied twice, more verbose messages are displayed. 93b9b8a416SSam Leffler.It Fl h 94b9b8a416SSam LefflerShow help text. 95b9b8a416SSam Leffler.It Fl t 96b9b8a416SSam LefflerInclude timestamps in debugging output. 97b9b8a416SSam Leffler.It Fl v 98b9b8a416SSam LefflerDisplay version information on the terminal and exit. 99b9b8a416SSam Leffler.It Fl B 100b9b8a416SSam LefflerDetach from the controlling terminal and run as a daemon process 101b9b8a416SSam Lefflerin the background. 102b9b8a416SSam Leffler.It Fl K 103b9b8a416SSam LefflerInclude key information in debugging output. 104e9d5ba06SSimon L. B. Nielsen.It Fl P Ar pidfile 105e9d5ba06SSimon L. B. NielsenStore PID in 106e9d5ba06SSimon L. B. Nielsen.Ar pidfile . 107b9b8a416SSam Leffler.El 108b9b8a416SSam Leffler.Sh SEE ALSO 109b9b8a416SSam Leffler.Xr ath 4 , 110b9b8a416SSam Leffler.Xr ipw 4 , 111e516c0d9SRuslan Ermilov.Xr iwi 4 , 112abded2bcSGlen Barber.Xr mwl 4 , 113b9b8a416SSam Leffler.Xr ral 4 , 114abded2bcSGlen Barber.Xr rum 4 , 115870a6d51SKevin Lo.Xr run 4 , 116b9b8a416SSam Leffler.Xr ural 4 , 117b9b8a416SSam Leffler.Xr hostapd.conf 5 , 118e516c0d9SRuslan Ermilov.Xr hostapd_cli 8 , 119b9b8a416SSam Leffler.Xr ifconfig 8 120b9b8a416SSam Leffler.Sh HISTORY 121b9b8a416SSam LefflerThe 122b9b8a416SSam Leffler.Nm 123b9b8a416SSam Lefflerutility first appeared in 124b9b8a416SSam Leffler.Fx 6.0 . 125b9b8a416SSam Leffler.Sh AUTHORS 126b9b8a416SSam LefflerThe 127b9b8a416SSam Leffler.Nm 128b9b8a416SSam Lefflerutility was written by 129*01c2b8acSBaptiste Daroussin.An Jouni Malinen Aq Mt j@w1.fi . 130e516c0d9SRuslan ErmilovThis manual page is derived from the 131e516c0d9SRuslan Ermilov.Pa README 132e516c0d9SRuslan Ermilovfile included in the 133b9b8a416SSam Leffler.Nm 134b9b8a416SSam Lefflerdistribution. 135