SPA525G - SPC tool wont provision WiFi properly

Unanswered Question
Sep 17th, 2009
User Badges:

WiFi provisioning via SPC is impossible FYI.  (XML works fine, however)


Using latest firmware 7.2.5 and latest compiler


Current workaround is to provision phone with WiFi via 2 stage process:

1) Provision all settings, except WiFi using SPC profile

2) configure a second XML profile download link that contains the WiFi settings.


Our XML 'wifi provisioning hack' looks like this:


<flat-profile>
<profileName_1_ group="WirelessProfileEntry">wiphones</profileName_1_>
<ssid_1_ group="WirelessProfileEntry">wiphones</ssid_1_>
<securityMode_1_ group="WirelessProfileEntry">WPA-PSK</securityMode_1_>
<cipherType_1_ group="WirelessProfileEntry">TKIP</cipherType_1_>
<pskKey_1_ group="WirelessProfileEntry">12345678</pskKey_1_>
<SPA525-wifi-on group="System/Wi-Fi_Settings">Yes</SPA525-wifi-on>
</flat-profile>


Any chance of fixing the SPC, devs ?


Cheers

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Marcos Hernandez Thu, 09/17/2009 - 09:00
User Badges:
  • Blue, 1500 points or more

I have informed the Product Manager about this defect. Thanks for bringing this to our attention. Fix date is TBD.


Marcos

Marcos Hernandez Tue, 09/22/2009 - 09:02
User Badges:
  • Blue, 1500 points or more

Our Product Engineers are asking for clarification. Please see below:


Marcos, what do they mean when they say the following
WiFi provisioning via SPC is impossible FYI.  (XML works fine, however)
XML is created by the SPC utility, so what does this mean?
 
Also, have them send both XML profiles, the initial and the wifi so we can take a look.  We also want to see the log file to see if shows any error message.

rcanavan Wed, 09/29/2010 - 10:59
User Badges:

Can you advise what the flat file parameters should be for configuring Wifi via provisioning?

rcanavan Wed, 09/29/2010 - 13:11
User Badges:

Here is a solution.  I had a concern having our wifi keys going out in plain text.  Here is what I did to keep our wireless keys secured while providing the ability to provision wifi on the SPA525G phone.


It should be noted that we provision based on a text file compiled / encrypted using the SPC tool.  In this file, I specified Profile_Rule_B to be:

[--key yourPassword] tftp://yourserver.com/spa525gwifi.cfg


This file is the XML file, but encrypted by doing the following:

openssl enc -aes-256-cbc -k yourPassword -in spa525gwifi.xml -out spa525gwifi.cfg


When the phone boots up, it will use the first Profile_Rule parameter to get the phone config.  After this, it will then move onto Profile_Rule_B to get the wifi configuration.

Actions

This Discussion