# RN-XV WiFly Telnet problem

**URL:** <https://community.sparkfun.com/t/rn-xv-wifly-telnet-problem/25361>\
**Category:** Wireless & IoT\
**Created:** [November 9, 2012, 4:00am UTC](https://community.sparkfun.com/t/rn-xv-wifly-telnet-problem/25361 "2012-11-09T04:00:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wnc](https://avatars.discourse-cdn.com/v4/letter/w/b9bd4f/32.png) [@wnc](https://community.sparkfun.com/u/wnc)\
**Post date:** [November 9, 2012, 4:00am UTC](https://community.sparkfun.com/t/rn-xv-wifly-telnet-problem/25361/1 "2012-11-09T04:00:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Gsm\_Man](https://avatars.discourse-cdn.com/v4/letter/g/90db22/32.png) [@Gsm\_Man](https://community.sparkfun.com/u/Gsm_Man)\
**Post date:** [November 12, 2012, 1:36pm UTC](https://community.sparkfun.com/t/rn-xv-wifly-telnet-problem/25361/2 "2012-11-12T13:36:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![wnc](https://avatars.discourse-cdn.com/v4/letter/w/b9bd4f/32.png) [@wnc](https://community.sparkfun.com/u/wnc)\
**Post date:** [November 16, 2012, 3:43am UTC](https://community.sparkfun.com/t/rn-xv-wifly-telnet-problem/25361/3 "2012-11-16T03:43:54Z")

</div>

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.
