summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/ifconfig/ifconfig.88
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 4c1fd92c062..9fea2faba71 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.175 2009/02/15 08:34:36 damien Exp $
+.\" $OpenBSD: ifconfig.8,v 1.176 2009/02/15 17:33:13 blambert Exp $
.\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $
.\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $
.\"
@@ -797,7 +797,11 @@ authentication is allowed using the
.Cm wpaakms
option.
Pre-shared keys can be generated from passphrases using
-.Xr wpa-psk 8 .
+.Xr wpa-psk 8 ,
+as in the following example, which sets interface wpi0 to use WPA with SSID
+\&"wlan\&" and passphrase \&"supersecret\&":
+.Pp
+.Dl # ifconfig wpi0 wpa wpapsk `wpa-psk wlan supersecret`
.It Fl wpapsk
Delete the pre-shared key.
This will prevent