From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 12:24, 22 March 2006 by CCRDude (Talk)

Jump to: navigation, search

Stock Firmware

For the sake of simplicity I will call the set of software that's factory installed on the TeraStation firmware.

The TeraStation is running MontaVista Linux. The actual version used is unknown (for the European 2.0 Firmware, uname -a shows that it is probably MontaVista Linux 3.1), and does not matter.

Without hacking it is not possible to figure out what kind of software is used, Buffalo decided to violate the GPL by only releasing the kernel source and not the rest of the sources. Of course the requirement to release the source only covers the GPL portions and doesn't cover anything that Buffalo has written 100% by themselves, but they use more GPLed software, not only the kernel.

You might find some additional information about the firmware here.

To figure out what version of the firmware your TeraStation is using is not easy, as there are two different "version" strings to look at. The flash firmware and the on disk software both have a version number and they're not synchronised. On some occasions, the flash and disk firmware have differed from other TeraStations of the same age and version.

You can capture the version of the flash firmware from the bootloader, but you have to add a [serial console] to be able to do this. If you have telnet or SSH access to your TeraStation then you can log in and look at /proc/linkstation.

The version of the on disk firmware is stored on /etc/linkstation_release and is placed on the admin interface under System Status.

Flash Firmware

The firmware in flash consists of

Have a look at the flash.

Firmware 1.02

Unknown. Came with the v1.01 firmware in Japan.

Firmware 1.03

Unknown. Came with the 1.02β firmware in Japan.

Firmware 1.04

v1.04 was used on Bg's TeraStation which was bought on April 2005 in Germany. Tman bought one TeraStation on April 2005 in the UK with this version, too.

Firmware 1.05

Tman's other TeraStation, also bought on April 2005 in the UK, uses this firmware.

  • disk firmware 1.03
  • 4x Western Digital drives

Other users have reported that their TeraStation which had v1.05 flash firmware came with v1.05 disk software.

  • disk firmware 1.05

bg has updated his TeraStation with this firmware, and on disk firmware 1.05, too.

Firmware 2.00

v1.07 beta comes with the v2.00 flash. The v2.00 bootloader has support for the emergency mode like the Linkstation/Kuro Box.

Firmware 2.02

v1.08 comes with the v2.02 flash. It is unknown what the differences between v2.00 and v2.02 are so far.

Firmware 2.03

v1.09 comes with the v2.03 flash. It is unknown what the differences between v2.02 and v2.03 are so far.

Firmware 2.05

v1.12 comes with the v2.05 flash. It is unknown what the differences between v2.03 and v2.05 are so far.

Firmware 2.06

v1.13 comes with the v2.06 flash. It is unknown what the differences between v2.05 and v2.06 are so far.

Firmware 3.00

v2.01 to v2.04β2 come with the v3.00 flash. It is unknown what the differences between v2.06 and v3.00 are so far.


Bootloader 1.10

1.07β comes with the v1.10 bootloader.

Bootloader 1.11

1.08 and 1.09 come with the v1.11 bootloader.

Bootloader 1.12

1.12 and 1.12 come with the v1.12 bootloader.

Bootloader 1.13

2.01 to 2.04β2 come with the v1.13 bootloader.

On Disk Firmware

See also Harddisk Layout.

Firmware 1.03

That's the release used on Bg's TeraStation. Which was bought on April 2005 in Germany.

The bootloader is unknown and the used kernel is called Linux version 2.4.20_mvl31-ppc_linkstation

Firmware 1.05

This version fixes the permissions on /www/cgi-bin, so you can no longer hack it.

But there is a firmware update to this version. Thanks to this update Sec and bg were able to create a hacked firmware.

Firmware 1.07

A beta release of this firmware is available from the Japanese Buffalo site.

The permissions on /www/cgi-bin are the same as v1.05 so no CGI hacks are possible.

Firmware 1.08

This firmware has been released in Japan and the US. It is mostly a few bugfixes in the PCast software from 1.07 beta.

Firmware 1.09

This firmware has been released in Japan only currently.

Firmware 1.12

Software is available here:
 the zip file has this to say about Ver 1.11 and 1.12

Ver1.11 - The default disk mode has been changed. (Default : RAID5) - The line feed code of Mail Notification has been corrected. - The sudden reboot and shutdown issue has been corrected. Ver1.12 - Mis-detecting issue of FAN Error has been corrected.

Firmware 1.13

This firmware has been released in Japan only currently.

Firmware 2.00 (Official European Version)

I got the following link as response to a support request: --Dummy

Firmware 2.01

Also a Japan-only release as of 6 Dec 2005. An attempt to install it with the Japanese installer failed halfway through - could neither read nor understand error message - and left the box without a proper firmware; I had to install the 1.12 US version afterwards. The 2.01 contains an 38 KB "bootcode.img" and a 3 MB "firmimg.bin" instead of the old 4 MB "allimg.bin". Unsure if I can use the new image.dat with the old installer... --Fred 12:14, 6 Dec 2005 (CET)

Firmware 2.02

Appeared 2 days after 2.01. I had a close look at the 2.01/2.02 file system (unzipping it in the dry dock) and found that, instead of sending stuff to the LED/fan/... microcontroller by using "echo XXXX > /dev/ttyS1", they now employ a program named /usr/sbin/miconapl (for examples of use, see /usr/local/bin/*). However, this program is not contained in the firmware image. Duh! If I am not completely mistaken, this means that neither 2.01 nor 2.02 can ever work properly, and a 2.03 is to be expected soon... --Fred 14:33, 8 Dec 2005 (CET)

(NB. 2.02 is mentioned on Japanese web site but not linked correctly. Link has to be guessed:

Update: Installed 2.02 firmware using Japanese installer. Everything works although it shouldn't (see above). Will try to add telnetd and keep you posted. --Fred 14:56, 8 Dec 2005 (CET)

Beware: It is likely that you cannot downgrade to 1.x from 2.x. Will try to verify this later. --Fred 00:28, 9 Dec 2005 (CET)

Created a modified 2.02 with telnetd (username "myroot", no password). You will have to download the official 2.02 for the firmware installer (old version will probably not do), replace the image.dat file with, and then run the firmware update. Following the Japanese dialogs is easy, just always click the leftmost button. --Fred 15:51, 9 Dec 2005 (CET)

Firmware 2.03

Firmware 2.04 β2

The problem which cannot add every week reservation which strides year was corrected.

Upgrading from 1.13 to 2.04beta2 when without a hitch, just remember to disable your firewall, and download htgl_204b2.exe from the japanese website. As 2.04beta2 is a beta version firmware, the code may not be fully verified, and you may need to revert to older version.

It is not possible to revert to the original firmware version after installing 2.04beta. The nearest you can revert to is firmware 2.03, using "HD-HTGL Ver.2.04 firmware restoration tool Ver.1.00".

Firmware 2.04

Firmware 2.05 β1

I was able to revert back to 2.02 from 2.05B1 by performing a first downgrade and then once it went to em-mode, performing the same downgrade a second time. My Terastation is now working in version 2.02 after upgrading from 2.02 to 2.05b1 --Whoisnader 03:22, 9 Mar 2006 (CET)

Firmware 2.07

Just installd firmware version 2.07 from the Japanese download; previously the box had 2.0. nasupdater.ini still shows version 2.06, while linkstation_version.txt correctly shows 2.07.

After the firmware was uploaded, two info dialogs popped up, the machine restarted, and was available again as intended. The web inteface is still english and the box worked as intended in a few initial smb & ftp tests. One new feature seems to be that now an hour at which the hard disk status should be mailed can be set up (cannot remember that from 2.0). CCRDude 13:24, 22 March 2006 (CET)

Firmware Updates

As there are different versions of the firmware available, it should be possible to upgrade it.

While the Japanese site lists two firmware updates, according to the German support there none available here.

Firmware updates have started to appear on the Buffalo US support site. As of 26/06/2005 it has v1.08.

See firmware update for more information.