| @@ -1,40 +1,42 @@ | | | @@ -1,40 +1,42 @@ |
1 | .\" $NetBSD: wpa_passphrase.8,v 1.2 2006/06/28 21:10:08 wiz Exp $ | | 1 | .\" $NetBSD: wpa_passphrase.8,v 1.3 2008/09/10 20:49:52 reed Exp $ |
2 | .\" | | 2 | .\" |
3 | .Dd May 14, 2006 | | 3 | .Dd May 14, 2006 |
4 | .Dt WPA_PASSPHRASE 8 | | 4 | .Dt WPA_PASSPHRASE 8 |
5 | .Os | | 5 | .Os |
6 | .Sh NAME | | 6 | .Sh NAME |
7 | .Nm wpa_passphrase | | 7 | .Nm wpa_passphrase |
8 | .Nd Set WPA passphrase for a SSID | | 8 | .Nd Set WPA passphrase for a SSID |
9 | .Sh SYNOPSIS | | 9 | .Sh SYNOPSIS |
10 | .Nm | | 10 | .Nm |
11 | .Ar ssid | | 11 | .Ar ssid |
12 | .Ar passphrase | | 12 | .Ar passphrase |
13 | .Sh DESCRIPTION | | 13 | .Sh DESCRIPTION |
14 | The | | 14 | The |
15 | .Nm | | 15 | .Nm |
16 | utility | | 16 | utility |
17 | pre-computes PSK entries for network configuration blocks of a | | 17 | pre-computes PSK entries for network configuration blocks of a |
18 | .Xr wpa_supplicant.conf 5 | | 18 | .Xr wpa_supplicant.conf 5 |
19 | file. | | 19 | file. |
| | | 20 | It prints a single network configuration block to standard output. |
20 | .Pp | | 21 | .Pp |
21 | The following arguments must be specified on the command line: | | 22 | The following arguments must be specified on the command line: |
22 | .Bl -tag -width passphrase | | 23 | .Bl -tag -width passphrase |
23 | .It Ar ssid | | 24 | .It Ar ssid |
24 | The SSID whose passphrase should be derived. | | 25 | The SSID whose passphrase should be derived. |
25 | .It Ar passphrase | | 26 | .It Ar passphrase |
26 | The passphrase to use. If not included on the command line, | | 27 | The passphrase to use. If not included on the command line, |
27 | passphrase will be read from standard input. | | 28 | passphrase will be read from standard input. |
| | | 29 | The passphrase must be 8 to 63 characters in length. |
28 | .El | | 30 | .El |
29 | .Sh SEE ALSO | | 31 | .Sh SEE ALSO |
30 | .Xr wpa_supplicant.conf 5 , | | 32 | .Xr wpa_supplicant.conf 5 , |
31 | .Xr ifconfig 8 , | | 33 | .Xr ifconfig 8 , |
32 | .Xr wpa_cli 8 , | | 34 | .Xr wpa_cli 8 , |
33 | .Xr wpa_supplicant 8 | | 35 | .Xr wpa_supplicant 8 |
34 | .Sh HISTORY | | 36 | .Sh HISTORY |
35 | The | | 37 | The |
36 | .Nm | | 38 | .Nm |
37 | utility first appeared in | | 39 | utility first appeared in |
38 | .Nx 4.0 . | | 40 | .Nx 4.0 . |
39 | .Sh AUTHORS | | 41 | .Sh AUTHORS |
40 | The | | 42 | The |