Replicating OpenPeak Update Server

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
User avatar
roobarb!
Posts: 1472
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Replicating OpenPeak Update Server

Post by roobarb! » Tue Aug 21, 2018 10:50 am

Hey everyone,

So, in the latest release of the original OS that I've put together (v30301), I've altered the binaries and config files to send update requests to openbeak.net, instead of openpeak.net. The openbeak.net site is currently an empty directory on the birdslikewires.net server, the eventual hope being that we can use it to provide firmware updates to OpenFrames which are otherwise unrecoverable, such as OpenFrame 2 units which occasionally have locked-down EFI.

With a little luck, this should also fix the disappearing appshop folder issue for new installations; if anyone's willing to give this a test, that would be great.

What I could really do with is somebody diving in to the following files and seeing what kind of server response the system is looking for. The files which have been modified, and the URLs they were talking to originally, are:

Code: Select all

/openpeak/gui/appshop.xml.orig                              : op01.openpeak.net
/openpeak/tango/opapplog.ini                                : applog.openpeak.net
/openpeak/tango/factory_reset/opapplog.ini                  : applog.openpeak.net
/openpeak/tango/libopapplog.so                              : applog.openpeak.net
/openpeak/tango/libopdms.so                                 : services.openpeak.net
/openpeak/tango/fp_class_modules/libLocalAddressBook.so     : applog.openpeak.net
/openpeak/tango/fp_class_modules/libOPUtil.so               : applog.openpeak.net
For firmware updates it's libopdms.so we're interested in, which sends a GET request to /dms/device/heartbeat with it's MAC address as an argument. Funnily enough, the Updates button doesn't seem to do very much.. :roll:

I'll leave this here and try to pick it up as I get chance, just trying to make the most of any time I can grab at the moment!
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

Post Reply