Make example commands working.

Reviewed by:	benjsc
This commit is contained in:
Gleb Smirnoff 2008-09-30 14:24:03 +00:00
parent 8e46f3111b
commit 3e460b606a

View File

@ -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