xref: /dflybsd-src/usr.sbin/802_11/wpa_supplicant/wpa_supplicant.8 (revision 8716355dc75d1d538e96594782ba6a63290e7593)
1da211034SSepherosa Ziehau.\" Copyright (c) 2005 Sam Leffler <sam@errno.com>
2da211034SSepherosa Ziehau.\" All rights reserved.
3da211034SSepherosa Ziehau.\"
4da211034SSepherosa Ziehau.\" Redistribution and use in source and binary forms, with or without
5da211034SSepherosa Ziehau.\" modification, are permitted provided that the following conditions
6da211034SSepherosa Ziehau.\" are met:
7da211034SSepherosa Ziehau.\" 1. Redistributions of source code must retain the above copyright
8da211034SSepherosa Ziehau.\"    notice, this list of conditions and the following disclaimer.
9da211034SSepherosa Ziehau.\" 2. Redistributions in binary form must reproduce the above copyright
10da211034SSepherosa Ziehau.\"    notice, this list of conditions and the following disclaimer in the
11da211034SSepherosa Ziehau.\"    documentation and/or other materials provided with the distribution.
12da211034SSepherosa Ziehau.\"
13da211034SSepherosa Ziehau.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14da211034SSepherosa Ziehau.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15da211034SSepherosa Ziehau.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16da211034SSepherosa Ziehau.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17da211034SSepherosa Ziehau.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18da211034SSepherosa Ziehau.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19da211034SSepherosa Ziehau.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20da211034SSepherosa Ziehau.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21da211034SSepherosa Ziehau.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22da211034SSepherosa Ziehau.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23da211034SSepherosa Ziehau.\" SUCH DAMAGE.
24da211034SSepherosa Ziehau.\"
252513f15eSJohn Marino.\" $FreeBSD: head/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 242696 2012-11-07 15:47:36Z issyl0 $
26da211034SSepherosa Ziehau.\"
27*8716355dSDaniel Fojt.Dd May 21, 2020
28da211034SSepherosa Ziehau.Dt WPA_SUPPLICANT 8
29da211034SSepherosa Ziehau.Os
30da211034SSepherosa Ziehau.Sh NAME
31da211034SSepherosa Ziehau.Nm wpa_supplicant
32da211034SSepherosa Ziehau.Nd "WPA/802.11i Supplicant for wireless network devices"
33da211034SSepherosa Ziehau.Sh SYNOPSIS
34da211034SSepherosa Ziehau.Nm
35699593e0SSascha Wildner.Op Fl BdhKLqstuvW
36699593e0SSascha Wildner.Op Fl b Ar br_ifname
37699593e0SSascha Wildner.Fl c Ar config-file
38699593e0SSascha Wildner.Op Fl C Ar ctrl
39699593e0SSascha Wildner.Op Fl D Ar driver
40699593e0SSascha Wildner.Op Fl f Ar debug file
41699593e0SSascha Wildner.Op Fl g Ar global ctrl
42699593e0SSascha Wildner.Fl i Ar ifname
43699593e0SSascha Wildner.Op Fl o Ar override driver
44699593e0SSascha Wildner.Op Fl O Ar override ctrl
45699593e0SSascha Wildner.Op Fl P Ar pid file
46699593e0SSascha Wildner.Oo Fl N
47da211034SSepherosa Ziehau.Fl i Ar ifname
48da211034SSepherosa Ziehau.Fl c Ar config-file
49699593e0SSascha Wildner.Op Fl C Ar ctrl
50*8716355dSDaniel Fojt.Op Fl D Ar driver
51699593e0SSascha Wildner.Op Fl p Ar driver_param
52699593e0SSascha Wildner.Op Fl b Ar br_ifname
53699593e0SSascha Wildner.Oc
54*8716355dSDaniel Fojt.Oo Fl M
55*8716355dSDaniel Fojt.Fl i Ar ifpattern
56*8716355dSDaniel Fojt.Fl c Ar config-file
57*8716355dSDaniel Fojt.Op Fl D Ar driver
58*8716355dSDaniel Fojt.Oc
59*8716355dSDaniel Fojt.No ...
60da211034SSepherosa Ziehau.Sh DESCRIPTION
61da211034SSepherosa ZiehauThe
62da211034SSepherosa Ziehau.Nm
63da211034SSepherosa Ziehauutility
64da211034SSepherosa Ziehauis an implementation of the WPA Supplicant component,
65da211034SSepherosa Ziehaui.e., the part that runs in the client stations.
66da211034SSepherosa ZiehauIt implements WPA key negotiation with a WPA Authenticator
67da211034SSepherosa Ziehauand EAP authentication with an Authentication Server.
68da211034SSepherosa ZiehauIn addition,
69da211034SSepherosa Ziehau.Nm
70da211034SSepherosa Ziehaucontrols the roaming and IEEE 802.11
71da211034SSepherosa Ziehauauthentication/association support of the
72da211034SSepherosa Ziehau.Xr wlan 4
73da211034SSepherosa Ziehaumodule and can be used to configure static WEP keys
74da211034SSepherosa Ziehaubased on identified networks.
75da211034SSepherosa Ziehau.Pp
76da211034SSepherosa ZiehauThe
77da211034SSepherosa Ziehau.Nm
78da211034SSepherosa Ziehauutility
79da211034SSepherosa Ziehauis designed to be a
80da211034SSepherosa Ziehau.Dq daemon
81da211034SSepherosa Ziehauprogram that runs in the
82da211034SSepherosa Ziehaubackground and acts as the backend component controlling
83da211034SSepherosa Ziehauthe wireless connection.
84da211034SSepherosa ZiehauIt supports separate frontend programs such as the
85da211034SSepherosa Ziehautext-based
86da211034SSepherosa Ziehau.Xr wpa_cli 8
87da211034SSepherosa Ziehauprogram.
88da211034SSepherosa Ziehau.Pp
89da211034SSepherosa ZiehauThe following arguments must be specified on the command line:
90da211034SSepherosa Ziehau.Bl -tag -width indent
91da211034SSepherosa Ziehau.It Fl i Ar ifname
92da211034SSepherosa ZiehauUse the specified wireless interface.
93*8716355dSDaniel Fojt.Pp
94*8716355dSDaniel FojtIf combined with -M, this is actually a pattern used to match
95*8716355dSDaniel Fojtan interface when it becomes available, for example 'wlan*'.
96da211034SSepherosa Ziehau.It Fl c Ar config-file
97da211034SSepherosa ZiehauUse the settings in the specified configuration file when managing
98da211034SSepherosa Ziehauthe wireless interface.
99da211034SSepherosa ZiehauSee
100da211034SSepherosa Ziehau.Xr wpa_supplicant.conf 5
101da211034SSepherosa Ziehaufor a description of the configuration file syntax and contents.
102da211034SSepherosa Ziehau.Pp
103da211034SSepherosa ZiehauChanges to the configuration file can be reloaded by sending a
104da211034SSepherosa Ziehau.Dv SIGHUP
105da211034SSepherosa Ziehauto the
106da211034SSepherosa Ziehau.Nm
107da211034SSepherosa Ziehauprocess or with the
108da211034SSepherosa Ziehau.Xr wpa_cli 8
109da211034SSepherosa Ziehauutility, using
110da211034SSepherosa Ziehau.Dq Li "wpa_cli reconfigure" .
111da211034SSepherosa Ziehau.El
112da211034SSepherosa Ziehau.Sh OPTIONS
113da211034SSepherosa ZiehauThe following options are available:
114da211034SSepherosa Ziehau.Bl -tag -width indent
115699593e0SSascha Wildner.It Fl b
116699593e0SSascha WildnerOptional bridge interface name.
117699593e0SSascha Wildner.It Fl B
118699593e0SSascha WildnerDetach from the controlling terminal and run as a daemon process
119699593e0SSascha Wildnerin the background.
120da211034SSepherosa Ziehau.It Fl d
121da211034SSepherosa ZiehauEnable debugging messages.
122da211034SSepherosa ZiehauIf this option is supplied twice, more verbose messages are displayed.
123699593e0SSascha Wildner.It Fl D
124*8716355dSDaniel FojtDriver name ('bsd' or 'wired')
125699593e0SSascha Wildner.It Fl f
126699593e0SSascha WildnerLog output to debug file instead of stdout.
127699593e0SSascha Wildner.It Fl g
128699593e0SSascha WildnerGlobal ctrl_interface.
129da211034SSepherosa Ziehau.It Fl h
130da211034SSepherosa ZiehauShow help text.
131699593e0SSascha Wildner.It Fl K
132699593e0SSascha WildnerInclude key information in debugging output.
133699593e0SSascha Wildner.It Fl L
134699593e0SSascha WildnerDisplay the license for this program on the terminal and exit.
135*8716355dSDaniel Fojt.It Fl M
136*8716355dSDaniel FojtStart describing a new interface matching given pattern.
137699593e0SSascha Wildner.It Fl N
138699593e0SSascha WildnerStart describing a new interface.
139699593e0SSascha Wildner.It Fl o
140699593e0SSascha WildnerOverrides driver parameter for new interfaces.
141699593e0SSascha Wildner.It Fl O
142699593e0SSascha WildnerOverride ctrl_interface parameter for new interfaces.
143699593e0SSascha Wildner.It Fl p
144699593e0SSascha WildnerSpecify driver parameters.
145699593e0SSascha Wildner.It Fl P
146699593e0SSascha WildnerFile in which to save the process PID.
147da211034SSepherosa Ziehau.It Fl q
148da211034SSepherosa ZiehauDecrease debugging verbosity (i.e., counteract the use of the
149da211034SSepherosa Ziehau.Fl d
150da211034SSepherosa Ziehauflag).
1518e61a47dSRui Paulo.It Fl s
1528e61a47dSRui PauloSend log messages through
1538e61a47dSRui Paulo.Xr syslog 3
1548e61a47dSRui Pauloinstead of to the terminal.
155699593e0SSascha Wildner.It Fl t
156699593e0SSascha WildnerInclude timestamp in debug messages.
157699593e0SSascha Wildner.It Fl u
158699593e0SSascha WildnerEnable DBus control interface.
159da211034SSepherosa Ziehau.It Fl v
160da211034SSepherosa ZiehauDisplay version information on the terminal and exit.
161699593e0SSascha Wildner.It Fl W
162699593e0SSascha WildnerWait for a control interface monitor before starting.
163da211034SSepherosa Ziehau.El
164da211034SSepherosa Ziehau.Sh SEE ALSO
165a69e7202SSepherosa Ziehau.Xr ath 4 ,
1665be7118bSSascha Wildner.\".Xr ipw 4 ,
1671d97534aSSascha Wildner.Xr iwi 4 ,
168da211034SSepherosa Ziehau.Xr ral 4 ,
169f794c13fSSascha Wildner.Xr rum 4 ,
170da211034SSepherosa Ziehau.Xr wi 4 ,
171da211034SSepherosa Ziehau.Xr wlan 4 ,
1727fa17bc6SSascha Wildner.Xr wpi 4 ,
173da211034SSepherosa Ziehau.Xr wpa_supplicant.conf 5 ,
1748e61a47dSRui Paulo.Xr devd 8 ,
175e8f16c25SSascha Wildner.Xr ifconfig 8 ,
176e8f16c25SSascha Wildner.Xr wpa_cli 8
177da211034SSepherosa Ziehau.Sh HISTORY
178da211034SSepherosa ZiehauThe
179da211034SSepherosa Ziehau.Nm
180da211034SSepherosa Ziehauutility first appeared in
181da211034SSepherosa Ziehau.Fx 6.0 .
182da211034SSepherosa Ziehau.Sh AUTHORS
183da211034SSepherosa ZiehauThe
184da211034SSepherosa Ziehau.Nm
185da211034SSepherosa Ziehauutility was written by
1865be7118bSSascha Wildner.An Jouni Malinen Aq Mt j@w1.fi .
187da211034SSepherosa ZiehauThis manual page is derived from the
188da211034SSepherosa Ziehau.Pa README
189da211034SSepherosa Ziehaufile included in the
190da211034SSepherosa Ziehau.Nm
191da211034SSepherosa Ziehaudistribution.
192