From f5059dd4ece0ee2a3b7559b127bf9bc5ecf1cd77 Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Thu, 28 Aug 2008 15:52:21 +0000 Subject: WPA support for iwi(4). some initial WMM bits too. use license.template while i'm here. --- share/man/man4/iwi.4 | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'share') diff --git a/share/man/man4/iwi.4 b/share/man/man4/iwi.4 index 297205fbdaa..c9c249b632e 100644 --- a/share/man/man4/iwi.4 +++ b/share/man/man4/iwi.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iwi.4,v 1.32 2008/07/29 17:03:35 jmc Exp $ +.\" $OpenBSD: iwi.4,v 1.33 2008/08/28 15:52:20 damien Exp $ .\" .\" Copyright (c) 2004 .\" Damien Bergamini . 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 IWI 4 .Sh NAME @@ -69,12 +69,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. +The +.Nm +driver relies on the software 802.11 stack for both encryption and decryption +of data frames. .Pp The .Nm @@ -117,16 +123,19 @@ channel 11, obtaining an IP address using DHCP: dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11 .Ed .Pp -Configure iwi0 for WEP, using hex key -.Dq 0x1deadbeef1 : +Configure iwi0 to join network +.Dq my_net +using WPA-PSK with passphrase +.Dq my_passphrase : .Bd -literal -offset indent -# ifconfig iwi0 nwkey 0x1deadbeef1 +# ifconfig iwi0 nwid my_net wpa wpapsk \e + $(wpa-psk my_net my_passphrase) .Ed .Pp Return iwi0 to its default settings: .Bd -literal -offset indent # ifconfig iwi0 -bssid -chan media autoselect \e - nwid "" -nwkey + nwid "" -nwkey -wpa -wpapsk .Ed .Pp Join an existing BSS network, -- cgit v1.2.3