<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Arial;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Your PreSharedKey looks to be wrong. Ccording to TR-098, the PSK should be:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">A literal WPA PSK expressed as a hexadecimal string.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">The first table entry contains the default <i>PreSharedKey</i> (<i>InternetGatewayDevice.LANDevice.{i}.WLANConfiguration.{i}.PreSharedKey.1.PreSharedKey</i>).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">If <a href="#D.InternetGatewayDevice:1.InternetGatew"><i>KeyPassphrase</i></a> is written, the PSK is immediately generated. The ACS SHOULD NOT set the passphrase and also set the PSK directly
 (the result of doing this is undefined).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">When read, this parameter returns an empty string, regardless of the actual value.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">You should probably set the KeyPassphrase instead, unless you want to set the hex PSK directly.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">---<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:#009639">Manny Veloso </span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:black">/ technical person</span><span style="font-family:Calibri;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:black">o: +360 859 1780</span><span style="font-family:Calibri;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Calibri;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:black"> </span><span style="font-family:Calibri;color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:black">Follow
</span><span style="font-family:Calibri;color:black"><a href="http://www.smartrg.com/"><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:blue;text-decoration:none">SmartRG</span></a></span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:black">
 news and events on </span><span style="font-family:Calibri;color:black"><a href="https://www.facebook.com/SmartRG?fref=ts"><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:blue;text-decoration:none">Facebook</span></a></span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:#00A349">
</span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:#009639">|</span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:#00A349">
</span><span style="font-family:Calibri;color:black"><a href="https://twitter.com/SRGcrew"><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:blue;text-decoration:none">Twitter</span></a></span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:#00A349">
</span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:#009639">|</span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:#00A349">
</span><span style="font-family:Calibri;color:black"><a href="https://www.linkedin.com/company/2568791?trk=vsrp_companies_res_name&trkInfo=VSRPsearchId%3A80173221376409258784%2CVSRPtargetId%3A2568791%2CVSRPcmpt%3Aprimary"><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:blue;text-decoration:none">LinkedIn</span></a></span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:#00A349">
</span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:#009639">|</span><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:#00A349">
</span><span style="font-family:Calibri;color:black"><a href="https://www.youtube.com/channel/UCxs7PruCYyHnuAVHO_oQAmQ"><span style="font-size:10.0pt;font-family:"Trebuchet MS";color:blue;text-decoration:none">YouTube</span></a></span><span style="font-size:11.0pt;font-family:Calibri"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Users <users-bounces@lists.genieacs.com> on behalf of Miguel Ángel Sánchez Moragues <sanchez.moragues@gmail.com><br>
<b>Reply-To: </b>Community support for GenieACS users <users@lists.genieacs.com><br>
<b>Date: </b>Monday, April 17, 2017 at 8:07 AM<br>
<b>To: </b>Community support for GenieACS users <users@lists.genieacs.com><br>
<b>Subject: </b>ACS not send PreSharedKey value<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I have a simple script provision (execute every '2 PERIODIC' event):
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID", {value: Date.now()}, {value: "SSID_test"});<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.PreSharedKey.1.PreSharedKey", {value: Date.now()}, {value: "0123456789"});<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Arial">But the ACS only sends the SSID value. Why ACS did not send the PreSharedKey value?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>