summaryrefslogtreecommitdiff
path: root/share/man/man4/ipw.4
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2008-08-28 14:40:45 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2008-08-28 14:40:45 +0000
commit71d3aafee2ea867be57ce58c03d68cd0e0215e17 (patch)
treef1b3c762eed5d25b10f8f469924da62bd9612f2b /share/man/man4/ipw.4
parentd773ef3fa87a6513840e05dbc285a6d6b8997e36 (diff)
WPA support for ipw(4).
Did a lot of cleanup while I was there.
Diffstat (limited to 'share/man/man4/ipw.4')
-rw-r--r--share/man/man4/ipw.425
1 files changed, 17 insertions, 8 deletions
diff --git a/share/man/man4/ipw.4 b/share/man/man4/ipw.4
index ad9e17cdf13..8bfd82c1b64 100644
--- a/share/man/man4/ipw.4
+++ b/share/man/man4/ipw.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ipw.4,v 1.27 2008/07/29 17:03:35 jmc Exp $
+.\" $OpenBSD: ipw.4,v 1.28 2008/08/28 14:40:44 damien Exp $
.\"
.\" Copyright (c) 2004
.\" Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 29 2008 $
+.Dd $Mdocdate: August 28 2008 $
.Os
.Dt IPW 4
.Sh NAME
@@ -70,12 +70,18 @@ or to scan for access points.
.Pp
The
.Nm
-driver can be configured to use software
-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.
+The
+.Nm
+driver relies on the software 802.11 stack for both encryption and decryption
+of data frames.
.Pp
The
.Nm
@@ -118,16 +124,19 @@ channel 11, obtaining an IP address using DHCP:
dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
.Ed
.Pp
-Configure ipw0 for WEP, using hex key
-.Dq 0x1deadbeef1 :
+Configure ipw0 to join network
+.Dq my_net
+using WPA-PSK with passphrase
+.Dq my_passphrase :
.Bd -literal -offset indent
-# ifconfig ipw0 nwkey 0x1deadbeef1
+# ifconfig ipw0 nwid my_net wpa wpapsk \e
+ $(wpa-psk my_net my_passphrase)
.Ed
.Pp
Return ipw0 to its default settings:
.Bd -literal -offset indent
# ifconfig ipw0 -bssid -chan media autoselect \e
- nwid "" -nwkey
+ nwid "" -nwkey -wpa -wpapsk
.Ed
.Pp
Join an existing BSS network,