<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>You can't trust that the instance number will always be the there. Use the <span style="background-color: rgba(255, 255, 255, 0);"><span class="pl-s" style="box-sizing: border-box;">summary.wlanSsid aliases instead. As to the error itself, the GUI doesn't expose the error message currently, so you have to query the nbi for the fault to get the exact message (<a href="http://localhost:7557/faults">http://localhost:7557/faults</a>).</span></span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><span class="pl-s" style="box-sizing: border-box;"><br></span></span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><span class="pl-s" style="box-sizing: border-box;">I've seen some CPEs say that a value is writeable, but return a fault when you try to set the value. The abomination that is the TR69 implementation on the Thomson 585's comes to mind. </span></span><br><br>-dan</div><div><br>On Jul 3, 2015, at 2:49 AM, Sergio Fernández <<a href="mailto:sergio.fernandez@electronicamartinez.com">sergio.fernandez@electronicamartinez.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
  
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  
  
    Thank you a lot, Dan. Your help is very important for me.<br>
    <br>
    I tried to access to the logs of my Tenda W300D and i found I must
    solder to the PCB and do some other tricks to pick up some info. I
    sniffed with traffic captured in my ACS and sent the logs to Tenda
    Technicians. I will answer you if I know something new about the
    logs.<br>
    <br>
    That approach you told me is really good. We have a Web-based app in
    Shiny (A module of the R programming language to construct Web Apps)
    that creates automatically configuration files, store them on a web
    (or tftp depending on the router type) server, and when the router
    connects, automatically picks it up from that server via DHCP66. I
    would like to still use this app to make the configuration files and
    send them (or simply commiting changes of objects and creating tags
    and so on). I've seen a good API written by Zaid that I will use.<br>
    <br>
    I have been with troubles trying to change, for example, the WiFi
    SSID. Here I explain the steps I've done:<br>
    1) Create a tag named "W300D" in the "Devices" section for the
    online router<br>
    2) Create a preset: Name: "Config", Weight: 20, Precondition: Tag =
    W300D, Configurations: Set
    "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID" to
    "Something"<br>
    I discovered minutes ago that it works. But in the Task queue
    appears:<br>
    <table id="task-queue" class="records">
      <tbody>
        <tr>
          <td>setParameterValues</td>
          <td>2015-07-03T10:51:23.072Z</td>
          <td>2</td>
          <td>Invalid arguments</td>
          <td style="text-align:right;"> <a data-confirm="Are you
              sure?" data-method="post" href="http://10.254.254.96:3000/faults/559665e7f4b91bfa0410d4df/retry" rel="nofollow">Retry</a> <a data-confirm="Are you sure?" data-method="delete" href="http://10.254.254.96:3000/faults/559665e7f4b91bfa0410d4df" rel="nofollow">Destroy</a></td>
        </tr>
      </tbody>
    </table>
    <br>
    Only to inform you. Doesn't know if this is bad.<br>
    <br>
    Thank you a lot.<br>
    <br>
    - Sergio Fernández<br>
    <br>
    <div class="moz-cite-prefix">El 02/07/15 a las 15:55, Dan Morphis
      escribió:<br>
    </div>
    <blockquote cite="mid:49AFBE91-70BE-4E9F-9572-CC3AAA457A0E@milkcarton.com" type="cite">
      <pre wrap="">A better way of handling this might be to use presets and tags. When a cpe comes online, I set tags like "Routed", "WanPort", "Bridged". Then I have a "Base Config" preset at weight 20 which sets things common to all cpe modes. Next is where the tag specific preset run (Routed, WanPort, Bridged) which adds any objects necessary (wanpppconnection, wanipconnection, wlanconfiguration, etc). Then at the final level I have a preset per device which contains the customers wifi configuration.

Configuring the PPPoE is done by our custom subscriber management software (Dashboard) and it gets notified to do so via an event went from genie to our software. When Dashboard gets a bootstrap event, it weights until everything is configured on the cpe, and then changes the PPPoE password to a random 12 characters and then does a set parameters to summary,pppoe[Username|Password] with the appropriate values. If you go this route, you will need to use my fork <a class="moz-txt-link-freetext" href="https://github.com/akcoder/genieacs">https://github.com/akcoder/genieacs</a>

The reason for the final step is genie doesn't (yet) support aliases in presets. That's on my list of things to fix and submit a patch for. 

-dan

</pre>
      <blockquote type="cite">
        <pre wrap="">On Jul 2, 2015, at 2:26 AM, Sergio Fernández <a class="moz-txt-link-rfc2396E" href="mailto:sergio.fernandez@electronicamartinez.com"><sergio.fernandez@electronicamartinez.com></a> wrote:

Thank you, Cas de Reuver

Is there any possibilty in the future to implement this option? I was using GenieACS in order to, whenever they factory reset (accidentaly or by a client), the router would autoconfigure to its old state. I am doing this as one part of a Final Project at University. (The other part was DHCP66 autoconfiguration and it's already done) I would highly appreciate any help to finish this project with TR069, yet it's difficult.

Maybe I could help with the developer in order to autoconfigure automatically my routers Tenda W300D, or I will have to select another TR069 solution, because I need to finish my Final Project before August...

Thank you all.

- Sergio Fernández


</pre>
        <blockquote type="cite">
          <pre wrap="">El 02/07/15 a las 12:02, Cas de Reuver escribió:
Hi Sergio,

Configuration files aren't supported yet.  Only Firmware files are being pushed now.
<a class="moz-txt-link-freetext" href="https://github.com/zaidka/genieacs/blob/7882f7d9aa10ecf61205ddd2c656370b54167c6b/lib/cwmp.coffee#L502">https://github.com/zaidka/genieacs/blob/7882f7d9aa10ecf61205ddd2c656370b54167c6b/lib/cwmp.coffee#L502</a>

- Cas de Reuver

</pre>
          <blockquote type="cite">
            <pre wrap="">On Donderdag 2 Juli 2015 11.56 CEST, Sergio Fernández<a class="moz-txt-link-rfc2396E" href="mailto:sergio.fernandez@electronicamartinez.com"><sergio.fernandez@electronicamartinez.com></a> wrote:
 
Another log:

Started POST "/devices/c83a35-96318REF-c83a355bc050" for 10.254.254.28 at 2015-07-02 11:55:19 +0200
Processing by DevicesController#update as HTML
   Parameters: {"authenticity_token"=>"RNuhzabLuxZAmw//vD6hNm7phMk0ghNZ6X0vwTocKyk=", "commit"=>"[{\"name\":\"download\",\"file\":\"5594fa5ada3ec43a55575a8f\",\"filename\":\"backupsettingsOK.conf\"}]", "id"=>"c83a35-96318REF-c83a355bc050"}
2 Jul 11:55:19 - c83a35-96318REF-c83a355bc050: Inform (6 CONNECTION REQUEST); retry count 0
2 Jul 11:55:19 - c83a35-96318REF-c83a355bc050: Started task download(55950a8747a4174005908152)
2 Jul 11:55:19 - c83a35-96318REF-c83a355bc050: Completed task download(55950a8747a4174005908152)
Redirected to <a class="moz-txt-link-freetext" href="http://10.254.254.96:3000/devices/c83a35-96318REF-c83a355bc050">http://10.254.254.96:3000/devices/c83a35-96318REF-c83a355bc050</a>
Completed 302 Found in 511ms (ActiveRecord: 0.0ms)

Thank you

</pre>
            <blockquote type="cite">
              <pre wrap="">El 02/07/15 a las 11:50, Sergio Fernández escribió:
Hello,

I've configured Tenda W300D to be managed by GenieACS. "Reboot" and > "Factory Reset" functions inside GenieACS work. But when I send a > Configuration File to the router, it says it is "downloading" but it > does nothing.

In the rails web log it shows:

2 Jul 11:39:47 - c83a35-96318REF-c83a355bc050: Inform (M Download,7 > TRANSFER COMPLETE,2 PERIODIC); retry count 0
2 Jul 11:39:48 - c83a35-96318REF-c83a355bc050: Transfer complete
2 Jul 11:39:49 - c83a35-96318REF-c83a355bc050: Inform (M Download,7 > TRANSFER COMPLETE,2 PERIODIC); retry count 0
2 Jul 11:39:49 - c83a35-96318REF-c83a355bc050: Transfer complete

Do you need more logs to know what is going on? Please tell me and I > send them

Hope you could help.

Thank you.
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
          </blockquote>
          <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
        </blockquote>
        <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
      </blockquote>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a>
<a class="moz-txt-link-freetext" href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  

</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a></span><br><span><a href="http://lists.genieacs.com/mailman/listinfo/users">http://lists.genieacs.com/mailman/listinfo/users</a></span><br></div></blockquote></body></html>