summaryrefslogtreecommitdiffstats
path: root/share/man/man4/upgt.4
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2010-11-01 17:59:09 +0000
committerjmc <jmc@openbsd.org>2010-11-01 17:59:09 +0000
commite37f152c7fc0ba303ade85a824fa707338fe37fa (patch)
tree1e7032ab926fffd462399587a7de1cefddf5ea36 /share/man/man4/upgt.4
parentuse the amd64 name for this frame, instead of the i386 name, to be (diff)
downloadwireguard-openbsd-e37f152c7fc0ba303ade85a824fa707338fe37fa.tar.xz
wireguard-openbsd-e37f152c7fc0ba303ade85a824fa707338fe37fa.zip
- switch from wpapsk to wpakey
- remove the "return device to default settings" example, which theo says is rubbish ok deraadt
Diffstat (limited to 'share/man/man4/upgt.4')
-rw-r--r--share/man/man4/upgt.418
1 files changed, 5 insertions, 13 deletions
diff --git a/share/man/man4/upgt.4 b/share/man/man4/upgt.4
index 9b878f9876c..f3869f65a5f 100644
--- a/share/man/man4/upgt.4
+++ b/share/man/man4/upgt.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: upgt.4,v 1.14 2010/04/29 09:20:17 jmc Exp $
+.\" $OpenBSD: upgt.4,v 1.15 2010/11/01 17:59:09 jmc Exp $
.\"
.\" Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
.\" Copyright (c) 2005-2007
@@ -48,7 +48,7 @@
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 29 2010 $
+.Dd $Mdocdate: November 1 2010 $
.Dt UPGT 4
.Os
.Sh NAME
@@ -178,17 +178,10 @@ dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
.Pp
Configure upgt0 to join network
.Dq my_net
-using WPA-PSK with passphrase
+using WPA with passphrase
.Dq my_passphrase :
.Bd -literal -offset indent
-# ifconfig upgt0 nwid my_net wpa wpapsk \e
- `wpa-psk my_net my_passphrase`
-.Ed
-.Pp
-Return upgt0 to its default settings:
-.Bd -literal -offset indent
-# ifconfig upgt0 -bssid -chan media autoselect \e
- nwid "" -nwkey -wpa -wpapsk
+# ifconfig upgt0 nwid my_net wpakey my_passphrase
.Ed
.Pp
Join an existing BSS network,
@@ -204,8 +197,7 @@ Join an existing BSS network,
.Xr usb 4 ,
.Xr hostname.if 5 ,
.\".Xr hostapd 8 ,
-.Xr ifconfig 8 ,
-.Xr wpa-psk 8
+.Xr ifconfig 8
.Sh HISTORY
The
.Nm