diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/docbook/wpa_background.8 | 2 | ||||
-rw-r--r-- | doc/docbook/wpa_cli.8 | 25 | ||||
-rw-r--r-- | doc/docbook/wpa_cli.sgml | 23 | ||||
-rw-r--r-- | doc/docbook/wpa_passphrase.8 | 2 | ||||
-rw-r--r-- | doc/docbook/wpa_supplicant.8 | 55 | ||||
-rw-r--r-- | doc/docbook/wpa_supplicant.conf.5 | 6 | ||||
-rw-r--r-- | doc/docbook/wpa_supplicant.conf.sgml | 4 | ||||
-rw-r--r-- | doc/docbook/wpa_supplicant.sgml | 61 |
8 files changed, 117 insertions, 61 deletions
diff --git a/doc/docbook/wpa_background.8 b/doc/docbook/wpa_background.8 index 6244529e69a9..c62f5e067ae2 100644 --- a/doc/docbook/wpa_background.8 +++ b/doc/docbook/wpa_background.8 @@ -3,7 +3,7 @@ .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng <steve@ggi-project.org>. -.TH "WPA_BACKGROUND" "8" "19 February 2008" "" "" +.TH "WPA_BACKGROUND" "8" "28 November 2008" "" "" .SH NAME wpa_background \- Background information on Wi-Fi Protected Access and IEEE 802.11i diff --git a/doc/docbook/wpa_cli.8 b/doc/docbook/wpa_cli.8 index 0865264a69a2..43cc43d72910 100644 --- a/doc/docbook/wpa_cli.8 +++ b/doc/docbook/wpa_cli.8 @@ -3,7 +3,7 @@ .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng <steve@ggi-project.org>. -.TH "WPA_CLI" "8" "19 February 2008" "" "" +.TH "WPA_CLI" "8" "28 November 2008" "" "" .SH NAME wpa_cli \- WPA command line client @@ -57,17 +57,18 @@ current network. <text> is description of the request. In case of OTP request, it includes the challenge from the authentication server. .PP -The reply to these requests can be given with 'identity', -'password', and 'otp' commands. <id> needs to be copied from the -the matching request. 'password' and 'otp' commands can be used -regardless of whether the request was for PASSWORD or OTP. The -main difference between these two commands is that values given -with 'password' are remembered as long as wpa_supplicant is -running whereas values given with 'otp' are used only once and -then forgotten, i.e., wpa_supplicant will ask frontend for a new -value for every use. This can be used to implement -one-time-password lists and generic token card -based -authentication. +The reply to these requests can be given with +\fBidentity\fR, \fBpassword\fR, and +\fBotp\fR commands. <id> needs to be copied from +the matching request. \fBpassword\fR and +\fBotp\fR commands can be used regardless of whether +the request was for PASSWORD or OTP. The main difference between these +two commands is that values given with \fBpassword\fR are +remembered as long as wpa_supplicant is running whereas values given +with \fBotp\fR are used only once and then forgotten, +i.e., wpa_supplicant will ask frontend for a new value for every use. +This can be used to implement one-time-password lists and generic token +card -based authentication. .PP Example request for password and a matching reply: .sp diff --git a/doc/docbook/wpa_cli.sgml b/doc/docbook/wpa_cli.sgml index 8430599efb73..ade036210e4c 100644 --- a/doc/docbook/wpa_cli.sgml +++ b/doc/docbook/wpa_cli.sgml @@ -72,17 +72,18 @@ case of OTP request, it includes the challenge from the authentication server.</para> - <para>The reply to these requests can be given with 'identity', - 'password', and 'otp' commands. <id> needs to be copied from the - the matching request. 'password' and 'otp' commands can be used - regardless of whether the request was for PASSWORD or OTP. The - main difference between these two commands is that values given - with 'password' are remembered as long as wpa_supplicant is - running whereas values given with 'otp' are used only once and - then forgotten, i.e., wpa_supplicant will ask frontend for a new - value for every use. This can be used to implement - one-time-password lists and generic token card -based - authentication.</para> + <para>The reply to these requests can be given with + <emphasis>identity</emphasis>, <emphasis>password</emphasis>, and + <emphasis>otp</emphasis> commands. <id> needs to be copied from + the matching request. <emphasis>password</emphasis> and + <emphasis>otp</emphasis> commands can be used regardless of whether + the request was for PASSWORD or OTP. The main difference between these + two commands is that values given with <emphasis>password</emphasis> are + remembered as long as wpa_supplicant is running whereas values given + with <emphasis>otp</emphasis> are used only once and then forgotten, + i.e., wpa_supplicant will ask frontend for a new value for every use. + This can be used to implement one-time-password lists and generic token + card -based authentication.</para> <para>Example request for password and a matching reply:</para> diff --git a/doc/docbook/wpa_passphrase.8 b/doc/docbook/wpa_passphrase.8 index a0f5c7039863..52faebba5666 100644 --- a/doc/docbook/wpa_passphrase.8 +++ b/doc/docbook/wpa_passphrase.8 @@ -3,7 +3,7 @@ .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng <steve@ggi-project.org>. -.TH "WPA_PASSPHRASE" "8" "19 February 2008" "" "" +.TH "WPA_PASSPHRASE" "8" "28 November 2008" "" "" .SH NAME wpa_passphrase \- Generate a WPA PSK from an ASCII passphrase for a SSID diff --git a/doc/docbook/wpa_supplicant.8 b/doc/docbook/wpa_supplicant.8 index 1a5697d84229..e7d8406413bb 100644 --- a/doc/docbook/wpa_supplicant.8 +++ b/doc/docbook/wpa_supplicant.8 @@ -3,7 +3,7 @@ .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng <steve@ggi-project.org>. -.TH "WPA_SUPPLICANT" "8" "19 February 2008" "" "" +.TH "WPA_SUPPLICANT" "8" "28 November 2008" "" "" .SH NAME wpa_supplicant \- Wi-Fi Protected Access client and IEEE 802.1X supplicant @@ -214,7 +214,11 @@ PMKSA caching .RE .SH "AVAILABLE DRIVERS" .PP -The available drivers to specify with the -D option are: +A summary of available driver backends is below. Support for each +of the driver backends is chosen at wpa_supplicant compile time. For a +list of supported driver backends that may be used with the -D option on +your system, refer to the help output of wpa_supplicant +(\fBwpa_supplicant -h\fR). .TP \fBhostap\fR (default) Host AP driver (Intersil Prism2/2.5/3). @@ -250,33 +254,47 @@ BSD 802.11 support (Atheros, etc.). \fBndis\fR Windows NDIS driver. .SH "COMMAND LINE OPTIONS" +.PP +Most command line options have global scope. Some are given per +interface, and are only valid if at least one \fB-i\fR option +is specified, otherwise they're ignored. Option groups for different +interfaces must be separated by \fB-N\fR option. +.TP +\fB-b br_ifname\fR +Optional bridge interface name. (Per interface) .TP \fB-B\fR Run daemon in the background. .TP \fB-i ifname\fR -Interface to listen on. +Interface to listen on. Multiple instances of this option can +be present, one per interface, separated by \fB-N\fR +option (see below). .TP \fB-c filename\fR -Path to configuration file. +Path to configuration file. (Per interface) .TP \fB-P PID_file\fR Path to PID file. .TP \fB-C ctrl_interface\fR -Path to ctrl_interface socket (only used if -c is not). +Path to ctrl_interface socket (Per interface. Only used if +\fB-c\fR is not). .TP \fB-g global ctrl_interface\fR -Path to global ctrl_interface socket. +Path to global ctrl_interface socket. If specified, interface +definitions may be omitted. .TP \fB-D driver\fR -Driver to use. See the available options below. +Driver to use. (Per interface, see the available options +below.) .TP \fB-f output file\fR Log output to specified file instead of stdout. .TP \fB-d\fR -Increase debugging verbosity (-dd even more). +Increase debugging verbosity (\fB-dd\fR even +more). .TP \fB-K\fR Include keys (passwords, etc.) in debug output. @@ -296,7 +314,12 @@ Help. Show a usage message. Show license (GPL and BSD). .TP \fB-q\fR -Decrease debugging verbosity (-qq even less). +Decrease debugging verbosity (\fB-qq\fR even +less). +.TP +\fB-u\fR +Enabled DBus control interface. If enabled, interface +definitions may be omitted. .TP \fB-v\fR Show version. @@ -367,9 +390,9 @@ with other versions) .TP \fBHost AP driver for Prism2/2.5/3 (development snapshot/v0.2.x)\fR (http://hostap.epitest.fi/) Driver needs to be set in -Managed mode ('iwconfig wlan0 mode managed'). Please note -that station firmware version needs to be 1.7.0 or newer to -work in WPA mode. +Managed mode (\fBiwconfig wlan0 mode managed\fR). +Please note that station firmware version needs to be 1.7.0 or +newer to work in WPA mode. .TP \fBLinuxant DriverLoader\fR (http://www.linuxant.com/driverloader/) @@ -506,8 +529,8 @@ can be used to enable WPA support: Add MODE="Managed" and WPA="y" to the network scheme in \fI/etc/pcmcia/wireless.opts\fR\&. .PP -Add the following block to the end of 'start' action handler -in \fI/etc/pcmcia/wireless\fR: +Add the following block to the end of \fBstart\fR +action handler in \fI/etc/pcmcia/wireless\fR: .sp .RS @@ -519,8 +542,8 @@ fi .fi .RE .PP -Add the following block to the end of 'stop' action handler -(may need to be separated from other actions) in +Add the following block to the end of \fBstop\fR +action handler (may need to be separated from other actions) in \fI/etc/pcmcia/wireless\fR: .sp .RS diff --git a/doc/docbook/wpa_supplicant.conf.5 b/doc/docbook/wpa_supplicant.conf.5 index efe17cc8762b..494b8a21d1e5 100644 --- a/doc/docbook/wpa_supplicant.conf.5 +++ b/doc/docbook/wpa_supplicant.conf.5 @@ -3,7 +3,7 @@ .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng <steve@ggi-project.org>. -.TH "WPA_SUPPLICANT.CONF" "5" "19 February 2008" "" "" +.TH "WPA_SUPPLICANT.CONF" "5" "28 November 2008" "" "" .SH NAME wpa_supplicant.conf \- configuration file for wpa_supplicant @@ -24,7 +24,7 @@ run in the background. Changes to configuration file can be reloaded be sending SIGHUP signal to \fBwpa_supplicant\fR ('killall -HUP wpa_supplicant'). Similarly, reloading can be triggered with -the 'wpa_cli reconfigure' command. +the \fBwpa_cli reconfigure\fR command. .PP Configuration file can include one or more network blocks, e.g., one for each used SSID. wpa_supplicant will automatically @@ -179,7 +179,7 @@ network={ .TP 3 6. Authentication for wired Ethernet. This can be used with -'wired' interface (-Dwired on command line). +\fBwired\fR interface (-Dwired on command line). .sp .RS diff --git a/doc/docbook/wpa_supplicant.conf.sgml b/doc/docbook/wpa_supplicant.conf.sgml index 082509cc77aa..063e88298af5 100644 --- a/doc/docbook/wpa_supplicant.conf.sgml +++ b/doc/docbook/wpa_supplicant.conf.sgml @@ -26,7 +26,7 @@ <para>Changes to configuration file can be reloaded be sending SIGHUP signal to <command>wpa_supplicant</command> ('killall -HUP wpa_supplicant'). Similarly, reloading can be triggered with - the 'wpa_cli reconfigure' command.</para> + the <emphasis>wpa_cli reconfigure</emphasis> command.</para> <para>Configuration file can include one or more network blocks, e.g., one for each used SSID. wpa_supplicant will automatically @@ -179,7 +179,7 @@ network={ <listitem> <para>Authentication for wired Ethernet. This can be used with - 'wired' interface (-Dwired on command line).</para> + <emphasis>wired</emphasis> interface (-Dwired on command line).</para> <blockquote><programlisting> ctrl_interface=/var/run/wpa_supplicant diff --git a/doc/docbook/wpa_supplicant.sgml b/doc/docbook/wpa_supplicant.sgml index b46d13c1f9ef..ad570badd198 100644 --- a/doc/docbook/wpa_supplicant.sgml +++ b/doc/docbook/wpa_supplicant.sgml @@ -241,7 +241,11 @@ <refsect1> <title>Available Drivers</title> - <para>The available drivers to specify with the -D option are:</para> + <para>A summary of available driver backends is below. Support for each + of the driver backends is chosen at wpa_supplicant compile time. For a + list of supported driver backends that may be used with the -D option on + your system, refer to the help output of wpa_supplicant + (<emphasis>wpa_supplicant -h</emphasis>).</para> <variablelist> <varlistentry> @@ -326,8 +330,19 @@ <refsect1> <title>Command Line Options</title> + <para>Most command line options have global scope. Some are given per + interface, and are only valid if at least one <option>-i</option> option + is specified, otherwise they're ignored. Option groups for different + interfaces must be separated by <option>-N</option> option.</para> <variablelist> <varlistentry> + <term>-b br_ifname</term> + <listitem> + <para>Optional bridge interface name. (Per interface)</para> + </listitem> + </varlistentry> + + <varlistentry> <term>-B</term> <listitem> <para>Run daemon in the background.</para> @@ -337,14 +352,16 @@ <varlistentry> <term>-i ifname</term> <listitem> - <para>Interface to listen on.</para> + <para>Interface to listen on. Multiple instances of this option can + be present, one per interface, separated by <option>-N</option> + option (see below).</para> </listitem> </varlistentry> <varlistentry> <term>-c filename</term> <listitem> - <para>Path to configuration file.</para> + <para>Path to configuration file. (Per interface)</para> </listitem> </varlistentry> @@ -358,21 +375,24 @@ <varlistentry> <term>-C ctrl_interface</term> <listitem> - <para>Path to ctrl_interface socket (only used if -c is not).</para> + <para>Path to ctrl_interface socket (Per interface. Only used if + <option>-c</option> is not).</para> </listitem> </varlistentry> <varlistentry> <term>-g global ctrl_interface</term> <listitem> - <para>Path to global ctrl_interface socket.</para> + <para>Path to global ctrl_interface socket. If specified, interface + definitions may be omitted.</para> </listitem> </varlistentry> <varlistentry> <term>-D driver</term> <listitem> - <para>Driver to use. See the available options below.</para> + <para>Driver to use. (Per interface, see the available options + below.)</para> </listitem> </varlistentry> @@ -386,7 +406,8 @@ <varlistentry> <term>-d</term> <listitem> - <para>Increase debugging verbosity (-dd even more).</para> + <para>Increase debugging verbosity (<option>-dd</option> even + more).</para> </listitem> </varlistentry> @@ -430,9 +451,19 @@ <varlistentry> <term>-q</term> <listitem> - <para>Decrease debugging verbosity (-qq even less).</para> + <para>Decrease debugging verbosity (<option>-qq</option> even + less).</para> </listitem> </varlistentry> + + <varlistentry> + <term>-u</term> + <listitem> + <para>Enabled DBus control interface. If enabled, interface + definitions may be omitted.</para> + </listitem> + </varlistentry> + <varlistentry> <term>-v</term> <listitem> @@ -523,9 +554,9 @@ wpa_supplicant \ snapshot/v0.2.x)</term> <listitem> <para> (http://hostap.epitest.fi/) Driver needs to be set in - Managed mode ('iwconfig wlan0 mode managed'). Please note - that station firmware version needs to be 1.7.0 or newer to - work in WPA mode.</para> + Managed mode (<emphasis>iwconfig wlan0 mode managed</emphasis>). + Please note that station firmware version needs to be 1.7.0 or + newer to work in WPA mode.</para> </listitem> </varlistentry> @@ -729,8 +760,8 @@ wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -B <para>Add MODE="Managed" and WPA="y" to the network scheme in <filename>/etc/pcmcia/wireless.opts</filename>.</para> - <para>Add the following block to the end of 'start' action handler - in <filename>/etc/pcmcia/wireless</filename>:</para> + <para>Add the following block to the end of <emphasis>start</emphasis> + action handler in <filename>/etc/pcmcia/wireless</filename>:</para> <blockquote><programlisting> if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then @@ -739,8 +770,8 @@ fi </programlisting></blockquote> - <para>Add the following block to the end of 'stop' action handler - (may need to be separated from other actions) in + <para>Add the following block to the end of <emphasis>stop</emphasis> + action handler (may need to be separated from other actions) in <filename>/etc/pcmcia/wireless</filename>:</para> <blockquote><programlisting> |