Manual firmware update and info
You may be interested in updating your Stora even if you disabled the automatic update check (there's a wiki page for this), so here are some useful info:
Note: You might want to make a backup of your /etc folder since some configuration files will be replaced (e.g. /etc/init.d/oe-bootfinish that enables the firewall, /etc/samba/smb.conf and /etc/ssh/sshd_config)
Contents
Determine current firmware version
The current firmware version for your stora is located in a file in the /etc folder.
Type 'cat /etc/oe-release' to reveal that information.
Example contents:
Version 2.0.0.368
DistName hipserv2_netgear
VersionName 2.5
CentralServer mystora.com
Serial NGKD-xxxx-xxxx-xxxx
Subdomain stora
Firmware version table
WARNING: this table isn't official, it should just be considered a reference. Some firmware version reported here are just test firmware, to check which firmware update you should apply, use the website check as described below this table! BOLD update names are official updates, officially released by Netgear.
Manually check for available firmware update
Whenever the Stora need to check if there's any available firmware update, it does it by checking a particular webpage:
https://update.mystora.com/downloads/updates/check.php?SN=YOUR_SERIAL&VR=CURRENT_FIRMWARE&DIST=DIST_VERSION
or
https://update.mystora.com/downloads/updates/autocheck.php?myver=CURRENT_FIRMWARE_VERSION&myserial=YOUR_SERIAL&mydist=DIST_VERSION
(not sure what's the difference between the two, but the first seems to show more updates)
where CURRENT_FIRMWARE_VERSION, YOUR_SERIAL (doesn't really matter, you can just use XXXX-XXXX-XXXX-XXXX) and DIST_VERSION are respectively the values for Version, Serial and DistName (most probably "hipserv2_netgear") parameters as found on the /etc/oe-release file.
If checking for that webpage returns a "no update", it means no update exists (really? :-) ), otherwise you'll get a webpage like this:
http://netgear.hipserv.com/updates/netgear/v_2_0/hbs-5033.upd 31223978
NOTE: As of 15Jun2017 the site 'netgear.hipserv.com' is not reachable
Manually download the available firmware
With the above procedure, you'll get the url for the newest firmware (http://netgear.hipserv.com/updates/netgear/v_2_0/hbs-5033.upd in this case), ssh into the Stora, get root access and proceed to download it somewhere, for example under /tmp which resides on your hard drive(s):
cd /tmp wget http://netgear.hipserv.com/updates/netgear/v_2_0/hbs-5033.upd
The downloaded image isn't ready yet as it contains Axentra signature, probably to check if it's genuine and to prevent people (not like us :) ) from extracting it, so issue this command to check the signature and extract the real image:
/usr/bin/gpg --homedir=/etc/gpg/ --output=/tmp/hbs-5033.tar /tmp/hbs-5033.upd
Now that you have a nice tar file, you can regularly extract it with tar:
mkdir /tmp/hbs-5033 tar -xvf hbs-5033.tar -C /tmp/hbs-5033
now after a lot of text, you'll have the update extracted inside the /tmp/hbs-5033 directory, you can then proceed with the update:
cd /tmp/hbs-5033 ./runupdate
or if you're curious about what it does, you can inspect it since it's a plain text bash file.
NOTE: this can be useful if you're having issues with your firmware update, the whole process is logged on a file: "/var/log/2.0.0-update" so check it in case you have problems!
Have fun!
--Pippone 13:52, 29 October 2010 (UTC)