Tinky 2.3.2-mu-02 installation with Mac OSX
From NAS-2000.org
[edit] HowTo Install Tinky with Mac OSX
This HowTo is based on the HowTo Install Tinky 2.3.2-mu-02 by Keimix. You can compare the installation procedure somewhat with the Linux procedures as described by Keimix.
First of all: MAKE A BACKUP OF YOUR FILES
You may be saying: "Where should I put the 400GB???", Well somewhere :-)
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) on Mac OSX 10.4.x this server is available, but disabled, here are the instructions to activate the server. Use a terminal session to execute the commands.
From 2005 the OSX System works with launchd instead of xinetd.d. You should edit the next two files:
- /System/Library/LaunchDaemons/tftp.plist
- /System/Library/LaunchDaemons/bootps.plist
The files: bootps.plist and tftp.plist files are most probably deactivated, you can active the files by changing the next lines in both files:
<key>Disabled</key>
<true/>
into:
<key>Disabled</key>
<false/>
Assign the correct path to the tftpboot directory in /System/Library/LaunchDaemons/tftp.plist:
<array>
<string>/usr/libexec/tftpd</string>
<string>-i</string>
<string>/tftpboot</string>
</array>
Create as root the tftpboot directory in root.
gsontwmac01:/ root# mkdir /tftboot
In order to install the tinky firmware you have to prepare the network configuration of your Mac 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 address the Network adapter of your Mac has to be in the same subnet (so something like 192.168.2.XXX). In my configuration the router connecting the NAS to the Mac had to be configured to be in the same subnet.
I had formatted my harddisk with ext3 and copied a 80 Gb of files to the NAS2000, I also had created users and groups. I intend to install tinky 2.3.2-mu-02 without a clean install.
For the remainder of this HowTo lets assume that the Mac has 192.168.2.100 as IP-Adress.
- Start the Installation by switching off Your NAS.
- 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.
[gsontwmac01:NAS/alt_firmware/tinky-2_3_2-mu-02.2] monen% ls -al total 28992 drwxr-xr-x 10 monen monen 340 May 24 21:30 . drwxr-xr-x 5 monen monen 170 May 25 00:04 .. -rw-r--r-- 1 monen monen 4325376 May 7 22:20 Application -rw-r--r-- 1 monen monen 46 May 7 22:21 Application.md5 -rw-r--r-- 1 monen monen 2171 May 7 21:12 Changelog -rw-r--r-- 1 monen monen 12414 May 7 21:09 README -rw-r--r-- 1 monen monen 2097152 May 7 22:20 Ramdisk -rw-r--r-- 1 monen monen 42 May 7 22:21 Ramdisk.md5 -rw-r--r-- 1 monen monen 8388608 May 7 22:20 tinky-2_3_2-mu-02.2 -rw-r--r-- 1 monen monen 54 May 7 22:21 tinky-2_3_2-mu-02.2.md5 [gsontwmac01:NAS/alt_firmware/tinky-2_3_2-mu-02.2] monen% tail tinky-2_3_2-mu-02.2.md5 4e89dcc301b79803308d2ea4f635ab48 tinky-2_3_2-mu-02.2 [gsontwmac01:NAS/alt_firmware/tinky-2_3_2-mu-02.2] monen% md5 tinky-2_3_2-mu-02.2 MD5 (tinky-2_3_2-mu-02.2) = 4e89dcc301b79803308d2ea4f635ab48 [gsontwmac01:NAS/alt_firmware/tinky-2_3_2-mu-02.2] monen%
- Prepare a TFTP server to serve the firmware to the bootloader of Your NAS.
- Copy the tinky firmware file to you tftp-root. In your case yhis is the directory /tftpboot
- # cp tinky-2_3_2-mu-02 /tftpboot/
- Now you are ready to proceed to the actual install.
- Copy the tinky firmware file to you tftp-root. In your case yhis is the directory /tftpboot
- Contact the bootloader of You NAS
The bootloader is contacted using telnet. On the Mac run:
# telnet 192.168.2.71 9000
You should first prepare the telnet command and then power on your NAS. Hit Ctrl+C when prompted. It is possible that you don't succeed the first time to catch the NAS (like I did), just repeat the telnet command and boot again your NAS. Note: If you have problems to catch the NAS you probably have to put a switch or hub between your Mac 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 the IP-Adress of your Mac (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. 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!
In my case nothing of the 80 Gb of files and the created users and groups on the NAS2000 was changed.
When reaching the Webinterface remember the standard Password for "admin" is "admin" :-)