# Using WPA2/CCMP on RCM5600W

**URL:** <https://forums.digi.com/t/using-wpa2-ccmp-on-rcm5600w/9374>\
**Category:** Rabbit\
**Created:** [August 12, 2009, 10:32pm UTC](https://forums.digi.com/t/using-wpa2-ccmp-on-rcm5600w/9374 "2009-08-12T22:32:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmorton](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@tmorton](https://forums.digi.com/u/tmorton)\
**Post date:** [August 12, 2009, 10:32pm UTC](https://forums.digi.com/t/using-wpa2-ccmp-on-rcm5600w/9374/1 "2009-08-12T22:32:56Z")

</div>

Hello,  
I’ve been trying to get my RCM5600W to connect to a WPA2-PSK (CCMP) network for a few days now with no luck. I can connect fine to an open AP, WEP, or WPA-TKIP network, just not WPA2.

I’ve tried both compile-time and runtime config, but the results seem to be the same. Here’s how I was doing the runtime configuration:

```auto

ret = ifconfig(IF_WIFI0,
   		IFS_DOWN,
		IFS_DHCP, 1,
		IFS_WIFI_SSID, strlen("wetlabs-n"), "wetlabs-n",
		IFS_WIFI_REGION, IFPARAM_WIFI_REGION_AMERICAS,
               IFS_WIFI_MODE, IFPARAM_WIFI_INFRASTRUCTURE,
		IFS_WIFI_ENCRYPTION, IFPARAM_WIFI_ENCR_CCMP,
		IFS_WIFI_WPA_PSK_PASSPHRASE, "",
               IFS_WIFI_WPA_PROTOCOL, IFPARAM_WIFI_WPA_PROTOCOL_ALL,
               IFS_UP,
               IFS_END);

```

ifconfig() returns a 0 (success), but sock\_init\_or\_exit() just sits and spins forever while attempting to connect. However, just by changing the IFS\_WIFI\_ENCRYPTION settings to IFPARAM\_WIFI\_ENCR\_TKIP and the SSID to a WPA/TKIP router, I can connect fine (using the same passphrase).

Any ideas what I’m doing wrong here?  
Thanks!

- Taj

---

<div class="post-metadata">

**Author:** ![chibouraska](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@chibouraska](https://forums.digi.com/u/chibouraska)\
**Post date:** [October 28, 2009, 2:18am UTC](https://forums.digi.com/t/using-wpa2-ccmp-on-rcm5600w/9374/2 "2009-10-28T02:18:12Z")

</div>

Hi, any luck with this problem, i have the same problem!!  
Please help if solution was found. Thanks!

## AC
