I have been running Shonk’s v1.54 firmware for many months now and I don’t really have any issues with it. Now that I am back from holidays and have a bit of spare time before going back to work, I decided to upgrade to the latest firmware. Here are the steps I have documented, more so for my own record really.
Shonk has continuously updated and enhance Buffalo linkstation’s firmware and the latest version is v1.64 mod1. Way to go Shonk. You can see that I am exactly 10 revisions behind. Yes. I am outdated. Hopefully this update will bring me back up to speed.
Here is the main forum thread that says it all: http://forum.buffalo.nas-central.org/viewtopic.php?f=68&t=23603
And here is the v1.64 mod1 firmware: http://www.mediafire.com/?s2fnreo5nafpd. An alternative to this archive is here: http://download.discountnetz.com/oxygenacht/ls_series-164-mod1.zip. Courtesy of Oxygen8, another very active (and helpful) forum member of the linkstation community.
Again, the updating process is very simple. Just un-archived the firmware, run LSUpdater.exe and you will see the following:
Click the update button.
Enter the Admin password (which is the password for root access).
Then you will just have to be patient as the firmware is being updated.
In my case, half way through the process, the NAS will go into yellow alert mode (2 long flash and 5 short flashes). I just let it be.
Upon running LSUpdater again, it now shows that the firmware is now 1.64-3.29. I guess that means this is all good.
Now that the firmware is setup, here are some over simplified steps to reinstall ipkg again. Some of my steps could be redundant and may not be the best way to do things.
# rm -rf /mnt/disk1/.optware
# cd /mnt/disk1/tmp (this directory previously existed in my case, otherwise you could create this yourself)
I have previously downloaded optware into /mnt/disk1/tmp so I did not bother to re-download again. But if you must, here is the command to do so:
# wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/ls-mvkw-bootstrap_1.2-7_arm.xsh
Note – Thanks to xjiang12 who commented on my post earlier, I guess a more correct optware version to use if you do run a raid array out of the linkstation is:
# wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/teraprov2-bootstrap_1.2-7_arm.xsh.
I no longer run a raid array on the NAS as I needed all the disk space that I have so I have not tried the above version so you would probably need to google this a little yourself. I just stick to the ls-mvkw-bootstrap_1.2-7_arm.xsh link.
# sh ./ls-mvkw-bootstrap_1.2-7_arm.xsh
# cd /opt/bin
# ./ipkg update
# ipkg install mc
# ipkg install nano
# mv /etc/init.d/optware /etc/init.d/rc.optware
# cd /etc/init.d
# nano rc.optware and ensure that the line “mount –bind /mnt/disk1/.optware /opt” is immediately below the first line of the file (which is the header #! /bin/sh). Save the file.
Do a shutdown and restart the NAS. Check if everything is running ok, including executing the ipkg packages such as mc and nano.
The last thing to do is to setup whatever scripts and the like, setup the crontabs, etc.
Things that don’t work
Unfortunately, while the firmware seems to be running fine, it broke the Network USB support.
Network-USB Navigator will be able to detect the presence of the NAS but will not be able to display any of the USB devices connected to it, no matter whether the device is directly connected to the NAS or connected via a USB hub. I wasn’t too happy and I am determined to get USB Navigator back. It is an important component to our workflow right now.
So I decided to revert back to an earlier version to see if I could get USB Navigator back running.
As I was upgrading from v1.54, I decided to try if version 1.60 works at all. The conclusion is that USB Navigator works right out of the box after the firmware was reverted to v1.60. Here is a screenshot:
The next test is to see if v1.63 mod1a works and the good news is that it does. Here is another screenshot.
So for the time being, the latest firmware that I can safely apply without breaking things is v1.63 mod1 and hopefully this time, everything works….not quite…
As I was upgrading from v1.54 to v1.64 and then downgrade to v1.63 and v1.60 for troubleshooting purposes, this messed up Samba’s password on the NAS. I can no longer connect to the NAS via samba (although the files are still intact on the drives).
This is what I have to do to fix this (sort of):
1. SSH into the NAS.
2. # cp /etc/samba/smbpasswd /etc/samba/smbpasswd.old
3. # cp /usr/local/bin/smbpasswd /etc/samba and replace the original file there.
4. # cd /etc/init.d
5. # ./smb.sh restart
That solve the Samba issue I have.
Things that works
I finally managed to get itunes server back up and running. Itunes support was previously broken under v1.54 and I never bother to upgrade the NAS to fix this. Apparently this is fixed for all firmwares starting from v1.58.
USB Navigator now works fine. I am happy.
Well, that’s all for this post.
Thanks for dropping by.