|Anonymous | Login | Signup for a new account||2017-04-24 07:23 CEST|
|My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000200||easycwmp||[All Projects] Question||public||2017-02-09 09:03||2017-02-15 10:23|
|Status||resolved||Resolution||no change required|
|Summary||0000200: easycwmpd exits after firmware upgrade is downloaded and applied|
|Description||In file src/cwmp.c -> function cwmp_download_launch() there is a line :|
if (status == '1') exit(EXIT_SUCCESS);
Because of this when I apply the firmware upgrade, easycwmpd exits giving message :
 + Done /usr/sbin/easycwmpd -f -b
Because of this the communication with ACS stops
Is this normal ? Will easycwmpd exit after successful firmware upgrade ?
|Steps To Reproduce||1) Start easycwmpd using :|
/usr/sbin/easycwmpd -f -b &
2) Apply firmware upgrade from ACS
3) Firmware upgrade is applied successfully, but easycwmpd exits.
|Additional Information||I have modified the easycwmp.sh script to adjust with mechanism used for firmware upgrade. Instead of :|
I have written custom command.
I have verified that firmware upgrade is successful with this custom command using :
easycwmp download <url> "1 Firmware Upgrade Image" "0" <user_name> <password>
easycwmp apply download "1 Firmware Upgrade Image"
Okay, so I just figured out that device has to reboot itself after firmware upgrade, and after reboot when the Inform is sent it has to have '7 TRANSFER COMPLETE' and 'M Download'.
So now the question is that how to store the state of easycwmp between reboots ?
Resolved. No change in easycwmp source code required.
Issue was that /etc/ was not writable for /etc/easycwmp/.backup.xml file
|2017-02-09 09:03||harshshah||New Issue|
|2017-02-09 09:04||harshshah||Tag Attached: firmware|
|2017-02-09 09:04||harshshah||Tag Attached: download|
|2017-02-10 08:04||harshshah||Note Added: 0000657|
|2017-02-15 04:01||harshshah||Note Added: 0000664|
|2017-02-15 10:23||mohamed.kallel||Status||new => resolved|
|2017-02-15 10:23||mohamed.kallel||Resolution||open => no change required|
|2017-02-15 10:23||mohamed.kallel||Assigned To||=> mohamed.kallel|
|Copyright © 2000 - 2017 MantisBT Team|