RN-XV WiFly Telnet problem

Hi

I used TeraTerm to configure the Wifly. When I scan, it found 2 networks, as expected.

One is WPA2-PSK and the other is WEP security type.

When module associate with WPA2-PSK network, IP address is generated and I can telnet to the module.

When module associate with WEP network, IP address is not generated and I cannot telnet to the module either.

Both setup are the same except SSID and Phrase.

When I read the manual again, I come across that I need to set wlan key for WEP network.

The question here is that where&how can I get WEP key?

Do I need to set wlan phrase in addition to wlan key?

Thanks.

From the WiFly Manual:

set wlan key

This command sets the 128-bit WEP key, where is EXACTLY 26 ASCII chars (13 bytes) in hex without the preceding 0x. Hex digits greater than 9 can be either upper or lower case. If you are using WPA or WPA2, enter a pass phrase with the set wlan passphase command.

Default: Not applicable

Example: set wlan key 112233445566778899AABBCCDD // Sets the passkey

NOTE: The module only supports open mode, 128-bit keys for WEP. WEP-128 shared mode is not supported because it is easily compromised and has been deprecated from the WiFi standards

You can get the Key from the Access Point.

Key password must be 26 char whereas mine is only 12, so i cannot use it.

Now what i did was, i change WEP to WPA2 and use same password and it works now.