File not downloading

Dan Morphis dan at milkcarton.com
Thu Jul 2 09:55:27 EDT 2015


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 https://github.com/akcoder/genieacs

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

> On Jul 2, 2015, at 2:26 AM, Sergio Fernández <sergio.fernandez at electronicamartinez.com> 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
> 
> 
>> 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.
>> 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<sergio.fernandez at electronicamartinez.com> 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
>>>> Users at lists.genieacs.com
>>>> http://lists.genieacs.com/mailman/listinfo/users
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.genieacs.com
>>> http://lists.genieacs.com/mailman/listinfo/users
>> _______________________________________________
>> Users mailing list
>> Users at lists.genieacs.com
>> http://lists.genieacs.com/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users


More information about the Users mailing list