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 addedFuture 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 binaryRequirements:
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:
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:
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.