Tinky 2.3.2-mu-02 installation by Keimix

From NAS-2000.org

Jump to: navigation, search

[edit] HowTo Install Tinky

This HowTo is based on the README of tinky 2.3.2-mu-02 and just augmented in order to be easier for the beginner. I just describe the complete install including the bootloader. --Keimix 17:53, 5 May 2007 (CEST)

First of all: MAKE A BACKUP OF YOUR FILES

You may be saying: "Where should I put the 400GB???", Well somewhere :-)

Notice: If you already have a 2.x firmware (Please check in the WebGUI) you don't have to make a full update. You can update only the Ramdisk and Application parts. If you do so you have to first update the Ramdisk and after that the Application part but the bootloader wont be touched which makes the update process more secure (you will allways be able to access the bootloader even if something goes wrong while you flash) and your MAC-Adr wont be changed :-). For installation of just single parts of the firmware look for the README of the Firmware in Download_Tinky

Warning: The MAC-Address of Your NAS-2000/1000 will be changed to 00:50:c2:2b:33:22 by the install process, but if you want you can reconfigure the MAC-Adress in the bootloader after installing.

For Installing You will need an tftp server (Trivial File Transfer Protocol). For Windows you can try

    http://tftpd32.jounin.net/ (thanks again Jean-François)

For Linux atftp is working

    http://freshmeat.net/projects/atftp/

In order to install the tinky firmware you have to prepare the network configuration of your PC so that it is possible to reach the bootloader. The Standard IP-Adress of the bootloader of the NAS-2000/1000 seems to be 192.168.2.71. In order to reach this adress the Network adapter of Your PC has to be in the same subnet (so something like 192.168.2.XXX). In my configuration the router connecting the NAS to the PC had to be configured to be in the same subnet.

NOTE: This applies only to Windows - on Linux, it is much easier - just add a direct route to the IP address 192.168.2.71 for your network device. Traffic to/from 192.168.2.71 is then directly routed. As root, run

# route add 192.168.2.71 eth0

The install progress is working even for an update from a original 1.X.X firmware of raidsonic.

In order to have a clean install the harddrive has to be deleted. I used linux fdisk to cleanly delete all partitions of the Harddisk prior to starting the Installation.

For the remainder of this HowTo lets assume that the PC has 192.168.2.100 as IP-Adress. The installation I did was done on a Linux PC, but the progress should be similar using Windows.

  1. Start the Installation by switching off Your NAS.
  2. Extract the Archive of the Tinky firmware and check if its ok, so no errors in the transferred data occured by checking the MD5 checksum.
    Attention, to Windows users:
    The result of the first unpack procedure might be a ZIP archive again, but without the ".zip" ending (14 MB size). This has to be renamed adding a ".zip" ending and unpacked again! Don't try to update with that 14 MB File, because this will destroy your NAS. The upgrade file must have a size of 8 MB!!!
    # md5sum -c tinky-2_3_2-mu-02.md5
    # tinky-2_3_2-mu-02: Ok
    If You see Ok as answer everything is OK.
  3. Prepare a TFTP server to serve the firmware to the bootloader of Your NAS.
    1. Copy the tinky firmware file to you tftp-root. For the mentioned atftp the standard is /tftpboot. Make sure /tftpboot is readable to everyone!
      # cp tinky-2_3_2-mu-02 /tftpboot/
    2. Then start the server
      # atftpd -daemon
    Now you are ready to proceed to the actual install.
  4. Contact the bootloader of You NAS

The bootloader is contacted using telnet. On linux run:

# arping -f 192.168.2.71; telnet 192.168.2.71 9000

Boot your NAS and hit Ctrl+C when prompted. If you have no arping (Windows) you should prepare the telnet command then power on your NAS and hit enter at the same time. Note: If you have problems to catch the NAS you probably have to put a switch or hub between your PC and the NAS. Very comprehensive information about the RedBoot bootloader and how to access it via telnet can be found here: http://www.nslu2-linux.org/wiki/HowTo/TelnetIntoRedBoot

Once you reach the Redboot-Bootloader you are presented with a boot menu. Do the following:

  • press X (for Install Bootloader)
  • press 2 (TFTP download)
  • enter your PC IP-Adress (in this example 192.168.2.100) press the Return Key.
  • enter the path to the firmware image (in this example tinky-2_3_2-mu-02 as we copied it to the rootdirectory of the server Note: Redboot has problems with long paths + make sure that no space is in the path (like C:\im so cool\) press the Return Key. The Firmware will be copied to the ramdisk of the NAS. In the moment thats just copying no flashing the firmware. A rotating dash on the commandline shows the that uploading is still in progress. It will take some minutes, keep patient and don't get nervous :-)
  • When the upload is finished you are presented with Are you sure to program Boot code (Y/N) Thats Your last chance to stop. If You want to install the new firmware enter Y and press the Return Key. There will be no status information, but the box is working. Its a bad idea to play now with the power supply etc etc :-) Flashing can take up to 15 min. If something goes wrong and you are lucky the bootloader has already been written to the flash you can retry.
  • When finished You are again presented with the boot menu. Press 1 to boot the NAS. The first boot will be slow because dropbear will create the keys

You are finished!

When reaching the Webinterface remember the standard Password for "admin" is "admin" :-)

Personal tools