Cannot debug device (was Re: Problem rebooting CPE (TR-069 reboot vs reboot button))

guifipedro guifipedro at gmail.com
Wed Jul 26 17:30:09 EDT 2017


Dan,

I cannot setup Debug

Hint [0]

I tried to put DEBUG_DEVICES [1] in the specific config file without
success (no dump files in debug directory). I know this is the config
file being used because GenieACS complains. about syntax errors. After
applying config I rerun the processes and do things with CPE to see if
debug appear

?

.:...:.:.
Pedro

[0] I'm running genieacs as root

Genieacs was installed using npm

npm list | grep genieacs
genieacs at 1.1.1 /usr/lib/node_modules/genieacs

[1] https://github.com/zaidka/genieacs/wiki/GenieACS-General-Config

On Wed, Jul 26, 2017 at 10:46 PM, Dan Morphis <dan at milkcarton.com> wrote:
> Turn on debug and capture the output of doing a manual reboot (from the gui)
> and doing a reboot from a provision.
>
> On Wed, Jul 26, 2017 at 12:44 PM, guifipedro <guifipedro at gmail.com> wrote:
>>
>> Hi Dan,
>>
>> Thanks for your reply
>>
>> I tried:
>>
>> declare("Reboot", null, {value: Date.now()});
>>
>> but does not work. Does the fast reconnection (down and up PPPoE
>> interface). I know that's it because Internet's led goes red while
>> reconnecting
>> pppoe interface
>>
>> If you would like to know more details tell me
>>
>> Pedro
>>
>> On Wed, Jul 26, 2017 at 10:34 PM, Dan Morphis <dan at milkcarton.com> wrote:
>> > Try this:  declare("Reboot", null, {value: Date.now()});
>> >
>> > On Wed, Jul 26, 2017 at 12:29 PM, guifipedro <guifipedro at gmail.com>
>> > wrote:
>> >>
>> >> Hi community,
>> >>
>> >> I'm using a preset that triggers a provision.
>> >>
>> >> Sadly, I have a specific CPE model that after applying specific
>> >> configuration requires reboot.
>> >>
>> >> When I run this based on doc [1]:
>> >>
>> >> declare("Reboot", { value: now }, { value: now });
>> >>
>> >> seems that the CPE just disconnects and connects again the PPPoE (?)
>> >>
>> >> But If I do a manual reboot using the HTML button [2] on GenieACS GUI
>> >> it reboots as expected.
>> >>
>> >> So I need this real reboot functionality but automated in the provision
>> >> script.
>> >>
>> >> Hope someone knows what's going on
>> >>
>> >> Pedro
>> >>
>> >> [1] https://github.com/zaidka/genieacs/wiki/Provisions#reboot
>> >> [2] <a id="reboot" href="#" onclick="reboot();return false;">Reboot</a>
>> _______________________________________________
>> 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