Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

WLAN advanced settings provisioning using XML

From Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Tested on: Nokia N78,
Nokia N96, Nokia 5800 XpressMusic
Compatibility
Platform(s): S60 3rd Edition, FP2
S60 5th Edition
S60 5th Edition
S60 3rd Edition (initial release)
Article
Created: User:Kbwiki (30 Oct 2009)
Last edited: hamishwillee (01 Aug 2012)

Description

A WLAN Access Point can be created using OMA Client Provisioning which is shown in the Local Client Provisioning plug-in. This article shows you how this can be extended to provision advanced WLAN settings, such as WEP key, ASCII pre-shared key, and EAP.

Solution

Setting WEP key format
 
<characteristic type="NAPDEF">
<parm name="NAPID" value="NAP1"/>
<parm name="BEARER" value="WLAN"/>
<parm name="NAME" value="WEP WLAN"/>
<characteristic type="WLAN">
<parm name="PRI-SSID" value="MYWLAN"/>
<parm name="NETMODE" value="INFRA"/>
<parm name="SECMODE" value="WEP"/>
<parm name="WEPAUTHMODE" value="OPEN"/>
<parm name="WEPKEYIND" value="0"/>
<characteristic type="WEPKEY">
<parm name="LENGTH" value="128"/>
<parm name="INDEX" value="0"/>
<parm name="DATA" value="5F89AE0A3B9D5C1123F81F0A41"/>
</characteristic>
</characteristic>
</characteristic>
 
Setting WPA-PRES-KEY-ASC for SECMODE="8021X"
 
<characteristic type="NAPDEF">
<parm name="NAPID" value="NAP1"/>
<parm name="BEARER" value="WLAN"/>
<parm name="NAME" value="MY WLAN"/>
<characteristic type="WLAN">
<parm name="PRI-SSID" value="MYWLAN"/>
<parm name="NETMODE" value="INFRA"/>
<parm name="SECMODE" value="8021X"/>
<parm name="WPA-PRES-KEY-ASC" value="secretexamplepswd"/>
</characteristic>
</characteristic>
 
 
Setting MSCHAPV2 for EAP-PEAP
 
<characteristic type="NAPDEF">
<parm name="NAPID" value="NAP1"/>
<parm name="BEARER" value="WLAN"/>
<parm name="NAME" value="MY WLAN"/>
<characteristic type="WLAN">
<parm name="PRI-SSID" value="MYWLAN"/>
<parm name="NETMODE" value="INFRA"/>
<parm name="SECMODE" value="WPA"/>
<characteristic type="EAP">
<parm name="EAPTYPE" value="EAP-MSCHAPV2"/>
<parm name="USERNAME" value="yourusername"/>
<param name="PASSWORD" value="yourpassword"/>
<param name="REALM" value="0"/>
<parm name="ENCAPS" value="EAP-PEAP"/>
</characteristic>
</characteristic>
</characteristic>

This page was last modified on 1 August 2012, at 04:41.
40 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×