General NAS-Central Forums

Welcome to the NAS community
It is currently Sun Sep 24, 2017 9:11 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Nov 11, 2011 3:37 pm 
Offline

Joined: Sat May 29, 2010 6:37 pm
Posts: 160
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:
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:
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.


Top
 Profile  
 
PostPosted: Mon Jan 23, 2012 4:22 pm 
Offline

Joined: Thu Feb 05, 2009 8:46 pm
Posts: 98
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:
$ 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?


Top
 Profile  
 
PostPosted: Thu Mar 08, 2012 7:51 pm 
Offline

Joined: Thu Mar 08, 2012 7:47 pm
Posts: 90
Hi Daan,

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


Top
 Profile  
 
PostPosted: Fri Mar 09, 2012 8:20 am 
Offline

Joined: Sat May 29, 2010 6:37 pm
Posts: 160
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:
$ 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 :).


Top
 Profile  
 
PostPosted: Fri Mar 09, 2012 3:38 pm 
Offline

Joined: Thu Mar 08, 2012 7:47 pm
Posts: 90
Hi langerak,

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group