Community discussions

MikroTik App
 
tr69tester
just joined
Topic Author
Posts: 2
Joined: Tue Jul 13, 2021 8:13 pm

Trying to update firmware via TR69

Tue Jul 13, 2021 8:21 pm

I am trying to update the firmware on a MikroTik RB941-2nD device running 6.46.5 using a TR-069 ACS. We provide the following XML file to direct the device to download the firmware:

<upgrade version="1" type="links">
<config/>
<links>
<link>
<url>http://10.247.251.150/routeros-mipsbe-6.47.9.npk</url>
</link>
<link>
<url>http://10.247.251.150/tr069-client-6.46 ... e.npk</url>
</link>
</links>
</upgrade>

and we can see that the device is able to reach that webserver and attempt to pull down the NPK file (this from the webserver access log):
10.247.10.216 - - [13/Jul/2021:12:03:45 -0500] "GET /routeros-mipsbe-6.47.9.npk HTTP/1.1" 200 12051618 "-" "MikroTik"

but the device appears to return an error:

<FaultStruct>
<FaultCode>9017</FaultCode>
<FaultString>ERROR parsing http: destination stream error. URL: http://10.247.251.150:80/routeros-mipsb ... aultString>
</FaultStruct>

I can pull down the NPK file manually using wget and the same URL as is in the XML the MikroTik downloads. What is causing the error?
 
prawira
Trainer
Trainer
Posts: 357
Joined: Fri Feb 10, 2006 5:11 am

Re: Trying to update firmware via TR69

Thu Jul 15, 2021 2:29 pm

what software used on ACS server side ? i am using genieacs.

afaik the xml will download from the acs using genieacs-fs port 7567; not port 80

see my step by step on viewtopic.php?t=172399
 
tr69tester
just joined
Topic Author
Posts: 2
Joined: Tue Jul 13, 2021 8:13 pm

Re: Trying to update firmware via TR69

Mon Jul 19, 2021 5:29 pm

The device appears to download the XML file just fine. The error appears to come when it tries to download one of the binaries that the XML file is pointing to.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], lurker888, mickeymouse690 and 72 guests