Archived:Creating a WLAN access point using OMA DM
Article Metadata
Tested with
Compatibility
Article
Contents |
Overview
This article gives an overview of the commands used for creating a WLAN access point (AP) with WEP and WPA-PSK authentication.
Description
Device Management commands can be used for remote creation and configuration of APs. Various servers, such as Funambol, Sync4j, and SCTS servers, can be used for this purpose. Add, Replace, and Delete commands can be used for the creation, modification, and deletion of the AP.
Solution
The following commands are used for the creation of a WLAN AP with WEP and WPA-PSK authentication.
i. AP creation with WEP authentication
Using the Add command, a new AP can be created using the following commands:
./AP/<APId010> ./AP/<APId010>/NAPDef/<NAPId001> ./AP/<APId010>/NAPDef/<NAPId001>/Name <<AP Name>> ./AP/<APId010>/NAPDef/<NAPId001>/Bearer/<BId001> ./AP/<APId010>/NAPDef/<NAPId001>/Bearer/<BId001>/BearerL WLAN ./AP/<APId010>/NAPDef/<NAPId001>/Bearer/<BId001>/Direction Outgoing ./AP/<APId010>/NAPDef/<NAPId001>/Networks/<NwId007>/Name <<Network Name>> ./AP/<APId010>/NAPDef/<NAPId001>/WLAN ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001> ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/NetworkMode Infrastructure ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/SSIDHidden false ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/SecurityMode WEP ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/WEPKey 1 ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/WEPAuthMode 1 ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/WEPKey/WKId1/Data <<WEPKey>> ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/SSID <<Network Id>>
ii. AP creation with WPA-PSK authentication
Using the Add command, a new AP can be created using the following commands:
./AP/<APId010> ./AP/<APId010>/NAPDef/<NAPId001> ./AP/<APId010>/NAPDef/<NAPId001>/Name <<AP Name>> ./AP/<APId010>/NAPDef/<NAPId001>/Bearer/<BId001> ./AP/<APId010>/NAPDef/<NAPId001>/Bearer/<BId001>/BearerL WLAN ./AP/<APId010>/NAPDef/<NAPId001>/Bearer/<BId001>/Direction Outgoing ./AP/<APId010>/NAPDef/<NAPId001>/Networks/<NwId007>/Name <<Network Name>> ./AP/<APId010>/NAPDef/<NAPId001>/WLAN ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001> ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/NetworkMode Infrastructure ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/SSID NOKIA_MDP ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/SSIDHidden true ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/SecurityMode WPA ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/UseWPAPSK true ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/WPAPreSharedKey <<PSK>>
Modification and Deletion
For modifying the settings, Replace and Delete commands can be used.
To change the Security mode from WPA to WPA2, the following command can be used:
Replace ./AP/<APId010>/NAPDef/<NAPId001>/WLAN/<WLId001>/SecurityMode WPA2
To remove the AP, the following command can be used:
Delete ./AP/<APId010>
Related article
Adding access points on Symbian using device management
Archived:Creating multiple access points using OMA DM

