Technical data

4. Packages
XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX 128 Bit Hex-Key (X=0-F)
XXXX-XXXX-XX 64 Bit Hex-Key (X=0-F)
s: 5 characters 64 Bit
s: 6-13 characters 128 Bit
P: 1-64 characters 128 Bit
Using s:text is not compatible with the passphrase of the Windows drivers. Use a hex
key instead! Windows mostly uses hex keys without hyphens ’-’. Using P: text is
compatible to passphrases of most (if not all) Windows WLAN drivers but only in 128
Bit mode. Linux allows to mix key length which Windows drivers usually do not!
WLAN_x_ENC_ACTIVE (deprecated) Sets the active wireless encryption key.
Possible values: 1-4
This variable must be set if WLAN_x_ENC_N is greater than 0. In other cases it’s optional.
WLAN_x_ENC_MODE (deprecated) Activates the encryption mode.
Possible values:
on/off with or without encryption
open also accepts unencrypted packets
restricted only accepts encrypted packets
Most reasonable value: ’restricted’
This feature is optional and has to be added manually in config/wlan.txt. If this variable
is not set the default ’off will be assumed if no WEP key was defined and ’restricted’ if
at least one key is defined.
WLAN_x_WPA_KEY_MGMT If you want wo use WPA instead of WEP encryption set the
WPA mode here. At the moment only WPA with a pre-shared key between client and
AP (WPA-PSK) is supported. This key should be chosen carefully and not too short
because that would allow for dictionary attacks.
In managed mode all cards supported by WPA-Supplicant (http://hostap.epitest.fi/
wpa_supplicant/ and in master mode all cards supported by Hostapd (http://hostap.
epitest.fi/hostapd/) are accepted.
Cards based on chipsets by Atheros and on the hostap-driver were tested successfully in
managed and master mode. In theory also atmel and some other cards are possible if
developers of third-party opt-packages adapt their packages accordingly.
WLAN_x_WPA_PSK Specify the pre-shared key to be used for communication between
client and Access-Point here. The key is provided as a passphrase at a minimum length
of 16 characters and a maximum length of 63 characters.
WLAN_x_WPA_TYPE Choose between ’1’ for WPA1 mode, ’2’ for WPA2 (IEEE 802.11i)
mode and ’3’ for both - the client can decide to use WPA1 or WPA2. Only WPA2 should
be used if the hardware supports it.
WLAN_x_WPA_ENCRYPTION Encryption protocols TKIP and the enhanced version
CCMP (AES-CTR/CBC-MAC Protocol, mostly called AES in short) can be used.
CCMP eventually won’t be supported by older WLAN hardware. You may also specifiy
both.
236