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.
I just verified and you can send config files to the CPE. -dan On Thu, Jul 2, 2015 at 2:02 AM, Cas de Reuver <[email protected]> wrote: > Hi Sergio, > > Configuration files aren't supported yet. Only Firmware files are being > pushed now. > > https://github.com/zaidka/genieacs/blob/7882f7d9aa10ecf61205ddd2c656370b54167c6b/lib/cwmp.coffee#L502 > > - Cas de Reuver > > On Donderdag 2 Juli 2015 11.56 CEST, Sergio Fernández< > [email protected]> 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 > http://10.254.254.96:3000/devices/c83a35-96318REF-c83a355bc050 > > Completed 302 Found in 511ms (ActiveRecord: 0.0ms) > > > > Thank you > > > > 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 > > > [email protected] > > > http://lists.genieacs.com/mailman/listinfo/users > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.genieacs.com/mailman/listinfo/users > > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
