The target (null) is probably a bad thing. The spec doesn’t say if an empty 
value and a null value are equivalent, but on the client side they definitely 
aren’t.

Try putting in a value for <TargetFileName> and see what happens. You probably 
want to make that the same as the filename in the URL, but I’m not sure anyone 
actually pays attention to that value.

--
Manny Veloso
Sr. Solutions Engineer
Smartrg.com

From: Christopher Chance <[email protected]<mailto:[email protected]>>
Reply-To: Community support for GenieACS users 
<[email protected]<mailto:[email protected]>>
Date: Thursday, January 22, 2015 at 10:23 AM
To: Community support for GenieACS users 
<[email protected]<mailto:[email protected]>>
Subject: RE: firmware upgrades

Ya, can’t do it that way because remember I’m wimax not dsl :)

I tried again and recorded it via syslog though and I saw on the box that it 
gets the request but then just doesn’t do anything with the command doesn’t 
start the download.

I moved the box back to our old ACS, and did the firmware upgrade and only 
noticed it looks different.

GENIEACS:

CDMI: <tr069client:curl>:CommandKey: (null) #012
CDMI: <tr069client:curl>:FileType: 1 Firmware Upgrade Image #012
CDMI: <tr069client:curl>:URL: http://yyyyyyyyyyyyyy:7567/firmware-23.07.47.img 
#012
CDMI: <tr069client:curl>:Target: (null) #012
CDMI: <tr069client:curl>:Size: 10948891

NBBS:

CDMI: <tr069client:curl>:CommandKey: 9522909 #012
CDMI: <tr069client:curl>:FileType: 1 Firmware Upgrade Image #012
CDMI: <tr069client:curl>:URL: 
http://xxxxxxxxxxxxxx:8080/nbbs5/FileServer/prov/230747_007/ #012
CDMI: <tr069client:curl>:Target:  #012
CDMI: <tr069client:curl>:Size: 0

CDMI: <tr069client:curl>:Delayed Download
CDMI: <tr069client:curl>:Save: 
http://xxxxxxx:8080/nbbs5/FileServer/prov/230747_007/ Status: 1
CDMI: <tr069client:curl>:Save FTInfo: 0|9522909|1 Firmware Upgrade 
Image|http://xxxxxxxxx:8080/nbbs5/FileServer/prov/230747_007/|||0|/var/tmp/tr069/filetrans/firmware.img|||1421950613|1421950613|0|1|0|#012
 : 0

From: Users [mailto:[email protected]] On Behalf Of Dan Morphis
Sent: Thursday, January 22, 2015 1:48 PM
To: Community support for GenieACS users
Subject: Re: firmware upgrades

Have you verified that the firmware image is accessible? I.e. have you tried 
pointing your browser at the link in the 
<URL>http://xxx.xxx.xxx.xxx:7567/firmware-1.img</URL>?

I had issues for the longest time getting the firmware upgrades working. Turns 
out I had forgotten to open the 7567 port on the firewall. Also, check the log 
on the device, it will probably tell you why it didn't perform the requested 
action.

Depending on the CPE you have, you may be able to get more information if you 
connect to the serial console on the device. To do that, you will need to take 
the cover off the CPE. There will be a 4 pin header on the circuit board. If 
you have a logic analyzer, you can figure out the pinout really easily, 
otherwise it requires some trial and error. Then connect up a serial breakout 
cable<https://www.sparkfun.com/products/9717> to the device using jumper 
wire<https://www.sparkfun.com/products/9385> and fire up your terminal program 
with 115200,8N1.

If you do get access to the console, you can then enable the soap messages by 
setting InternetGatewayDevice.X_BROADCOM_COM_AppCfg.Tr69cCfg.LoggingSOAP to 
true.

All of the ZyXEL, SmartRG devices I've opened up have the serial header. The 
BEC's and Thomson's do not. I can't recall on the ComTrend devices.

-dan

On Thu, Jan 22, 2015 at 4:58 AM, Christopher Chance 
<[email protected]<mailto:[email protected]>> wrote:
For some reason the upgrade doesn’t seem to be working to a device, I see the 
cwmp shows

Inform (6 CONNECTION REQUEST); retry count 0
Started task download(54c0ff4e8f295c25696325a2)
Inform (4 VALUE CHANGE,1 BOOT); retry count 0
Started task download(54c0ff4e8f295c25696325a2)
Inform (4 VALUE CHANGE,1 BOOT); retry count 0
Started task download(54c0ff4e8f295c25696325a2)

The fc logs don’t show anything except listening (I confirmed I can download 
the firmware url that’s listed in the debug from the device copied and pasted 
into ie it downloads fine).
Even when I download via IE I don’t see any notice in the fs log.

I see request, then response, then request, and then a response for the 
download response

# RESPONSE Thu Jan 22 2015 09:52:43 GMT-0400 (AST)
{"Server":"GenieACS/1.0.0","SOAPServer":"GenieACS/1.0.0","Content-Type":"text/xml;
 charset=\"utf-8\""}
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID 
soap-env:mustUnderstand="1">54c0ff4e8f295c25696325a2</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:Download><CommandKey/><FileType>1
 Firmware Upgrade 
Image</FileType><URL>http://xxx.xxx.xxx.xxx:7567/firmware-1.img</URL><Username/><Password/><FileSize>10948891</FileSize><TargetFileName/><DelaySeconds>0</DelaySeconds><SuccessURL/><FailureURL/></cwmp:Download></soap-env:Body></soap-env:Envelope>

As long as the download is in the device queue that 4 valuechange, 1 boot keeps 
reoccurring until I remove the task…

Any idea what I may be missing?

_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.genieacs.com/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to