Manual Firmware upgrade?
Forum » Forum / My Book World Edition (blue rings) » Manual Firmware upgrade?
Started by: FingAZFingAZ
On: 1210075414|%e %b %Y, %H:%M %Z|agohover
Number of posts: 15
rss icon RSS: New posts
Summary:
Unable to use standard upgrade method; any ideas?
Manual Firmware upgrade?
FingAZFingAZ 1210075414|%e %b %Y, %H:%M %Z|agohover

Looking to upgrade the firmware on my MyBook 500GB

Basically; my web interface continually says the following regardless of what i press or enter (even if i direct link to the firmware page);
"System reconfiguring…

Please wait while the system is reconfigured.
Please reboot your computer to make sure settings are updated"

So using the web interface is a no-no for the firmware upgrade.
wget is also not working, continuously states "Unknown host www.domain.com"
It would appear the the value $NAS_BIN in the scripts is failing, which is maintained by lighttpd apparently?
I also don't have samba functioning.
You can see the reason for a fw refresh or upgrade :)

Any ideas? Ive got the .wdg firmware file from WD on the mybook using FTP, but just cannot work out how to use it, if its usable directly at all?

Come on guys and gals i'm sure someone knows better than me! :) I've been busting my b*lls on it all morning and still nothing :(

unfold Manual Firmware upgrade? by FingAZFingAZ, 1210075414|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
kevkukevku 1210075931|%e %b %Y, %H:%M %Z|agohover

cd /usr/www/nbin
./getandapplyfw.sh

you will see
./somescript.sh: line 0: /blabla: No such file or directory

edit the scripts in /usr/www/nbin
replace $NAS_NBIN with /usr/www/nbin
and URL=$1 to URL=http://www.whereeveryourstuffis.com


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

last edited on 1210076231|%e %b %Y, %H:%M %Z|agohover by kevku + show more
unfold Re: Manual Firmware upgrade? by kevkukevku, 1210075931|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
FingAZFingAZ 1210076176|%e %b %Y, %H:%M %Z|agohover

I did try this already but the script utilises wget to obtain the file which isn't functioning. Anyway to bypass the 'obtaining' part of the script? Or link to the file locally, excluding the need to use the wget command?

unfold Re: Manual Firmware upgrade? by FingAZFingAZ, 1210076176|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
kevkukevku 1210076534|%e %b %Y, %H:%M %Z|agohover
#!/bin/bash
#
#       Downloads the latest firmware and then applies it.
#
#       Indicates progress by creating 'status' files.
#

. $NAS_NBIN/commonfuncs

URL=$1

        { { touch /tmp/active_upgrade; \
        $NAS_NBIN/wget.sh '/var/upgrade/latestfw.sh' "$URL" && \
        touch /var/upgrade/fwdownloaded && \
        chmod +x /var/upgrade/latestfw.sh && \
        /var/upgrade/latestfw.sh && \
        /var/upgrade/upgrade1.sh && \
        touch /var/upgrade/fwinstalled ; } || \
        { rm -f /var/upgrade/* ; \
          rm -f /tmp/active_upgrade ; }  } &

see that?

put the wdg to your /var/upgrade/
name it to latestfw.sh and chmod +x
then

sh /var/upgrade/latestfw.sh && sh /var/upgrade/upgrade1.sh && touch /var/upgrade/fwinstalled && rm -f /var/upgrade/*

good luck bricking.

options are plenty
or
remove
$NAS_NBIN/wget.sh '/var/upgrade/latestfw.sh' "$URL" &&
mv the fw file to /var/upgrade/latestfw.sh
and then ./getandapplyfw.sh


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

last edited on 1210077001|%e %b %Y, %H:%M %Z|agohover by kevku + show more
unfold Re: Manual Firmware upgrade? by kevkukevku, 1210076534|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
FingAZFingAZ 1210082701|%e %b %Y, %H:%M %Z|agohover

OK, that made sense, seems ok - but the upgrade directory is empty (other than the .wdg) - so it pulls up the message;
"cannot access '/var/upgrade/latestfw.sh': No such file or directory.

Am wondering if the wdg is some sort of compiled package that needs unpacking for these scripts to be there? or maybe a script that is run before the getandapplyfw.sh that obtains these?

*shrugs*

Any ideas? Thanks for the help so far!!

unfold Re: Manual Firmware upgrade? by FingAZFingAZ, 1210082701|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
FingAZFingAZ 1210083002|%e %b %Y, %H:%M %Z|agohover

scrap that; forgot to rename the .wdg to the correct thing :)

unfold Re: Manual Firmware upgrade? by FingAZFingAZ, 1210083002|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
FingAZFingAZ 1210083626|%e %b %Y, %H:%M %Z|agohover

It worked!!! Hoooray!

Now my heart can beat again!

Thanks so much for your help; hope this benefits others too :)

unfold Re: Manual Firmware upgrade? by FingAZFingAZ, 1210083626|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
JosefKJosefK 1213374690|%e %b %Y, %H:%M %Z|agohover

I must admit I'm a bit confused about this procedure (and too afraid bricking everything)

cd /usr/www/nbin
./getandapplyfw.sh

then edit the scripts in /usr/www/nbin but which one? and www.whereyourstuffis.com should be? :?
so assuming I've alredy downloaded an updated wdg what should I exactly do?

unfold Re: Manual Firmware upgrade? by JosefKJosefK, 1213374690|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
jschwartz73jschwartz73 1214062410|%e %b %Y, %H:%M %Z|agohover

if you don't want to modify any of the files, you can do the following. This will download the 2.00.18 firmware and install it.

ssh into the MBWE
su -
export NAS_NBIN=/usr/www/nbin/
cd /usr/www/nbin
./getandapplyfw.sh http://cache.websupport.wdc.com/wdgxnc-02.00.18.wdg

unfold Re: Manual Firmware upgrade? by jschwartz73jschwartz73, 1214062410|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
Mikee21Mikee21 1226943774|%e %b %Y, %H:%M %Z|agohover

confirmed, after reading first comments, i ended up with similar procedure. The output should be like this:
[root@WorldOne nbin]# ./getandapplyfw.sh http://cache.websupport.wdc.com/wdgxnc-02.00.18.wdg
[root@WorldOne nbin]# wget -O /var/upgrade/latestfw.sh http://cache.websupport.wdc.com/wdgxnc-02.00.18.wdg
e2fsck 1.40.2 (12-Jul-2007)
Removing leading ‘/’ from member names
11+1 records in
11+1 records out
5644 bytes (5.6 kB) copied, 0.015274 seconds, 370 kB/s
187+1 records in
187+1 records out
95824 bytes (96 kB) copied, 0.029856 seconds, 3.2 MB/s

and cca 10 more lines like this, then ssh session was disconnected, and after several minutes upgrade were complete :)

Note: When i tried to perform upgrade from web ui, it wrote that warning "No path in service dummy-2..", so this works for that too

unfold Re: Manual Firmware upgrade? by Mikee21Mikee21, 1226943774|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
vally78vally78 1224619736|%e %b %Y, %H:%M %Z|agohover

One more stupid question:

If i follow the above mentioned steps will it reset EVERYTHING? I want to delete the users, the created shares, any and all modifications to all of the pre existing directories, etc. I want to restore it to complete factory settings (and start over). I tried reinstalling the 2.00.18 update. Even though that was successful, it did not delete any shares or users. I called WD and they told me to do the following for a factory reset/ hard reset:

Unplug WDHD
hold reset button for 1 minute
Plug WDHD back in while continuing to hold the reset in for 1 additional minute

supposedly, that should take it to factory. It didn't. It still had the newest firmware and the users and shares and even some of the directories created by the hacks i had been playing with! It definitely did not restore the factory settings.

So, what do i do now, to delete everything…. The steps mentioned above?

unfold Re: Manual Firmware upgrade? by vally78vally78, 1224619736|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
AsikAsik 1236724987|%e %b %Y, %H:%M %Z|agohover

I also looking for a way to reset my device to factory settings. Just like you said i also have some mods on my drive that i would like gone but dont know how do it so, please help us out here…

When i do a firmware update or downgrade , do i lose any data in the public folder then or ? because i got like 1.5 tb on my drive so i dont wanna los anything…

//Asik

unfold Re: Manual Firmware upgrade? by AsikAsik, 1236724987|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
brokenbrickbrokenbrick 1245948234|%e %b %Y, %H:%M %Z|agohover

In the whitelight version of the MBWE there is no /usr/www/nbin directory. Consequently there is no getandapplyfw.sh file. I snooped around and was unable to locate such a file. Anyone know how to do this on a whitelight MBWE?

unfold Re: Manual Firmware upgrade? by brokenbrickbrokenbrick, 1245948234|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
DamiankitaiDamiankitai 1258884307|%e %b %Y, %H:%M %Z|agohover

Hi
I managed to restore the firmware and wiped out the system partition in the past, but now I'm having problems:
when I run ./getandapplyfw.sh http://cache.websupport.wdc.com/wdgxnc-02.00.18.wdg - I get "NETWORK_SETTINGS not set".
Also, I can't get into the standard web interface, and when I try to touch the lighttpd.conf file, I get "Read-only file system"

I tried FSCK and it didn't work. What Can I do? Please advice.
Thanks
Damian

unfold Re: Manual Firmware upgrade? by DamiankitaiDamiankitai, 1258884307|%e %b %Y, %H:%M %Z|agohover
Re: Manual Firmware upgrade?
FreshmanFreshman 1259597016|%e %b %Y, %H:%M %Z|agohover

Hi,

the web-interface of my WD MyBook WorldEdition 500Gb (blue ring) tells such a version:

Firmware:      01.01.18

Do I really need a new firmware?
Notice that I can't upgrade it from the web-interface for some reason

Br,
Vitali

unfold Re: Manual Firmware upgrade? by FreshmanFreshman, 1259597016|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License