<html xmlns:v="urn:schemas-microsoft-com:vml" 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="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@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:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Trebuchet MS",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I’m using Dan’s fork as well. I had to modify the message the GenieACS sends to include the event as well as the device_id as I wanted
 to do some different things for different events, and not need to set the login for all events.  The GenieACS sends the message to our own API, and from there I can find the device in my inventory database, match it up with the service details in the services
 database, and then create a couple setPrameterValues Tasks for that device, with a connection request, that will update the login on the device. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">This is working well in my test environment so far, but I’m having problems with firmware not finding my ACS out of the box even with
 the ACS url built into the firmware.  Not an issue with the ACS, or dan’s fork, just a headache with the modem.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#EA5F00">Don Johnson<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#EA5F00">Internal Developer / DBA<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Uniserve Communications<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Suite 330 - 333 Terminal Avenue, Vancouver, BC V6A 4C1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Phone: 604-996-8213<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Email:
<a href="mailto:don.johnson@uniserveteam.com"><span style="color:#0563C1">don.johnson@uniserveteam.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="http://www.uniserve.com"><span style="color:#0563C1">www.uniserve.com</span></a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><img border="0" width="200" height="54" id="Picture_x0020_1" src="cid:image001.png@01D12E74.208E5D60" alt="logo"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">This e-mail, and any attachments thereto, is intended for use by the addressee(s) named herein, and may contain legally privileged and/or confidential information. 
 If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution, or copying of this e-mail, and any attachments thereto, is strictly prohibited.  If you have received this e-mail in error, please notify me
 by e-mail (by replying to this message), or by telephone (noted above), and permanently delete the original.  Thank you.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Users [mailto:users-bounces@lists.genieacs.com]
<b>On Behalf Of </b>Dan Morphis<br>
<b>Sent:</b> December 4, 2015 8:06 AM<br>
<b>To:</b> sergio.fernandez@electronicamartinez.com; Community support for GenieACS users <users@lists.genieacs.com><br>
<b>Subject:</b> Re: Best way to autoconfigure routers and resist reset to factory defaults<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">I use my notification patch for genie. That sends events like BOOT and BOOTSTRAP (first boot from factory reset) to my server. There I figure out what needs to be done to the cpe. My fork is at github/akcoder/genieacs <br>
<br>
-dan<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On Dec 4, 2015, at 2:30 AM, Sergio Fernández <<a href="mailto:sergio.fernandez@electronicamartinez.com">sergio.fernandez@electronicamartinez.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Good Morning!<br>
<br>
I've been told that configuring <b>presets</b> in order to autoconfigure routers and resist a client's factory default action
<b>it's bad</b> for GenieACS. So I want to change the way I'm doing it.<br>
<br>
So my question is: What is the best way so all the routers of my company accomplish these 2 things:<br>
    1) That when you connect the router to the ADSL or the WAN port it autoconfigures by itself<br>
    2) When the client performs a factory default, it autoconfigures by itself with its own PPPoE login<o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
I thank you in advance for all the advice given<br>
<br>
-- <br>
<b>Nombre:</b> Sergio Fernández Rubio<b><br>
Cargo:</b> Ingeniero de Software y de Redes<b><br>
Departamento:</b> TIC<b><br>
mail:</b> <a href="mailto:sergio.fernandez@electronicamartinez.com">sergio.fernandez@electronicamartinez.com</a><b><br>
ficina:</b> 968 165 000<b><br>
Página web:</b> <a href="http://www.electronicamartinez.es" target="_blank">www.electronicamartinez.com</a>
<o:p></o:p></p>
</div>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a><o:p></o:p></p>
</div>
</blockquote>
</div>
</body>
</html>