Add a man page derived from the one in the distribution.

This commit is contained in:
christos 2006-05-15 02:17:43 +00:00
parent 641b7ad824
commit b956bc8c52
2 changed files with 50 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2006/05/15 00:58:46 christos Exp $
# $NetBSD: Makefile,v 1.3 2006/05/15 02:17:43 christos Exp $
.include "${.CURDIR}/../Makefile.inc"
@ -7,7 +7,6 @@
PROG= wpa_passphrase
SRCS= wpa_passphrase.c sha1.c md5.c
NOMAN=yes
#MAN= wpa_passphrase.8
MAN= wpa_passphrase.8
.include <bsd.prog.mk>

View File

@ -0,0 +1,48 @@
.\" $NetBSD: wpa_passphrase.8,v 1.1 2006/05/15 02:17:43 christos Exp $
.\"
.Dd May 14, 2006
.Dt WPA_PASSPHRASE 8
.Os
.Sh NAME
.Nm wpa_passphrase
.Nd Set WPA passphrase for a SSID
.Sh SYNOPSIS
.Nm
.Ar ssid
.Ar passphrase
.Sh DESCRIPTION
The
.Nm
utility
pre-computes PSK entries for network configuration blocks of a
.Xr wpa_supplicant.conf 5
file.
.Pp
The following arguments must be specified on the command line:
.Bl -tag -width passphrase
.It Ar ssid
The SSID whose passphrase should be derived.
.It Ar passphrase
The passphrase to use. If not included on the command line,
passphrase will be read from standard input.
.El
.Sh SEE ALSO
.Xr wpa_supplicant.conf 5 ,
.Xr wpa_supplicant 8 ,
.Xr ifconfig 8 ,
.Xr wpa_cli 8
.Sh HISTORY
The
.Nm
utility first appeared in
.Nx 4.0 .
.Sh AUTHORS
The
.Nm
utility was written by
.An Jouni Malinen Aq jkmaline@cc.hut.fi .
This manual page is derived from the
.Pa wpa_passphrase.sgml
file included in the
.Xr wpa_supplicant 8
distribution.