WiSnap User Manual 2.21 04112011-JF
Page
23
of
66
set wlan hide <0, 1>
Hides the WEP key and WPA passphrase. When set, displaying the
wlan settings shows ****** for these fields. To unhide the
passphrase or passkey, re-enter the key or passphrase using the set
wlan key or set wlan passphrase command. Default = 0, don’t hide.
set wlan key <value>
sets the 128 bit WEP key. If you are using WPA or WPA2 you should
enter a pass phrase with the set wlan passphase command. Key
must be EXACTLY 13 bytes (26 ASCII chars). Data is expected in
HEX format, leading “0x” should NOT be used here.
Example : “set w k 112233445566778899AABBCCDD”
Hex digits > 9 can be either upper or lower case.
The WiSnap only supports “open” key mode, 128 bit keys for WEP.
WEP-128, shared mode is not supported as it is known to be easily
compromised and has been deprecated from the Wi-Fi standards.
set wlan linkmon <value>
sets the link monitor timeout threshold. If set to 1 or more, WiSnap
will scan once per second for the AP it is associated with. The value
is the threshold of failed scans before the WiSnap declares “AP is
Lost”, de-authenticates. The WiSnap will retry the association based
on the join policy variable. A value of 5 is recommended, as some
APs will not always respond to probes. Default is 0 (disabled).
Without enabling this feature, there is no way to detect if an AP is no
longer present until it becomes available again (if ever).
set wlan mask <value>
sets the wlan channel mask used for scanning channels with the
auto-join policy 1 or 2, used when the channel is set to 0. Value is a
bit-map where bit 0 = channel 1. Input for this command can be
entered in decimal or hex if prefixed with 0x. Default value is
0x1FFF (all channels)
set wlan num <value>
sets the default WEP key to use. 1-4 is the valid range.
Example : “set w n 2” sets the default key to 2.
set wlan phrase <string>
sets the passphrase for WPA and WPA2 security modes. 1-64 chars.
The passphrase can be alpha and numeric, and is used along with
the SSID to generate a unique 32 byte Pre-shared key (PSK), which
is then hashed into a 256 bit number. Changing either the SSID or
this value re-calculates and stores the PSK.
If exactly 64 chars are entered, it is assumed that this entry is
already an ASCII HEX representation of the 32 byte PSK and the
value is simply stored.
For passphrases that contain spaces use the replacement character $
instead of spaces. For example “my pass word” would be entered
“my$pass$word”. The replacement character can be changed using
the optional command
set opt replace <char>
.
Example : “set w p password” sets the phrase to ‘password’.