Easy installer for FVDW firmware

Post Reply
langerak
Posts: 160
Joined: Sat May 29, 2010 6:37 pm

Easy installer for FVDW firmware

Post by langerak » Fri Nov 11, 2011 3:37 pm

Some of you might know the FVDW firmware releases for the NetworkSpace 1, I've spent some time in creating a simple Bash script which will prepare and install the firmware on your given disk. Below is the copy-paste from the plug out forum which applies here as well.

Implementations:
- MD5 checking for the firmware release (on all devices)
- Backup possibility (for all devices)
- Manual firmware entry (needs testing tho)
- Installation steps for IS and EDMini added

Future implementations:
- Backup restore possibility for all devices (if you have created the backups from your stock disk!)
- Better fault detection, making the script more fool-proof (now some basic checks are built-in)
- Upgrade features
- Check for unrar binary

Requirements:
A linux server/desktop obviously. The script will run both on DEB and RPM based distro's. As a requirement, the package dialog needs to be present. If the installer fails locating dialog, it will automatically install it for you or bail out if an error occurs.

Use and installation:
It's best to download the firmware in the same location as the installscript will reside. This will prevent clutter from various files created during the installation.
You can download and run the script giving the following commands:

Code: Select all

wget -O fvdw-firmware-install.sh http://lacie.busfreaks.nl/fvdw-firmware-install.txt
chmod +x fvdw-firmware-install.sh
./fvdw-firmware-install.sh <firmware filename>
Where <firmware filename> is the downloaded firmware installation package. Via this way the script won't ask you for the location of this package!

Debugging:
If an error occurs during the installation it's possible to see what the last action was resulting in the failure.
To run in debugging mode, first clean up all unpacked firmware files and place the firmware package back in the directory you are running the script in.
Then start the installer again issuing:

Code: Select all

bash -x ./fvdw-firmware-install.sh <firmware filename>
This will start the installer in verbose mode and all script actions are visible between the dialog windows (scroll up).
If the error occurs, just scroll up a bit, you should see the raw output of the script on what it was trying to do.

Please copy and paste back the error here (in code brackets please) and the step it has failed in. Via this way I can debug it's actions and release a fix if a real bug.

Daan
Posts: 98
Joined: Thu Feb 05, 2009 8:46 pm

Re: Easy installer for FVDW firmware

Post by Daan » Mon Jan 23, 2012 4:22 pm

That is nice, I would very much like to try your script if I find the time. Unfortunately, the script is not available anymore from the location you have indicated.

Code: Select all

$ wget -O fvdw-firmware-install.sh http://lacie.busfreaks.nl/fvdw-firmware-install.txt
--2012-01-23 17:07:02--  http://lacie.busfreaks.nl/fvdw-firmware-install.txt
Resolving lacie.busfreaks.nl (lacie.busfreaks.nl)... 193.138.204.9
Connecting to lacie.busfreaks.nl (lacie.busfreaks.nl)|193.138.204.9|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-01-23 17:07:05 ERROR 404: Not Found.
Any other place I can get it from?

Jocko
Posts: 99
Joined: Thu Mar 08, 2012 7:47 pm
Contact:

Re: Easy installer for FVDW firmware

Post by Jocko » Thu Mar 08, 2012 7:51 pm

Hi Daan,

You can find all information from the forum http://www.plugout.net ;)

langerak
Posts: 160
Joined: Sat May 29, 2010 6:37 pm

Re: Easy installer for FVDW firmware

Post by langerak » Fri Mar 09, 2012 8:20 am

Daan wrote:That is nice, I would very much like to try your script if I find the time. Unfortunately, the script is not available anymore from the location you have indicated.

Code: Select all

$ wget -O fvdw-firmware-install.sh http://lacie.busfreaks.nl/fvdw-firmware-install.txt
--2012-01-23 17:07:02--  http://lacie.busfreaks.nl/fvdw-firmware-install.txt
Resolving lacie.busfreaks.nl (lacie.busfreaks.nl)... 193.138.204.9
Connecting to lacie.busfreaks.nl (lacie.busfreaks.nl)|193.138.204.9|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-01-23 17:07:05 ERROR 404: Not Found.
Any other place I can get it from?
That will soon be updated with a better and working location :).

Jocko
Posts: 99
Joined: Thu Mar 08, 2012 7:47 pm
Contact:

Re: Easy installer for FVDW firmware

Post by Jocko » Fri Mar 09, 2012 3:38 pm

Hi langerak,

See my post on forum plugout http://www.plugout.net/viewtopic.php?f= ... 2952#p2952

Post Reply