summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2008-11-17 11:59:45 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2008-11-17 11:59:45 +0000
commit845d5c92054d6c2575ed0fff29c03c77ea57ee86 (patch)
treea8fd32797c32b099429a7d14a5114367949697b6
parent2d47a0326789247af726413c4a9e0a03fb415cb7 (diff)
update wpa related info; om damien@ jmc@
-rw-r--r--share/man/man4/ath.427
1 files changed, 17 insertions, 10 deletions
diff --git a/share/man/man4/ath.4 b/share/man/man4/ath.4
index 09100913f4e..0185c5f9617 100644
--- a/share/man/man4/ath.4
+++ b/share/man/man4/ath.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ath.4,v 1.43 2008/08/29 09:44:16 damien Exp $
+.\" $OpenBSD: ath.4,v 1.44 2008/11/17 11:59:44 otto Exp $
.\" $NetBSD: ath.4,v 1.5 2004/07/03 16:58:18 mycroft Exp $
.\"
.\" Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
@@ -42,7 +42,7 @@
.\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/ath.4,v 1.16 2004/02/18 08:30:08 maxim Exp $
.\" parts from $FreeBSD: /repoman/r/ncvs/src/share/man/man4/ath_hal.4,v 1.7 2004/01/07 20:49:51 blackend Exp $
.\"
-.Dd $Mdocdate: August 29 2008 $
+.Dd $Mdocdate: November 17 2008 $
.Dt ATH 4
.Os
.Sh NAME
@@ -123,15 +123,18 @@ or to scan for access points.
.Pp
The
.Nm
-driver can be configured to use hardware
-Wireless Equivalent Privacy (WEP).
+driver can be configured to use
+Wireless Equivalent Privacy (WEP) or
+Wi-Fi Protected Access (WPA-PSK and WPA2-PSK).
+WPA is the de facto encryption standard for wireless networks.
It is strongly recommended that WEP
not be used as the sole mechanism
to secure wireless communication,
due to serious weaknesses in it.
.Pp
AR5211 and AR5212 support the AES, TKIP, and Michael cryptographic
-operations required for WPA but at this time the driver does not support them.
+operations required for WPA in hardware but at this time the driver
+does not support them.
.Pp
The
.Nm
@@ -215,16 +218,19 @@ inet 192.168.1.1 255.255.255.0 NONE media autoselect \e
mediaopt hostap nwid my_net chan 11
.Ed
.Pp
-Configure ath0 for WEP, using hex key
-.Dq 0x1deadbeef1 :
+Configure ath0 to join network
+.Dq my_net
+using WPA-PSK with passphrase
+.Dq my_passphrase :
.Bd -literal -offset indent
-# ifconfig ath0 nwkey 0x1deadbeef1
+# ifconfig ath0 nwid my_net wpa wpapsk \e
+ $(wpa-psk my_net my_passphrase)
.Ed
.Pp
Return ath0 to its default settings:
.Bd -literal -offset indent
# ifconfig ath0 -bssid -chan media autoselect \e
- nwid "" -nwkey -powersave
+ nwid "" -nwkey -wpa -wpapsk
.Ed
.Pp
Join an existing BSS network,
@@ -319,7 +325,8 @@ This should not happen.
.Xr hostname.if 5 ,
.Xr gpioctl 8 ,
.Xr hostapd 8 ,
-.Xr ifconfig 8
+.Xr ifconfig 8,
+.Xr wpa-psk 8
.Sh HISTORY
The
.Nm