Make example commands working.
Reviewed by: benjsc
This commit is contained in:
parent
8e46f3111b
commit
3e460b606a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user