summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2008-09-30 14:24:03 +0000
committerglebius <glebius@FreeBSD.org>2008-09-30 14:24:03 +0000
commit897af1f2383137e9de1003971e8fda083c37d0bb (patch)
tree9e7735469e84df27d4dc9dd0ff51cca974b4f6bb /share
parenteeb206c9094367e33f939107b7b7bfd7e96dac98 (diff)
downloadFreeBSD-src-897af1f2383137e9de1003971e8fda083c37d0bb.zip
FreeBSD-src-897af1f2383137e9de1003971e8fda083c37d0bb.tar.gz
Make example commands working.
Reviewed by: benjsc
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/wpi.48
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man4/wpi.4 b/share/man/man4/wpi.4
index c573856..1f9b2f58 100644
--- a/share/man/man4/wpi.4
+++ b/share/man/man4/wpi.4
@@ -94,24 +94,24 @@ firmware license
Join an existing BSS network (i.e., connect to an access point):
.Pp
.Bd -literal -offset indent
-ifconfig wlan create wlandev wpi0 inet 192.168.0.20 \e
+ifconfig wlan0 create wlandev wpi0 inet 192.168.0.20 \e
netmask 0xffffff00
.Ed
.Pp
Join a specific BSS network with network name
.Dq Li my_net :
.Pp
-.Dl "ifconfig wlan create wlandev wpi0 ssid my_net up"
+.Dl "ifconfig wlan0 create wlandev wpi0 ssid my_net up"
.Pp
Join a specific BSS network with 64-bit WEP encryption:
.Bd -literal -offset indent
-ifconfig wlan create wlandev wpi0 ssid my_net \e
+ifconfig wlan0 create wlandev wpi0 ssid my_net \e
wepmode on wepkey 0x1234567890 weptxkey 1 up
.Ed
.Pp
Join a specific BSS network with 128-bit WEP encryption:
.Bd -literal -offset indent
-ifconfig wlan create wlandev wpi0 wlanmode adhoc ssid my_net \e
+ifconfig wlan0 create wlandev wpi0 wlanmode adhoc ssid my_net \e
wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
.Ed
.Sh DIAGNOSTICS
OpenPOWER on IntegriCloud