<div dir="ltr">I looked over the code between lines 502 and 531, and if I understand correctly what is going on at between 510 and 528 is to allow auto-upgrading of the firmware of the CPE. Hopefully Ziad can chime in here. But on line 529 is where the file gets set as a download task for the CPE if no other conditions are matched.<div><br></div><div>I just verified and you can send config files to the CPE.</div><div><br></div><div>-dan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 2, 2015 at 2:02 AM, Cas de Reuver <span dir="ltr"><<a href="mailto:casdr@0fi.net" target="_blank">casdr@0fi.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sergio,<br>
<br>
Configuration files aren't supported yet.  Only Firmware files are being pushed now.<br>
<a href="https://github.com/zaidka/genieacs/blob/7882f7d9aa10ecf61205ddd2c656370b54167c6b/lib/cwmp.coffee#L502" rel="noreferrer" target="_blank">https://github.com/zaidka/genieacs/blob/7882f7d9aa10ecf61205ddd2c656370b54167c6b/lib/cwmp.coffee#L502</a><br>
<span class="HOEnZb"><font color="#888888"><br>
- Cas de Reuver<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Donderdag 2 Juli 2015 11.56 CEST, Sergio Fernández<<a href="mailto:sergio.fernandez@electronicamartinez.com">sergio.fernandez@electronicamartinez.com</a>> wrote:<br>
<br>
> Another log:<br>
><br>
> Started POST "/devices/c83a35-96318REF-c83a355bc050" for 10.254.254.28 at 2015-07-02 11:55:19 +0200<br>
> Processing by DevicesController#update as HTML<br>
>    Parameters: {"authenticity_token"=>"RNuhzabLuxZAmw//vD6hNm7phMk0ghNZ6X0vwTocKyk=", "commit"=>"[{\"name\":\"download\",\"file\":\"5594fa5ada3ec43a55575a8f\",\"filename\":\"backupsettingsOK.conf\"}]", "id"=>"c83a35-96318REF-c83a355bc050"}<br>
> 2 Jul 11:55:19 - c83a35-96318REF-c83a355bc050: Inform (6 CONNECTION REQUEST); retry count 0<br>
> 2 Jul 11:55:19 - c83a35-96318REF-c83a355bc050: Started task download(55950a8747a4174005908152)<br>
> 2 Jul 11:55:19 - c83a35-96318REF-c83a355bc050: Completed task download(55950a8747a4174005908152)<br>
> Redirected to <a href="http://10.254.254.96:3000/devices/c83a35-96318REF-c83a355bc050" rel="noreferrer" target="_blank">http://10.254.254.96:3000/devices/c83a35-96318REF-c83a355bc050</a><br>
> Completed 302 Found in 511ms (ActiveRecord: 0.0ms)<br>
><br>
> Thank you<br>
><br>
> El 02/07/15 a las 11:50, Sergio Fernández escribió:<br>
> > Hello,<br>
> ><br>
> > 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.<br>
> ><br>
> > In the rails web log it shows:<br>
> ><br>
> > 2 Jul 11:39:47 - c83a35-96318REF-c83a355bc050: Inform (M Download,7 > TRANSFER COMPLETE,2 PERIODIC); retry count 0<br>
> > 2 Jul 11:39:48 - c83a35-96318REF-c83a355bc050: Transfer complete<br>
> > 2 Jul 11:39:49 - c83a35-96318REF-c83a355bc050: Inform (M Download,7 > TRANSFER COMPLETE,2 PERIODIC); retry count 0<br>
> > 2 Jul 11:39:49 - c83a35-96318REF-c83a355bc050: Transfer complete<br>
> ><br>
> > Do you need more logs to know what is going on? Please tell me and I > send them<br>
> ><br>
> > Hope you could help.<br>
> ><br>
> > Thank you.<br>
> > _______________________________________________<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" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
><br>
> _______________________________________________<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" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
<br>
_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>