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.\" 27*7c6257cfSIsabell Long.Dd November 7, 2012 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 35*7c6257cfSIsabell Long.Op Fl BdhKLqstuvW 36*7c6257cfSIsabell Long.Op Fl b Ar br_ifname 37*7c6257cfSIsabell Long.Fl c Ar config-file 38*7c6257cfSIsabell Long.Op Fl C Ar ctrl 39*7c6257cfSIsabell Long.Op Fl D Ar driver 40*7c6257cfSIsabell Long.Op Fl f Ar debug file 41*7c6257cfSIsabell Long.Op Fl g Ar global ctrl 42*7c6257cfSIsabell Long.Fl i Ar ifname 43*7c6257cfSIsabell Long.Op Fl o Ar override driver 44*7c6257cfSIsabell Long.Op Fl O Ar override ctrl 45*7c6257cfSIsabell Long.Op Fl P Ar pid file 46*7c6257cfSIsabell Long.Oo Fl N 476d0d11efSSam Leffler.Fl i Ar ifname 486d0d11efSSam Leffler.Fl c Ar config-file 49*7c6257cfSIsabell Long.Op Fl C Ar ctrl 50*7c6257cfSIsabell Long.Op Fl D driver 51*7c6257cfSIsabell Long.Op Fl p Ar driver_param 52*7c6257cfSIsabell Long.Op Fl b Ar br_ifname 53*7c6257cfSIsabell Long.No ... 54*7c6257cfSIsabell Long.Oc 556d0d11efSSam Leffler.Sh DESCRIPTION 56e516c0d9SRuslan ErmilovThe 576d0d11efSSam Leffler.Nm 58e516c0d9SRuslan Ermilovutility 596d0d11efSSam Leffleris an implementation of the WPA Supplicant component, 606d0d11efSSam Leffleri.e., the part that runs in the client stations. 61e516c0d9SRuslan ErmilovIt implements WPA key negotiation with a WPA Authenticator 626d0d11efSSam Lefflerand EAP authentication with an Authentication Server. 636d0d11efSSam LefflerIn addition, 646d0d11efSSam Leffler.Nm 656d0d11efSSam Lefflercontrols the roaming and IEEE 802.11 666d0d11efSSam Lefflerauthentication/association support of the 676d0d11efSSam Leffler.Xr wlan 4 686d0d11efSSam Lefflermodule and can be used to configure static WEP keys 696d0d11efSSam Lefflerbased on identified networks. 706d0d11efSSam Leffler.Pp 71e516c0d9SRuslan ErmilovThe 726d0d11efSSam Leffler.Nm 73e516c0d9SRuslan Ermilovutility 74e516c0d9SRuslan Ermilovis designed to be a 75e516c0d9SRuslan Ermilov.Dq daemon 76e516c0d9SRuslan Ermilovprogram that runs in the 776d0d11efSSam Lefflerbackground and acts as the backend component controlling 786d0d11efSSam Lefflerthe wireless connection. 79e516c0d9SRuslan ErmilovIt supports separate frontend programs such as the 806d0d11efSSam Lefflertext-based 816d0d11efSSam Leffler.Xr wpa_cli 8 826d0d11efSSam Lefflerprogram. 836d0d11efSSam Leffler.Pp 846d0d11efSSam LefflerThe following arguments must be specified on the command line: 856d0d11efSSam Leffler.Bl -tag -width indent 866d0d11efSSam Leffler.It Fl i Ar ifname 876d0d11efSSam LefflerUse the specified wireless interface. 886d0d11efSSam Leffler.It Fl c Ar config-file 896d0d11efSSam LefflerUse the settings in the specified configuration file when managing 906d0d11efSSam Lefflerthe wireless interface. 916d0d11efSSam LefflerSee 926d0d11efSSam Leffler.Xr wpa_supplicant.conf 5 936d0d11efSSam Lefflerfor a description of the configuration file syntax and contents. 946d0d11efSSam Leffler.Pp 956d0d11efSSam LefflerChanges to the configuration file can be reloaded by sending a 96e516c0d9SRuslan Ermilov.Dv SIGHUP 976d0d11efSSam Lefflerto the 986d0d11efSSam Leffler.Nm 996d0d11efSSam Lefflerprocess or with the 100e516c0d9SRuslan Ermilov.Xr wpa_cli 8 101e516c0d9SRuslan Ermilovutility, using 102e516c0d9SRuslan Ermilov.Dq Li "wpa_cli reconfigure" . 1036d0d11efSSam Leffler.El 1046d0d11efSSam Leffler.Sh OPTIONS 1056d0d11efSSam LefflerThe following options are available: 1066d0d11efSSam Leffler.Bl -tag -width indent 107*7c6257cfSIsabell Long.It Fl b 108*7c6257cfSIsabell LongOptional bridge interface name. 109*7c6257cfSIsabell Long.It Fl B 110*7c6257cfSIsabell LongDetach from the controlling terminal and run as a daemon process 111*7c6257cfSIsabell Longin the background. 1126d0d11efSSam Leffler.It Fl d 1136d0d11efSSam LefflerEnable debugging messages. 114e516c0d9SRuslan ErmilovIf this option is supplied twice, more verbose messages are displayed. 115*7c6257cfSIsabell Long.It Fl D 116*7c6257cfSIsabell LongDriver name (can be multiple drivers: nl80211,wext). 117*7c6257cfSIsabell Long.It Fl f 118*7c6257cfSIsabell LongLog output to debug file instead of stdout. 119*7c6257cfSIsabell Long.It Fl g 120*7c6257cfSIsabell LongGlobal ctrl_interface. 1216d0d11efSSam Leffler.It Fl h 1226d0d11efSSam LefflerShow help text. 123*7c6257cfSIsabell Long.It Fl K 124*7c6257cfSIsabell LongInclude key information in debugging output. 125*7c6257cfSIsabell Long.It Fl L 126*7c6257cfSIsabell LongDisplay the license for this program on the terminal and exit. 127*7c6257cfSIsabell Long.It Fl N 128*7c6257cfSIsabell LongStart describing a new interface. 129*7c6257cfSIsabell Long.It Fl o 130*7c6257cfSIsabell LongOverrides driver parameter for new interfaces. 131*7c6257cfSIsabell Long.It Fl O 132*7c6257cfSIsabell LongOverride ctrl_interface parameter for new interfaces. 133*7c6257cfSIsabell Long.It Fl p 134*7c6257cfSIsabell LongSpecify driver parameters. 135*7c6257cfSIsabell Long.It Fl P 136*7c6257cfSIsabell LongFile in which to save the process PID. 1376d0d11efSSam Leffler.It Fl q 138e516c0d9SRuslan ErmilovDecrease debugging verbosity (i.e., counteract the use of the 1396d0d11efSSam Leffler.Fl d 140e516c0d9SRuslan Ermilovflag). 141b685f674SSam Leffler.It Fl s 142b685f674SSam LefflerSend log messages through 143b685f674SSam Leffler.Xr syslog 3 144b685f674SSam Lefflerinstead of to the terminal. 145*7c6257cfSIsabell Long.It Fl t 146*7c6257cfSIsabell LongInclude timestamp in debug messages. 147*7c6257cfSIsabell Long.It Fl u 148*7c6257cfSIsabell LongEnable DBus control interface. 1496d0d11efSSam Leffler.It Fl v 1506d0d11efSSam LefflerDisplay version information on the terminal and exit. 151*7c6257cfSIsabell Long.It Fl W 152*7c6257cfSIsabell LongWait for a control interface monitor before starting. 1536d0d11efSSam Leffler.El 1546d0d11efSSam Leffler.Sh SEE ALSO 1554bf10a52SChristian Brueffer.Xr an 4 , 1566d0d11efSSam Leffler.Xr ath 4 , 1576d0d11efSSam Leffler.Xr ipw 4 , 158e516c0d9SRuslan Ermilov.Xr iwi 4 , 1596d0d11efSSam Leffler.Xr ral 4 , 1604bf10a52SChristian Brueffer.Xr rum 4 , 1616d0d11efSSam Leffler.Xr ural 4 , 1626d0d11efSSam Leffler.Xr wi 4 , 1636d0d11efSSam Leffler.Xr wlan 4 , 1644bf10a52SChristian Brueffer.Xr wpi 4 , 1654bf10a52SChristian Brueffer.Xr zyd 4 , 1666d0d11efSSam Leffler.Xr wpa_supplicant.conf 5 , 1676d0d11efSSam Leffler.Xr devd 8 , 168e516c0d9SRuslan Ermilov.Xr ifconfig 8 , 169e516c0d9SRuslan Ermilov.Xr wpa_cli 8 1706d0d11efSSam Leffler.Sh HISTORY 1716d0d11efSSam LefflerThe 1726d0d11efSSam Leffler.Nm 1736d0d11efSSam Lefflerutility first appeared in 1746d0d11efSSam Leffler.Fx 6.0 . 1756d0d11efSSam Leffler.Sh AUTHORS 1766d0d11efSSam LefflerThe 1776d0d11efSSam Leffler.Nm 1786d0d11efSSam Lefflerutility was written by 1794365f62bSSam Leffler.An Jouni Malinen Aq j@w1.fi . 180e516c0d9SRuslan ErmilovThis manual page is derived from the 181e516c0d9SRuslan Ermilov.Pa README 182e516c0d9SRuslan Ermilovfile included in the 1836d0d11efSSam Leffler.Nm 1846d0d11efSSam Lefflerdistribution. 185