<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Cheers Dan.<div class=""><br class=""></div><div class="">That was the hint I needed. Thanks!<br class=""><div><blockquote type="cite" class=""><div class="">On 11 May 2018, at 19:20, Dan Morphis <<a href="mailto:dan@milkcarton.com" class="">dan@milkcarton.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Provisioning scripts are only implemented in v1.1. v1.1 also doesn't pull down the entire device model, which is why it appears to you that basic information isn't being displayed about the CPE. You can force GenieACS to pull that information by using a provisioning script.<div class=""><br class=""></div><div class="">Create a script called 'boot', and then trigger it off the 1 BOOT event. In that script put this:</div><div class=""><br class=""></div><div class=""><div class=""><font face="monospace, monospace" class="">let now = Date.now();</font></div><div class=""><font face="monospace, monospace" class="">declare("InternetGatewayDevice.DeviceInfo.SerialNumber", {value: 1});</font></div><div class=""><font face="monospace, monospace" class="">declare("InternetGatewayDevice.DeviceInfo.ProductClass", {value: 1});</font></div><div class=""><font face="monospace, monospace" class="">declare("InternetGatewayDevice.DeviceInfo.ManufacturerOUI", {value: 1});</font></div><div class=""><font face="monospace, monospace" class="">declare("InternetGatewayDevice.DeviceInfo.Manufacturer", {value: 1});</font></div><div class=""><font face="monospace, monospace" class="">declare("InternetGatewayDevice.DeviceInfo.HardwareVersion", {value: 1});</font></div><div class=""><br class=""></div><div class=""><span style="font-family:monospace,monospace" class="">declare("</span><span style="font-family:monospace,monospace" class="">InternetGatewayDevice.WANDevice.*.WANConnectionDevice.<span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline" class="">*</span>.WANPPPConnection.<span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline" class="">*</span>.ExternalIPAddress</span><span style="font-family:monospace,monospace" class="">", {value: now});</span><br class=""></div></div><div class=""><font face="monospace, monospace" class=""><br class=""></font></div><div class=""><font face="monospace, monospace" class=""><br class=""></font></div><div class=""><font face="monospace, monospace" class="">The value in the value parameter tells Genie to only refresh the given parameter/object if Genie's version of the data is older then the value given. Value is in milliseconds since Unix epoch.</font></div><div class=""><font face="monospace, monospace" class=""><br class=""></font></div><div class=""><font face="monospace, monospace" class="">-dan</font></div><div class=""><font face="monospace, monospace" class=""><br class=""></font></div><div class=""><font face="monospace, monospace" class=""><br class=""></font></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, May 11, 2018 at 10:05 AM, Joseph Waite <span dir="ltr" class=""><<a href="mailto:joelists@tm.net.uk" target="_blank" class="">joelists@tm.net.uk</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="">Hi Dan<div class=""><br class=""></div><div class="">No</div><div class="">I’m currently using v1.0 as v1.1 wasn’t getting basic info like IP address of modems etc.<br class=""><br class=""><div id="m_5980302841461802254AppleMailSignature" class="">Joe Waite</div><div class=""><div class="h5"><div class=""><br class="">On 11 May 2018, at 18:33, Dan Morphis <<a href="mailto:dan@milkcarton.com" target="_blank" class="">dan@milkcarton.com</a>> wrote:<br class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div dir="ltr" class="">Are you using genie v1.1?</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, May 11, 2018 at 1:50 AM, Joseph Waite <span dir="ltr" class=""><<a href="mailto:joelists@tm.net.uk" target="_blank" class="">joelists@tm.net.uk</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi Dan<div class=""><br class=""></div><div class="">Yes that is the page I’m referring to, I have put the external script in the advised location, however its the main provision script I’m unsure of how/where to add.</div><div class=""><br class=""></div><div class="">Regards<div class=""><div class="m_5980302841461802254h5"><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 10 May 2018, at 23:06, Dan Morphis <<a href="mailto:dan@milkcarton.com" target="_blank" class="">dan@milkcarton.com</a>> wrote:</div><br class="m_5980302841461802254m_1795155952269603175Apple-interchange-newline"><div class=""><div dir="ltr" class="">I presume your using the "Example of a provisioning flow" wiki page? It mentions under <a href="https://github.com/genieacs/genieacs/wiki/Example-of-a-Provisioning-Flow#external-script" target="_blank" class="">external script</a> where to put the file.<br class=""><div class=""><br class=""></div><div class="">-dan</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, May 10, 2018 at 1:49 PM, Joseph Waite <span dir="ltr" class=""><<a href="mailto:joelists@tm.net.uk" target="_blank" class="">joelists@tm.net.uk</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys<br class="">
<br class="">
Sorry if this has already been covered but I can’t seem to find it.<br class="">
<br class="">
I have an outline of a provisioning script from the Wiki which I believe Dan posted and have customised it to my needs.<br class="">
<br class="">
I cannot however seem to work out where I have to put it, the presets section doesn’t seem to have any way of adding a file and the Files section doesn’t have an option for provision scripts.<br class="">
<br class="">
If anyone can help I would appreciate it, Im almost there with GenieACS just seem to be missing one bit of the link!<br class="">
<br class="">
Regards<br class="">
______________________________<wbr class="">_________________<br class="">
Users mailing list<br class="">
<a href="mailto:Users@lists.genieacs.com" target="_blank" class="">Users@lists.genieacs.com</a><br class="">
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.genieacs.com/mail<wbr class="">man/listinfo/users</a><br class="">
</blockquote></div><br class=""></div>
______________________________<wbr class="">_________________<br class="">Users mailing list<br class=""><a href="mailto:Users@lists.genieacs.com" target="_blank" class="">Users@lists.genieacs.com</a><br class=""><a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank" class="">http://lists.genieacs.com/mail<wbr class="">man/listinfo/users</a><br class=""></div></blockquote></div><br class=""></div></div></div></div><br class="">______________________________<wbr class="">_________________<br class="">
Users mailing list<br class="">
<a href="mailto:Users@lists.genieacs.com" target="_blank" class="">Users@lists.genieacs.com</a><br class="">
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.genieacs.com/mail<wbr class="">man/listinfo/users</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote><blockquote type="cite" class=""><div class=""><span class="">______________________________<wbr class="">_________________</span><br class=""><span class="">Users mailing list</span><br class=""><span class=""><a href="mailto:Users@lists.genieacs.com" target="_blank" class="">Users@lists.genieacs.com</a></span><br class=""><span class=""><a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank" class="">http://lists.genieacs.com/<wbr class="">mailman/listinfo/users</a></span><br class=""></div></blockquote></div></div></div></div><br class="">______________________________<wbr class="">_________________<br class="">
Users mailing list<br class="">
<a href="mailto:Users@lists.genieacs.com" class="">Users@lists.genieacs.com</a><br class="">
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.genieacs.com/<wbr class="">mailman/listinfo/users</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@lists.genieacs.com" class="">Users@lists.genieacs.com</a><br class="">http://lists.genieacs.com/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></div></body></html>