xref: /freebsd/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 (revision 5c59e40bc419870659946156b45a390cabd69c02)
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.\"
25522867c2SConrad Meyer.Dd July 28, 2018
266d0d11efSSam Leffler.Dt WPA_SUPPLICANT 8
276d0d11efSSam Leffler.Os
286d0d11efSSam Leffler.Sh NAME
296d0d11efSSam Leffler.Nm wpa_supplicant
306d0d11efSSam Leffler.Nd "WPA/802.11i Supplicant for wireless network devices"
316d0d11efSSam Leffler.Sh SYNOPSIS
326d0d11efSSam Leffler.Nm
337c6257cfSIsabell Long.Op Fl BdhKLqstuvW
347c6257cfSIsabell Long.Op Fl b Ar br_ifname
357c6257cfSIsabell Long.Fl c Ar config-file
367c6257cfSIsabell Long.Op Fl C Ar ctrl
377c6257cfSIsabell Long.Op Fl D Ar driver
387c6257cfSIsabell Long.Op Fl f Ar debug file
397c6257cfSIsabell Long.Op Fl g Ar global ctrl
407c6257cfSIsabell Long.Fl i Ar ifname
417c6257cfSIsabell Long.Op Fl o Ar override driver
427c6257cfSIsabell Long.Op Fl O Ar override ctrl
437c6257cfSIsabell Long.Op Fl P Ar pid file
447c6257cfSIsabell Long.Oo Fl N
456d0d11efSSam Leffler.Fl i Ar ifname
466d0d11efSSam Leffler.Fl c Ar config-file
477c6257cfSIsabell Long.Op Fl C Ar ctrl
487c6257cfSIsabell Long.Op Fl D driver
497c6257cfSIsabell Long.Op Fl p Ar driver_param
507c6257cfSIsabell Long.Op Fl b Ar br_ifname
517c6257cfSIsabell Long.No ...
527c6257cfSIsabell Long.Oc
536d0d11efSSam Leffler.Sh DESCRIPTION
54e516c0d9SRuslan ErmilovThe
556d0d11efSSam Leffler.Nm
56e516c0d9SRuslan Ermilovutility
576d0d11efSSam Leffleris an implementation of the WPA Supplicant component,
586d0d11efSSam Leffleri.e., the part that runs in the client stations.
59e516c0d9SRuslan ErmilovIt implements WPA key negotiation with a WPA Authenticator
606d0d11efSSam Lefflerand EAP authentication with an Authentication Server.
611f5e2d56SJens SchweikhardtIn addition,
621f5e2d56SJens Schweikhardt.Nm
631f5e2d56SJens Schweikhardtcontrols the roaming and IEEE 802.11
641f5e2d56SJens Schweikhardtauthentication/association support of the
651f5e2d56SJens Schweikhardt.Xr wlan 4
661f5e2d56SJens Schweikhardtmodule and can be used to configure static WEP keys
671f5e2d56SJens Schweikhardtbased on identified networks.
686d0d11efSSam Leffler.Pp
69e516c0d9SRuslan ErmilovThe
706d0d11efSSam Leffler.Nm
71e516c0d9SRuslan Ermilovutility
72e516c0d9SRuslan Ermilovis designed to be a
73e516c0d9SRuslan Ermilov.Dq daemon
74e516c0d9SRuslan Ermilovprogram that runs in the
756d0d11efSSam Lefflerbackground and acts as the backend component controlling
766d0d11efSSam Lefflerthe wireless connection.
77e516c0d9SRuslan ErmilovIt supports separate frontend programs such as the
786d0d11efSSam Lefflertext-based
796d0d11efSSam Leffler.Xr wpa_cli 8
806d0d11efSSam Lefflerprogram.
816d0d11efSSam Leffler.Pp
826d0d11efSSam LefflerThe following arguments must be specified on the command line:
836d0d11efSSam Leffler.Bl -tag -width indent
846d0d11efSSam Leffler.It Fl i Ar ifname
856d0d11efSSam LefflerUse the specified wireless interface.
866d0d11efSSam Leffler.It Fl c Ar config-file
876d0d11efSSam LefflerUse the settings in the specified configuration file when managing
886d0d11efSSam Lefflerthe wireless interface.
896d0d11efSSam LefflerSee
906d0d11efSSam Leffler.Xr wpa_supplicant.conf 5
916d0d11efSSam Lefflerfor a description of the configuration file syntax and contents.
926d0d11efSSam Leffler.Pp
936d0d11efSSam LefflerChanges to the configuration file can be reloaded by sending a
94e516c0d9SRuslan Ermilov.Dv SIGHUP
956d0d11efSSam Lefflerto the
966d0d11efSSam Leffler.Nm
976d0d11efSSam Lefflerprocess or with the
98e516c0d9SRuslan Ermilov.Xr wpa_cli 8
99e516c0d9SRuslan Ermilovutility, using
100e516c0d9SRuslan Ermilov.Dq Li "wpa_cli reconfigure" .
1016d0d11efSSam Leffler.El
1026d0d11efSSam Leffler.Sh OPTIONS
1036d0d11efSSam LefflerThe following options are available:
1046d0d11efSSam Leffler.Bl -tag -width indent
1057c6257cfSIsabell Long.It Fl b
1067c6257cfSIsabell LongOptional bridge interface name.
1077c6257cfSIsabell Long.It Fl B
1087c6257cfSIsabell LongDetach from the controlling terminal and run as a daemon process
1097c6257cfSIsabell Longin the background.
1106d0d11efSSam Leffler.It Fl d
1116d0d11efSSam LefflerEnable debugging messages.
112e516c0d9SRuslan ErmilovIf this option is supplied twice, more verbose messages are displayed.
1137c6257cfSIsabell Long.It Fl D
1147c6257cfSIsabell LongDriver name (can be multiple drivers: nl80211,wext).
1157c6257cfSIsabell Long.It Fl f
1167c6257cfSIsabell LongLog output to debug file instead of stdout.
1177c6257cfSIsabell Long.It Fl g
1187c6257cfSIsabell LongGlobal ctrl_interface.
1196d0d11efSSam Leffler.It Fl h
1206d0d11efSSam LefflerShow help text.
1217c6257cfSIsabell Long.It Fl K
1227c6257cfSIsabell LongInclude key information in debugging output.
1237c6257cfSIsabell Long.It Fl L
1247c6257cfSIsabell LongDisplay the license for this program on the terminal and exit.
1257c6257cfSIsabell Long.It Fl N
1267c6257cfSIsabell LongStart describing a new interface.
1277c6257cfSIsabell Long.It Fl o
1287c6257cfSIsabell LongOverrides driver parameter for new interfaces.
1297c6257cfSIsabell Long.It Fl O
1307c6257cfSIsabell LongOverride ctrl_interface parameter for new interfaces.
1317c6257cfSIsabell Long.It Fl p
1327c6257cfSIsabell LongSpecify driver parameters.
1337c6257cfSIsabell Long.It Fl P
1347c6257cfSIsabell LongFile in which to save the process PID.
1356d0d11efSSam Leffler.It Fl q
136e516c0d9SRuslan ErmilovDecrease debugging verbosity (i.e., counteract the use of the
1376d0d11efSSam Leffler.Fl d
138e516c0d9SRuslan Ermilovflag).
139b685f674SSam Leffler.It Fl s
140b685f674SSam LefflerSend log messages through
141b685f674SSam Leffler.Xr syslog 3
142b685f674SSam Lefflerinstead of to the terminal.
1437c6257cfSIsabell Long.It Fl t
1447c6257cfSIsabell LongInclude timestamp in debug messages.
1456d0d11efSSam Leffler.It Fl v
1466d0d11efSSam LefflerDisplay version information on the terminal and exit.
1477c6257cfSIsabell Long.It Fl W
1487c6257cfSIsabell LongWait for a control interface monitor before starting.
1496d0d11efSSam Leffler.El
1506d0d11efSSam Leffler.Sh SEE ALSO
1516d0d11efSSam Leffler.Xr ath 4 ,
1526d0d11efSSam Leffler.Xr ipw 4 ,
153e516c0d9SRuslan Ermilov.Xr iwi 4 ,
1546d0d11efSSam Leffler.Xr ral 4 ,
1554bf10a52SChristian Brueffer.Xr rum 4 ,
1566d0d11efSSam Leffler.Xr ural 4 ,
1576d0d11efSSam Leffler.Xr wlan 4 ,
1584bf10a52SChristian Brueffer.Xr wpi 4 ,
1594bf10a52SChristian Brueffer.Xr zyd 4 ,
1606d0d11efSSam Leffler.Xr wpa_supplicant.conf 5 ,
1616d0d11efSSam Leffler.Xr devd 8 ,
162e516c0d9SRuslan Ermilov.Xr ifconfig 8 ,
163*5c59e40bSAlexander Ziaee.Xr wpa_cli 8 ,
164*5c59e40bSAlexander Ziaee.Xr wpa_passphrase 8
1656d0d11efSSam Leffler.Sh HISTORY
1666d0d11efSSam LefflerThe
1676d0d11efSSam Leffler.Nm
1686d0d11efSSam Lefflerutility first appeared in
1696d0d11efSSam Leffler.Fx 6.0 .
1706d0d11efSSam Leffler.Sh AUTHORS
1716d0d11efSSam LefflerThe
1726d0d11efSSam Leffler.Nm
1736d0d11efSSam Lefflerutility was written by
17401c2b8acSBaptiste Daroussin.An Jouni Malinen Aq Mt j@w1.fi .
175e516c0d9SRuslan ErmilovThis manual page is derived from the
176e516c0d9SRuslan Ermilov.Pa README
177e516c0d9SRuslan Ermilovfile included in the
1786d0d11efSSam Leffler.Nm
1796d0d11efSSam Lefflerdistribution.
180