Needed: an usb stick (an external usb harddisk might work either) of at least 64MB. (The base install of FFP is +/-40MB, and an additional 10MB is temporary needed while installing.) But the bigger the better. (I've installed almost all FFP packages provided by Fonz, plus some extra provided by others, and compiled lots of packages myself, (Tarbal, sources and object files are still on the stick), I have a 512MB swapfile on the stick, and now my 4GB stick is filled for 60%).
When you plan to install FFP on internal disk any stick will do (16kB is enough).
- 1) Collect the files: download ffp_for_NSA-220.3.zip here. Unzip it. When you've got firmware 2.30 or newer you need to rename nsa220_check_file.230 to nsa220_check_file.
Download fun_plug.tgz here.
NSA-210: rename nsa220_check_file.230 to nsa210_check_file. Download md5sum here.
2) Reformat the stick: The stick has to be formatted ext2. In order to do so, put the files usb_key_func.sh, nsa220_check_file and nsa220_checksum on the stick.
NSA-210: Also add md5sum and nsa210_check_file. (You can omit nsa220_check_file, but it won't hurt). md5sum should have the executable flag set.
Plug it in the NAS, and reboot the NAS. This step will destroy all data on your stick! When the NAS is rebooted, the stick is formatted ext2. In the samba share you should only see a map 'lost+found'.- *When your stick is already formatted ext2/3 or reiserfs, you can skip this step. The script won't reformat it anyway.
*An NTFS formatted stick will not work. First reformat it FAT.
NSA-210: Also add md5sum and nsa210_check_file. (You can omit nsa220_check_file, but it won't hurt).- 3a) If you want to install FFP on the stick, then put after_booting.sh, root.tgz and fun_plug.tgz on the stick as well. Reboot the NAS.
3b) If you want to install FFP on internal disk, then create a new share ffproot. Make sure you enter \ffproot in the 'Path:' field (if available. In 'newer' firmware this field seems to be gone). Put after_booting.sh, root.tgz and fun_plug.tgz in this share. Reboot the NAS.
(Note: You still need your usbstick at each boot to start ffp)
- *When your stick is already formatted ext2/3 or reiserfs, you can skip this step. The script won't reformat it anyway.
To enable an ssh server:
telnet to the device
type
Code: Select all
chmod a+x /ffp/start/sshd.sh
/ffp/start/sshd.sh start
If it works, login as root and type
Code: Select all
/sbin/reboot
Code: Select all
chmod a-x /ffp/start/telnetd.sh
For more information about FFP I refer to Howto FFP, and to a forum full discussions about FFP packages.