]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/wpa_supplicant/doc/docbook/wpa_supplicant.sgml
This commit was generated by cvs2svn to compensate for changes in r175261,
[FreeBSD/FreeBSD.git] / contrib / wpa_supplicant / doc / docbook / wpa_supplicant.sgml
1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
2
3 <refentry>
4   <refmeta>
5     <refentrytitle>wpa_supplicant</refentrytitle>
6     <manvolnum>8</manvolnum>
7   </refmeta>
8   <refnamediv>
9     <refname>wpa_supplicant</refname>
10     <refpurpose>Wi-Fi Protected Access client and IEEE 802.1X supplicant</refpurpose>
11   </refnamediv>
12   <refsynopsisdiv>
13     <cmdsynopsis>
14       <command>wpa_supplicant</command>
15       <arg>-BddehLqqvw</arg>
16       <arg>-i<replaceable>ifname</replaceable></arg>
17       <arg>-c<replaceable>config file</replaceable></arg>
18       <arg>-D<replaceable>driver</replaceable></arg>
19       <arg>-P<replaceable>PID_file</replaceable></arg>
20     </cmdsynopsis>
21   </refsynopsisdiv>
22   <refsect1>
23     <title>Overview</title>
24
25     <para>
26     Wireless networks do not require physical access to the network equipment
27     in the same way as wired networks. This makes it easier for unauthorized
28     users to passively monitor a network and capture all transmitted frames.
29     In addition, unauthorized use of the network is much easier. In many cases,
30     this can happen even without user's explicit knowledge since the wireless
31     LAN adapter may have been configured to automatically join any available
32     network.
33     </para>
34
35     <para>
36     Link-layer encryption can be used to provide a layer of security for
37     wireless networks. The original wireless LAN standard, IEEE 802.11,
38     included a simple encryption mechanism, WEP. However, that proved to
39     be flawed in many areas and network protected with WEP cannot be consider
40     secure. IEEE 802.1X authentication and frequently changed dynamic WEP keys
41     can be used to improve the network security, but even that has inherited
42     security issues due to the use of WEP for encryption. Wi-Fi Protected
43     Access and IEEE 802.11i amendment to the wireless LAN standard introduce
44     a much improvement mechanism for securing wireless networks. IEEE 802.11i
45     enabled networks that are using CCMP (encryption mechanism based on strong
46     cryptographic algorithm AES) can finally be called secure used for
47     applications which require efficient protection against unauthorized
48     access.
49     </para>
50
51     <para><command>wpa_supplicant</command> is an implementation of
52     the WPA Supplicant component, i.e., the part that runs in the
53     client stations. It implements WPA key negotiation with a WPA
54     Authenticator and EAP authentication with Authentication
55     Server. In addition, it controls the roaming and IEEE 802.11
56     authentication/association of the wireless LAN driver.</para>
57
58     <para><command>wpa_supplicant</command> is designed to be a
59     "daemon" program that runs in the background and acts as the
60     backend component controlling the wireless
61     connection. <command>wpa_supplicant</command> supports separate
62     frontend programs and an example text-based frontend,
63     <command>wpa_cli</command>, is included with
64     wpa_supplicant.</para>
65
66     <para>Before wpa_supplicant can do its work, the network interface
67     must be available.  That means that the physical device must be
68     present and enabled, and the driver for the device must have be
69     loaded.  Note, however, that the '-w' option of the wpa_supplicant
70     daemon instructs the daemon to continue running and to wait for
71     the interface to become available.  Without the '-w' option, the
72     daemon will exit immediately if the device is not already
73     available.</para>
74
75     <para>After <command>wpa_supplicant</command> has configured the
76     network device, higher level configuration such as DHCP may
77     proceed.  There are a variety of ways to integrate wpa_supplicant
78     into a machine's networking scripts, a few of which are described
79     in sections below.</para>
80
81     <para>The following steps are used when associating with an AP
82     using WPA:</para>
83
84     <itemizedlist>
85       <listitem>
86         <para><command>wpa_supplicant</command> requests the kernel
87         driver to scan neighboring BSSes</para>
88       </listitem>
89
90       <listitem>
91         <para><command>wpa_supplicant</command> selects a BSS based on
92         its configuration</para>
93       </listitem>
94
95       <listitem>
96         <para><command>wpa_supplicant</command> requests the kernel
97         driver to associate with the chosen BSS</para>
98       </listitem>
99
100       <listitem>
101         <para>If WPA-EAP: integrated IEEE 802.1X Supplicant or
102         external Xsupplicant completes EAP authentication with the
103         authentication server (proxied by the Authenticator in the
104         AP)</para>
105       </listitem>
106
107       <listitem>
108         <para>If WPA-EAP: master key is received from the IEEE 802.1X
109         Supplicant</para>
110       </listitem>
111
112       <listitem>
113         <para>If WPA-PSK: <command>wpa_supplicant</command> uses PSK
114         as the master session key</para>
115       </listitem>
116
117       <listitem>
118         <para><command>wpa_supplicant</command> completes WPA 4-Way
119         Handshake and Group Key Handshake with the Authenticator
120         (AP)</para>
121       </listitem>
122
123       <listitem>
124         <para><command>wpa_supplicant</command> configures encryption
125         keys for unicast and broadcast</para>
126       </listitem>
127
128       <listitem>
129         <para>normal data packets can be transmitted and received</para>
130       </listitem>
131     </itemizedlist>
132   </refsect1>
133
134   <refsect1>
135     <title>Supported Features</title>
136     <para>Supported WPA/IEEE 802.11i features:</para>
137     <itemizedlist>
138       <listitem>
139         <para>WPA-PSK ("WPA-Personal")</para>
140       </listitem>
141
142       <listitem>
143         <para>WPA with EAP (e.g., with RADIUS authentication server)
144        ("WPA-Enterprise") Following authentication methods are
145        supported with an integrate IEEE 802.1X Supplicant:</para>
146
147         <itemizedlist>
148           <listitem>
149             <para>EAP-TLS</para>
150           </listitem>
151         </itemizedlist>
152
153         <itemizedlist>
154           <listitem>
155             <para>EAP-PEAP/MSCHAPv2 (both PEAPv0 and PEAPv1)</para>
156           </listitem>
157
158
159           <listitem>
160             <para>EAP-PEAP/TLS (both PEAPv0 and PEAPv1)</para>
161           </listitem>
162
163           <listitem>
164             <para>EAP-PEAP/GTC (both PEAPv0 and PEAPv1)</para>
165           </listitem>
166
167           <listitem>
168             <para>EAP-PEAP/OTP (both PEAPv0 and PEAPv1)</para>
169           </listitem>
170
171           <listitem>
172             <para>EAP-PEAP/MD5-Challenge (both PEAPv0 and PEAPv1)</para>
173           </listitem>
174
175           <listitem>
176             <para>EAP-TTLS/EAP-MD5-Challenge</para>
177           </listitem>
178
179           <listitem>
180             <para>EAP-TTLS/EAP-GTC</para>
181           </listitem>
182
183           <listitem><para>EAP-TTLS/EAP-OTP</para></listitem>
184
185           <listitem><para>EAP-TTLS/EAP-MSCHAPv2</para></listitem>
186
187           <listitem><para>EAP-TTLS/EAP-TLS</para></listitem>
188
189           <listitem><para>EAP-TTLS/MSCHAPv2</para></listitem>
190
191           <listitem><para>EAP-TTLS/MSCHAP</para></listitem>
192
193           <listitem><para>EAP-TTLS/PAP</para></listitem>
194
195           <listitem><para>EAP-TTLS/CHAP</para></listitem>
196
197           <listitem><para>EAP-SIM</para></listitem>
198
199           <listitem><para>EAP-AKA</para></listitem>
200
201           <listitem><para>EAP-PSK</para></listitem>
202
203           <listitem><para>EAP-PAX</para></listitem>
204
205           <listitem><para>LEAP (note: requires special support from
206           the driver for IEEE 802.11 authentication)</para></listitem>
207
208           <listitem><para>(following methods are supported, but since
209           they do not generate keying material, they cannot be used
210           with WPA or IEEE 802.1X WEP keying)</para></listitem>
211
212           <listitem><para>EAP-MD5-Challenge </para></listitem>
213
214           <listitem><para>EAP-MSCHAPv2</para></listitem>
215
216           <listitem><para>EAP-GTC</para></listitem>
217
218           <listitem><para>EAP-OTP</para></listitem>
219         </itemizedlist>
220       </listitem>
221
222       <listitem>
223         <para>key management for CCMP, TKIP, WEP104, WEP40</para>
224       </listitem>
225
226       <listitem>
227         <para>RSN/WPA2 (IEEE 802.11i)</para>
228         <itemizedlist>
229           <listitem>
230             <para>pre-authentication</para>
231           </listitem>
232
233           <listitem>
234             <para>PMKSA caching</para>
235           </listitem>
236         </itemizedlist>
237       </listitem>
238     </itemizedlist>
239   </refsect1>
240
241   <refsect1>
242     <title>Available Drivers</title>
243     <para>The available drivers to specify with the -D option are:</para>
244
245     <variablelist>
246       <varlistentry>
247         <term>hostap</term>
248         <listitem>
249           <para>(default) Host AP driver (Intersil Prism2/2.5/3).
250           (this can also be used with Linuxant DriverLoader).</para>
251         </listitem>
252       </varlistentry>
253
254       <varlistentry>
255         <term>hermes</term>
256         <listitem>
257           <para>Agere Systems Inc. driver (Hermes-I/Hermes-II).</para>
258         </listitem>
259       </varlistentry>
260
261       <varlistentry>
262         <term>madwifi</term>
263         <listitem>
264           <para>MADWIFI 802.11 support (Atheros, etc.).</para>
265         </listitem>
266       </varlistentry>
267
268       <varlistentry>
269         <term>atmel</term>
270         <listitem>
271           <para>ATMEL AT76C5XXx (USB, PCMCIA).</para>
272         </listitem>
273       </varlistentry>
274
275       <varlistentry>
276         <term>wext</term>
277         <listitem>
278           <para>Linux wireless extensions (generic).</para>
279         </listitem>
280       </varlistentry>
281
282       <varlistentry>
283         <term>ndiswrapper</term>
284         <listitem>
285           <para>Linux ndiswrapper.</para>
286         </listitem>
287       </varlistentry>
288
289       <varlistentry>
290         <term>broadcom</term>
291         <listitem>
292           <para>Broadcom wl.o driver.</para>
293         </listitem>
294       </varlistentry>
295
296       <varlistentry>
297         <term>ipw</term>
298         <listitem>
299           <para>Intel ipw2100/2200 driver.</para>
300         </listitem>
301       </varlistentry>
302
303       <varlistentry>
304         <term>wired</term>
305         <listitem>
306           <para>wpa_supplicant wired Ethernet driver</para>
307         </listitem>
308       </varlistentry>
309
310       <varlistentry>
311         <term>bsd</term>
312         <listitem>
313           <para>BSD 802.11 support (Atheros, etc.).</para>
314         </listitem>
315       </varlistentry>
316
317       <varlistentry>
318         <term>ndis</term>
319         <listitem>
320           <para>Windows NDIS driver.</para>
321         </listitem>
322       </varlistentry>
323     </variablelist>
324   </refsect1>
325
326   <refsect1>
327     <title>Command Line Options</title>
328     <variablelist>
329       <varlistentry>
330         <term>-B</term>
331         <listitem>
332           <para>Run daemon in the background.</para>
333         </listitem>
334       </varlistentry>
335
336       <varlistentry>
337         <term>-i ifname</term>
338         <listitem>
339           <para>Interface to listen on.</para>
340         </listitem>
341       </varlistentry>
342
343       <varlistentry>
344         <term>-c filename</term>
345         <listitem>
346           <para>Path to configuration file.</para>
347         </listitem>
348       </varlistentry>
349
350       <varlistentry>
351         <term>-P PID_file</term>
352         <listitem>
353           <para>Path to PID file.</para>
354         </listitem>
355       </varlistentry>
356
357       <varlistentry>
358         <term>-C ctrl_interface</term>
359         <listitem>
360           <para>Path to ctrl_interface socket (only used if -c is not).</para>
361         </listitem>
362       </varlistentry>
363
364       <varlistentry>
365         <term>-g global ctrl_interface</term>
366         <listitem>
367           <para>Path to global ctrl_interface socket.</para>
368         </listitem>
369       </varlistentry>
370
371       <varlistentry>
372         <term>-D driver</term>
373         <listitem>
374           <para>Driver to use.  See the available options below.</para>
375         </listitem>
376       </varlistentry>
377
378       <varlistentry>
379         <term>-d</term>
380         <listitem>
381           <para>Increase debugging verbosity (-dd even more).</para>
382         </listitem>
383       </varlistentry>
384
385       <varlistentry>
386         <term>-K</term>
387         <listitem>
388           <para>Include keys (passwords, etc.) in debug output.</para>
389         </listitem>
390       </varlistentry>
391
392       <varlistentry>
393         <term>-t</term>
394         <listitem>
395           <para>Include timestamp in debug messages.</para>
396         </listitem>
397       </varlistentry>
398
399       <varlistentry>
400         <term>-e</term>
401         <listitem>
402           <para>Use external IEEE 802.1X Supplicant (e.g.,
403           <command>xsupplicant</command>) (this disables the internal
404           Supplicant).</para>
405         </listitem>
406       </varlistentry>
407
408       <varlistentry>
409         <term>-h</term>
410         <listitem>
411           <para>Help.  Show a usage message.</para>
412         </listitem>
413       </varlistentry>
414
415       <varlistentry>
416         <term>-L</term>
417         <listitem>
418           <para>Show license (GPL and BSD).</para>
419         </listitem>
420       </varlistentry>
421
422       <varlistentry>
423         <term>-q</term>
424         <listitem>
425           <para>Decrease debugging verbosity (-qq even less).</para>
426         </listitem>
427       </varlistentry>
428       <varlistentry>
429         <term>-v</term>
430         <listitem>
431           <para>Show version.</para>
432         </listitem>
433       </varlistentry>
434
435       <varlistentry>
436         <term>-w</term>
437         <listitem>
438           <para>wait for interface to be added, if needed.  normally,
439           <command>wpa_supplicant</command> will exit if the interface
440           is not there yet.</para>
441         </listitem>
442       </varlistentry>
443
444       <varlistentry>
445         <term>-N</term>
446         <listitem>
447           <para>Start describing new interface.</para>
448         </listitem>
449       </varlistentry>
450     </variablelist>
451   </refsect1>
452
453   <refsect1>
454     <title>Examples</title>
455
456     <para>In most common cases, <command>wpa_supplicant</command> is
457     started with:</para>
458
459 <blockquote><programlisting>
460 wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -iwlan0
461 </programlisting></blockquote>
462
463     <para>This makes the process fork into background and wait for the wlan0
464     interface if it is not available at startup time.</para>
465
466     <para>The easiest way to debug problems, and to get debug log for
467     bug reports, is to start <command>wpa_supplicant</command> on
468     foreground with debugging enabled:</para>
469
470 <blockquote><programlisting>
471 wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 -d
472 </programlisting></blockquote>
473
474     <para><command>wpa_supplicant</command> can control multiple
475     interfaces (radios) either by running one process for each
476     interface separately or by running just one process and list of
477     options at command line. Each interface is separated with -N
478     argument. As an example, following command would start
479     wpa_supplicant for two interfaces:</para>
480
481 <blockquote><programlisting>
482 wpa_supplicant \
483         -c wpa1.conf -i wlan0 -D hostap -N \
484         -c wpa2.conf -i ath0 -D madwifi
485 </programlisting></blockquote>
486   </refsect1>
487
488   <refsect1>
489     <title>OS Requirements</title>
490     <para>Current hardware/software requirements:</para>
491
492     <itemizedlist>
493       <listitem>
494         <para>Linux kernel 2.4.x or 2.6.x with Linux Wireless
495         Extensions v15 or newer</para>
496       </listitem>
497
498
499       <listitem>
500         <para>FreeBSD 6-CURRENT</para>
501       </listitem>
502
503       <listitem>
504         <para>Microsoft Windows with WinPcap (at least WinXP, may work
505         with other versions)</para>
506       </listitem>
507     </itemizedlist>
508   </refsect1>
509
510   <refsect1>
511     <title>Supported Drivers</title>
512     <variablelist>
513       <varlistentry>
514         <term>Host AP driver for Prism2/2.5/3 (development
515         snapshot/v0.2.x)</term>
516         <listitem>
517           <para> (http://hostap.epitest.fi/) Driver needs to be set in
518         Managed mode ('iwconfig wlan0 mode managed').  Please note
519         that station firmware version needs to be 1.7.0 or newer to
520         work in WPA mode.</para>
521         </listitem>
522       </varlistentry>
523
524       <varlistentry>
525         <term>Linuxant DriverLoader</term>
526         <listitem>
527           <para>(http://www.linuxant.com/driverloader/)
528         with Windows NDIS driver for your wlan card supporting WPA.</para>
529         </listitem>
530       </varlistentry>
531
532       <varlistentry>
533         <term>Agere Systems Inc. Linux Driver</term>
534         <listitem>
535           <para> (http://www.agere.com/support/drivers/) Please note
536         that the driver interface file (driver_hermes.c) and hardware
537         specific include files are not included in the wpa_supplicant
538         distribution. You will need to copy these from the source
539         package of the Agere driver.</para>
540         </listitem>
541       </varlistentry>
542
543       <varlistentry>
544         <term>madwifi driver for cards based on Atheros chip set (ar521x)</term>
545         <listitem>
546           <para> (http://sourceforge.net/projects/madwifi/) Please
547         note that you will need to modify the wpa_supplicant .config
548         file to use the correct path for the madwifi driver root
549         directory (CFLAGS += -I../madwifi/wpa line in example
550         defconfig).</para>
551         </listitem>
552       </varlistentry>
553
554       <varlistentry>
555         <term>ATMEL AT76C5XXx driver for USB and PCMCIA cards</term>
556         <listitem>
557           <para> (http://atmelwlandriver.sourceforge.net/).</para>
558         </listitem>
559       </varlistentry>
560
561       <varlistentry>
562         <term>Linux ndiswrapper</term>
563         <listitem>
564           <para> (http://ndiswrapper.sourceforge.net/) with Windows
565         NDIS driver.</para>
566         </listitem>
567       </varlistentry>
568
569       <varlistentry>
570         <term>Broadcom wl.o driver</term>
571         <listitem>
572           <para> This is a generic Linux driver for Broadcom IEEE
573         802.11a/g cards.  However, it is proprietary driver that is
574         not publicly available except for couple of exceptions, mainly
575         Broadcom-based APs/wireless routers that use Linux. The driver
576         binary can be downloaded, e.g., from Linksys support site
577         (http://www.linksys.com/support/gpl.asp) for Linksys
578         WRT54G. The GPL tarball includes cross-compiler and the needed
579         header file, wlioctl.h, for compiling wpa_supplicant.  This
580         driver support in wpa_supplicant is expected to work also with
581         other devices based on Broadcom driver (assuming the driver
582         includes client mode support).</para>
583         </listitem>
584       </varlistentry>
585
586       <varlistentry>
587         <term> Intel ipw2100 driver</term>
588         <listitem>
589           <para> (http://sourceforge.net/projects/ipw2100/)</para>
590         </listitem>
591       </varlistentry>
592
593       <varlistentry>
594         <term>Intel ipw2200 driver</term>
595         <listitem>
596           <para> (http://sourceforge.net/projects/ipw2200/)</para>
597         </listitem>
598       </varlistentry>
599
600       <varlistentry>
601         <term>Linux wireless extensions</term>
602         <listitem>
603           <para>In theory, any driver that supports Linux wireless
604         extensions can be used with IEEE 802.1X (i.e., not WPA) when
605         using ap_scan=0 option in configuration file.</para>
606         </listitem>
607       </varlistentry>
608       
609       <varlistentry>
610         <term>Wired Ethernet drivers</term>
611         <listitem>
612           <para>Use ap_scan=0.</para>
613         </listitem>
614       </varlistentry>
615
616       <varlistentry>
617         <term>BSD net80211 layer (e.g., Atheros driver)</term>
618         <listitem>
619           <para>At the moment, this is for FreeBSD 6-CURRENT branch.</para>
620         </listitem>
621       </varlistentry>
622
623       <varlistentry>
624         <term>Windows NDIS</term>
625         <listitem>
626           <para>The current Windows port requires WinPcap
627         (http://winpcap.polito.it/).  See README-Windows.txt for more
628         information.</para>
629         </listitem>
630       </varlistentry>
631     </variablelist>
632
633         
634     <para>wpa_supplicant was designed to be portable for different
635     drivers and operating systems. Hopefully, support for more wlan
636     cards and OSes will be added in the future. See developer.txt for
637     more information about the design of wpa_supplicant and porting to
638     other drivers. One main goal is to add full WPA/WPA2 support to
639     Linux wireless extensions to allow new drivers to be supported
640     without having to implement new driver-specific interface code in
641     wpa_supplicant.</para>
642   </refsect1>
643
644   <refsect1>
645     <title>Architecture</title> <para>The
646     <command>wpa_supplicant</command> system consists of the following
647     components:</para>
648
649     <variablelist>
650       <varlistentry>
651         <term><filename>wpa_supplicant.conf</filename> </term>
652         <listitem>
653         <para>the configuration file describing all networks that the
654         user wants the computer to connect to.  </para>
655         </listitem>
656       </varlistentry>
657       <varlistentry>
658         <term><command>wpa_supplicant</command></term>
659         <listitem><para>the program that directly interacts with the
660         network interface.  </para></listitem>
661       </varlistentry>
662       <varlistentry>
663         <term><command>wpa_cli</command></term> <listitem><para> the
664         client program that provides a high-level interface to the
665         functionality of the daemon.  </para></listitem>
666       </varlistentry>
667       <varlistentry>
668         <term><command>wpa_passphrase</command></term>
669         <listitem><para>a utility needed to construct
670         <filename>wpa_supplicant.conf</filename> files that include
671         encrypted passwords.</para></listitem>
672       </varlistentry>
673     </variablelist>
674   </refsect1>
675
676   <refsect1>
677     <title>Quick Start</title>
678
679     <para>First, make a configuration file, e.g.
680     <filename>/etc/wpa_supplicant.conf</filename>, that describes the networks
681     you are interested in.  See <citerefentry>
682         <refentrytitle>wpa_supplicant.conf</refentrytitle>
683         <manvolnum>5</manvolnum>
684       </citerefentry>
685     for details.</para>
686
687     <para>Once the configuration is ready, you can test whether the
688     configuration works by running <command>wpa_supplicant</command>
689     with following command to start it on foreground with debugging
690     enabled:</para>
691
692     <blockquote><programlisting>
693 wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -d
694     </programlisting></blockquote>
695
696     <para>Assuming everything goes fine, you can start using following
697     command to start <command>wpa_supplicant</command> on background
698     without debugging:</para>
699
700     <blockquote><programlisting>
701 wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -B
702     </programlisting></blockquote>
703
704     <para>Please note that if you included more than one driver
705     interface in the build time configuration (.config), you may need
706     to specify which interface to use by including -D&lt;driver
707     name&gt; option on the command line.</para>
708
709     <!-- XXX at this point, the page could include a little script
710          based on wpa_cli to wait for a connection and then run
711          dhclient -->
712
713   </refsect1>
714
715   <refsect1>
716     <title>Interface to pcmcia-cs/cardmrg</title>
717
718     <para>For example, following small changes to pcmcia-cs scripts
719     can be used to enable WPA support:</para>
720
721     <para>Add MODE="Managed" and WPA="y" to the network scheme in
722     <filename>/etc/pcmcia/wireless.opts</filename>.</para>
723
724     <para>Add the following block to the end of 'start' action handler
725     in <filename>/etc/pcmcia/wireless</filename>:</para>
726
727     <blockquote><programlisting>
728 if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then
729     /usr/local/bin/wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -i$DEVICE
730 fi
731     </programlisting></blockquote>
732
733
734     <para>Add the following block to the end of 'stop' action handler
735     (may need to be separated from other actions) in
736     <filename>/etc/pcmcia/wireless</filename>:</para>
737
738     <blockquote><programlisting>
739 if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then
740     killall wpa_supplicant
741 fi
742     </programlisting></blockquote>
743
744     <para>This will make <command>cardmgr</command> start
745     <command>wpa_supplicant</command> when the card is plugged
746     in. <command>wpa_supplicant</command> will wait until the
747     interface is set up--either when a static IP address is configured
748     or when DHCP client is started--and will then negotiate keys with
749     the AP.</para>
750   </refsect1>
751
752   <refsect1>
753     <title>See Also</title>
754     <para>
755       <citerefentry>
756         <refentrytitle>wpa_background</refentrytitle>
757         <manvolnum>8</manvolnum>
758       </citerefentry>
759       <citerefentry>
760         <refentrytitle>wpa_supplicant.conf</refentrytitle>
761         <manvolnum>5</manvolnum>
762       </citerefentry>
763       <citerefentry>
764         <refentrytitle>wpa_cli</refentrytitle>
765         <manvolnum>8</manvolnum>
766       </citerefentry>
767       <citerefentry>
768         <refentrytitle>wpa_passphrase</refentrytitle>
769         <manvolnum>8</manvolnum>
770       </citerefentry>
771     </para>
772   </refsect1>
773   <refsect1>
774     <title>Legal</title>
775     <para>wpa_supplicant is copyright (c) 2003-2005,
776     Jouni Malinen <email>j@w1.fi</email> and
777     contributors.
778     All Rights Reserved.</para>
779
780     <para>This program is dual-licensed under both the GPL version 2
781     and BSD license. Either license may be used at your option.</para>
782   </refsect1>
783 </refentry>