Broadband-Hamnet™ Forum :: General
Welcome Guest   [Register]  [Login]
 Subject :3.1.0 Upgrade Patch.. 2015-03-16- 08:24:59 
K7DMK
Member
Joined: 2014-03-02- 19:10:56
Posts: 7
Location: Arizona

An upgrade patch has been posted in the Downloads section for both WRT and UBNT. Great idea.

There is a tar file but no instructions. How is this patch to be applied? Do you move the archive over using an scp session, then ssh into the router, untar the files and over-write existing files in the respective directories? Or is there an easier way with a script perhaps?

Thanks.

Dave, K7DMK



IP Logged
 Subject :Re:3.1.0 Upgrade Patch.. 2015-03-16- 08:49:37 
KF5JIM
Future Astronaut
Joined: 2013-07-17- 12:13:36
Posts: 250
Location: Nederland

People in the past have been able to navigate to the administration page and apply it via the firmware update section.  As a side/personal note (respectively), upgrade patches have been previously used (prior to v1.0.0) and I am glad to see them back! :)

IP Logged
Last Edited On: 2015-03-16- 09:28:10 By KF5JIM for the Reason update on word usage.
My opinions and views expressed here are solely my own.
 Subject :Re:Re:3.1.0 Upgrade Patch.. 2015-03-16- 09:28:06 
K7DMK
Member
Joined: 2014-03-02- 19:10:56
Posts: 7
Location: Arizona
I thought the Firmware Update loaded an entire binary disto image rather than having the capability of replacing a few files. Does the Updater have the ablility to distinguish a image file from a patch file and act accordingly? It would be a great feature if it does. I have not actually tried it; I was not sure if it would reject the patch file as an incorrect image or blindly write it as an incomplete image and brick the device. Or perhaps as you suggest look at the file, recognize it as a patch and only overwrite the pertinent files. Has anyone tried this? Also what is the "Download Firmware" do exactly? Can you make mods to an installed memory image and then download that image to a file that then can be used to flash another device to have the same modded image? Thanks, Dave K7DMK
IP Logged
 Subject :Re:Re:Re:3.1.0 Upgrade Patch.. 2015-03-16- 11:31:25 
ae5ae
Member
Joined: 2010-10-27- 00:47:17
Posts: 144
Location: Van Alstyne, TX

<BEWARE!  Informational overload arriving>

Yes, if a file is in the pulldown list for "Firmware Download" the system will deal with it appropriately.
Dealing with the differences lies in handling not just the file extensions used (e.g. .tgz vs .trx) but the files having the correct format and contents.

If you try to create and upload your own patch file -- YOU ARE ON YOUR OWN!!   Seriously!

Patch files were used prior to v1.0.0 and were intended to update files the firmware when the amount of changes were small.  They were not intended to take your firmware between major versions (v1 to v3).   The patches (at this time) are not cumulative in that they are intended to be applied between sub-subversions.  A SINGLE patch file will take your firmware from, let's say, v3.1.0 to v3.1.1, but not from v3.1.0 to v3.1.5.  Patching from v3.1.0 to v.3.1.2 will NEED two files and they will NEED to be applied in ORDER.   Given this, the core team is considering renaming patch files to indicate the FROM and TO version numbers as "patch-v3.1.0.tgz" is rather ambiguous.

Hope this helps

        -Rusty-

IP Logged
 Subject :Re:Re:Re:Re:3.1.0 Upgrade Patch.. 2015-03-16- 12:28:30 
K7DMK
Member
Joined: 2014-03-02- 19:10:56
Posts: 7
Location: Arizona
Thanks Rusty that helps a lot. It sounds like the updater is a much more capable piece of software than I initially thought. When I mentioned the Firmware Download function I was thinking more in terms of something like installing the tunneling software and then being able to download that entire image as a firmware file that could used to flash another router with the tunneling pre-installed. Dave, K7DMK
IP Logged
Page # 


Powered by ccBoard


SPONSORED AD: