xref: /freebsd/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 (revision 6d0d11ef25a57b7bd9e5a7d7bebccabb7e42fe14)
16d0d11efSSam Leffler.\" Copyright (c) 2005 Sam Leffler <sam@errno.com>
26d0d11efSSam Leffler.\" All rights reserved.
36d0d11efSSam Leffler.\"
46d0d11efSSam Leffler.\" Redistribution and use in source and binary forms, with or without
56d0d11efSSam Leffler.\" modification, are permitted provided that the following conditions
66d0d11efSSam Leffler.\" are met:
76d0d11efSSam Leffler.\" 1. Redistributions of source code must retain the above copyright
86d0d11efSSam Leffler.\"    notice, this list of conditions and the following disclaimer.
96d0d11efSSam Leffler.\" 2. Redistributions in binary form must reproduce the above copyright
106d0d11efSSam Leffler.\"    notice, this list of conditions and the following disclaimer in the
116d0d11efSSam Leffler.\"    documentation and/or other materials provided with the distribution.
126d0d11efSSam Leffler.\"
136d0d11efSSam Leffler.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
146d0d11efSSam Leffler.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
156d0d11efSSam Leffler.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
166d0d11efSSam Leffler.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
176d0d11efSSam Leffler.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
186d0d11efSSam Leffler.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
196d0d11efSSam Leffler.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
206d0d11efSSam Leffler.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
216d0d11efSSam Leffler.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
226d0d11efSSam Leffler.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
236d0d11efSSam Leffler.\" SUCH DAMAGE.
246d0d11efSSam Leffler.\"
256d0d11efSSam Leffler.\" $FreeBSD$
266d0d11efSSam Leffler.\"
276d0d11efSSam Leffler.Dd June 16, 2005
286d0d11efSSam Leffler.Dt WPA_SUPPLICANT 8
296d0d11efSSam Leffler.Os
306d0d11efSSam Leffler.Sh NAME
316d0d11efSSam Leffler.Nm wpa_supplicant
326d0d11efSSam Leffler.Nd "WPA/802.11i Supplicant for wireless network devices"
336d0d11efSSam Leffler.Sh SYNOPSIS
346d0d11efSSam Leffler.Nm
356d0d11efSSam Leffler.Op Fl BddehLqqvw
366d0d11efSSam Leffler.Fl i Ar ifname
376d0d11efSSam Leffler.Fl c Ar config-file
386d0d11efSSam Leffler.Op Fl N i Ar ifname Fl c Ar config-file ....
396d0d11efSSam Leffler.Sh DESCRIPTION
406d0d11efSSam Leffler.Nm
416d0d11efSSam Leffleris an implementation of the WPA Supplicant component,
426d0d11efSSam Leffleri.e., the part that runs in the client stations.
436d0d11efSSam Leffler.Nm
446d0d11efSSam Lefflerimplements WPA key negotiation with a WPA Authenticator
456d0d11efSSam Lefflerand EAP authentication with an Authentication Server.
466d0d11efSSam LefflerIn addition,
476d0d11efSSam Leffler.Nm
486d0d11efSSam Lefflercontrols the roaming and IEEE 802.11
496d0d11efSSam Lefflerauthentication/association support of the
506d0d11efSSam Leffler.Xr wlan 4
516d0d11efSSam Lefflermodule and can be used to configure static WEP keys
526d0d11efSSam Lefflerbased on identified networks.
536d0d11efSSam Leffler.Pp
546d0d11efSSam Leffler.Nm
556d0d11efSSam Leffleris designed to be a "daemon" program that runs in the
566d0d11efSSam Lefflerbackground and acts as the backend component controlling
576d0d11efSSam Lefflerthe wireless connection.
586d0d11efSSam Leffler.Nm
596d0d11efSSam Lefflersupports separate frontend programs such as the
606d0d11efSSam Lefflertext-based
616d0d11efSSam Leffler.Xr wpa_cli 8
626d0d11efSSam Lefflerprogram.
636d0d11efSSam Leffler.Pp
646d0d11efSSam LefflerThe following arguments must be specified on the command line:
656d0d11efSSam Leffler.Bl -tag -width indent
666d0d11efSSam Leffler.It Fl i Ar ifname
676d0d11efSSam LefflerUse the specified wireless interface.
686d0d11efSSam Leffler.It Fl c Ar config-file
696d0d11efSSam LefflerUse the settings in the specified configuration file when managing
706d0d11efSSam Lefflerthe wireless interface.
716d0d11efSSam LefflerSee
726d0d11efSSam Leffler.Xr wpa_supplicant.conf 5
736d0d11efSSam Lefflerfor a description of the configuration file syntax and contents.
746d0d11efSSam Leffler.Pp
756d0d11efSSam LefflerChanges to the configuration file can be reloaded by sending a
766d0d11efSSam Leffler.Nm SIGHUP
776d0d11efSSam Lefflerto the
786d0d11efSSam Leffler.Nm
796d0d11efSSam Lefflerprocess or with the
806d0d11efSSam Leffler.Nm wpa_cli
816d0d11efSSam Lefflerutility, using ``wpa_cli reconfigure''.
826d0d11efSSam Leffler.El
836d0d11efSSam Leffler.Sh OPTIONS
846d0d11efSSam LefflerThe following options are available:
856d0d11efSSam Leffler.Bl -tag -width indent
866d0d11efSSam Leffler.It Fl d
876d0d11efSSam LefflerEnable debugging messages.
886d0d11efSSam LefflerIf this option is supplied twice more verbose messages are displayed.
896d0d11efSSam Leffler.It Fl e
906d0d11efSSam LefflerUse an external IEEE 802.1X Supplicant program and disable the
916d0d11efSSam Lefflerinternal Supplicant.
926d0d11efSSam LefflerThis option is not normally used.
936d0d11efSSam Leffler.It Fl h
946d0d11efSSam LefflerShow help text.
956d0d11efSSam Leffler.It Fl q
966d0d11efSSam LefflerDecrease debugging verbosity (i.e. counteract the use of the
976d0d11efSSam Leffler.Fl d
986d0d11efSSam Lefflerflag.
996d0d11efSSam Leffler.It Fl v
1006d0d11efSSam LefflerDisplay version information on the terminal and exit.
1016d0d11efSSam Leffler.It Fl w
1026d0d11efSSam LefflerIf the specified interface is not present, wait for it to be
1036d0d11efSSam Leffleradded; e.g. a cardbus device to be inserted.
1046d0d11efSSam LefflerThis option is not normally used; instead
1056d0d11efSSam Leffler.Xr devd 8
1066d0d11efSSam Lefflershould be configured to launch
1076d0d11efSSam Leffler.Nm
1086d0d11efSSam Lefflerwhen a device is created.
1096d0d11efSSam Leffler.It Fl B
1106d0d11efSSam LefflerDetach from the controlling terminal and run as a daemon process
1116d0d11efSSam Lefflerin the background.
1126d0d11efSSam Leffler.It Fl K
1136d0d11efSSam LefflerInclude key information in debugging output.
1146d0d11efSSam Leffler.It Fl L
1156d0d11efSSam LefflerDisplay the license for this program on the terminal and exit.
1166d0d11efSSam Leffler.It Fl N Fl i Ar iface Fl Ar config-file
1176d0d11efSSam LefflerSpecify an additional interface and configuration file.
1186d0d11efSSam LefflerIf multiple interfaces are specified then
1196d0d11efSSam Leffler.Nm
1206d0d11efSSam Lefflerwill manage them all with a single process.
1216d0d11efSSam Leffler.El
1226d0d11efSSam Leffler.Sh SEE ALSO
1236d0d11efSSam Leffler.Xr ath 4 ,
1246d0d11efSSam Leffler.Xr iwi 4 ,
1256d0d11efSSam Leffler.Xr ipw 4 ,
1266d0d11efSSam Leffler.Xr ral 4 ,
1276d0d11efSSam Leffler.Xr ural 4 ,
1286d0d11efSSam Leffler.Xr wi 4 ,
1296d0d11efSSam Leffler.Xr wlan 4 ,
1306d0d11efSSam Leffler.Xr wpa_supplicant.conf 5 ,
1316d0d11efSSam Leffler.Xr devd 8 ,
1326d0d11efSSam Leffler.Xr wpa_cli 8 ,
1336d0d11efSSam Leffler.Xr ifconfig 8 .
1346d0d11efSSam Leffler.Sh HISTORY
1356d0d11efSSam LefflerThe
1366d0d11efSSam Leffler.Nm
1376d0d11efSSam Lefflerutility first appeared in
1386d0d11efSSam Leffler.Fx 6.0 .
1396d0d11efSSam Leffler.Sh AUTHORS
1406d0d11efSSam LefflerThe
1416d0d11efSSam Leffler.Nm
1426d0d11efSSam Lefflerutility was written by
1436d0d11efSSam Leffler.An Jouni Malinen Aq jkmaline@cc.hut.fi .
1446d0d11efSSam LefflerThis manual page is derived from the README file included in the
1456d0d11efSSam Leffler.Nm
1466d0d11efSSam Lefflerdistribution.
1476d0d11efSSam Leffler.Sh BUGS
148