Differences
This shows you the differences between the selected revision and the current version of the page.
howto:ffp-reloaded 2008/07/16 16:11 | howto:ffp-reloaded 2017/12/04 19:31 current | ||
---|---|---|---|
Line 6: | Line 6: | ||
You should install the latest busybox package (>= 1.11.1). | You should install the latest busybox package (>= 1.11.1). | ||
+ | |||
+ | This does **not** work out-of-the-box with RAID. You will have to know what you're doing to get it working. See the [[#RAID Reloaded]] section for some pointers. | ||
+ | |||
+ | For now, the supplied 2.6.25 kernel doesn't work with Rev B1, because the vanilia kernel doesn't support rev B1. However, you can use a 2.6.12 kernel from the [[http://www.inreto.de/dns323/misc/|firmware-reloaded archive in the misc/]] section of fonz's software repository. | ||
+ | |||
Line 34: | Line 39: | ||
ln -s /proc/mounts ffp/etc/mtab | ln -s /proc/mounts ffp/etc/mtab | ||
mkdir -p proc sys | mkdir -p proc sys | ||
+ | </code> | ||
+ | |||
+ | NOTE: if you want to use optware afterwards you need to make sure that you are using the same libraries used with the base fun_plug. If you don't you may get (with xmail, for example) a complaint about a missing symbol in6addr_any. To resolve this, do the following: | ||
+ | |||
+ | <code> | ||
+ | cd /lib | ||
+ | rm /mnt/HD_a2/lib # remove symbolic link created above | ||
+ | tar cf - * | (cd /mnt/HD_a2; tar xvf -) | ||
</code> | </code> | ||
Line 66: | Line 79: | ||
uname -a | uname -a | ||
</code> | </code> | ||
+ | |||
+ | |||
+ | |||
+ | ==== RAID Reloaded ==== | ||
+ | If you don't care about the features in the D-Link firmware, and are confident with using [[http://www.inreto.de/dns323/fun-plug/0.5/|fun-plug 0.5]], you can join the "reloaded" fun using: | ||
+ | |||
+ | * fonz's [[http://www.inreto.de/dns323/misc/|custom 2.6.12 firmware-reloaded kernel]] | ||
+ | * fun-plug 0.5 installed to ''/mnt/HD_a4'' **or** ''/mnt/HD_b4'' (which correspond to the ``sda4`` and ``sdb4`` partitions) | ||
+ | * ffp-reloaded from [[http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/ffp-reloaded/|extra-packages]] | ||
+ | * mdadm. You'll need to run the following **after** reloading: | ||
+ | <code> | ||
+ | mdadm -A /dev/md0 /dev/sda2 /dev/sdb2 | ||
+ | </code> | ||
+ | |||
+ | Be sure to tweak ''/ffp/boot/boot.sh'' to pass ''-m 526'' to ''reload.sh''. This is necessary when booting the 2.6.12 kernel. Here is my ''boot.sh'': | ||
+ | |||
+ | <code> | ||
+ | #!/bin/sh | ||
+ | set -x | ||
+ | cd /ffp/boot | ||
+ | ./reload.sh -I root=/dev/sdb4 -m 526 | ||
+ | </code> | ||
+ | |||
+ | With this setup, I have my Rev B1 DNS-323 reloading into fun-plug 0.5, with RAID1 enabled, and running the NFS **kernel** server. | ||
+ | |||
Line 74: | Line 112: | ||
* /mnt/HD_a2 doesn't exist anymore after booting into ffp. You might need to adjust some config files (exports, mediatomb, ...) | * /mnt/HD_a2 doesn't exist anymore after booting into ffp. You might need to adjust some config files (exports, mediatomb, ...) | ||
* To boot the ffp kernel using the approach described here, you will need a working [[http://www.inreto.de/dns323/reloaded|reloaded]] module that supports your kernel. The modules included in the ffp-reloaded package should work with D-Link firmwares up to 1.4 (1.5?) on a DNS-323. | * To boot the ffp kernel using the approach described here, you will need a working [[http://www.inreto.de/dns323/reloaded|reloaded]] module that supports your kernel. The modules included in the ffp-reloaded package should work with D-Link firmwares up to 1.4 (1.5?) on a DNS-323. | ||
- | |||
- | ==== Todo ==== | ||
- | |||
- | * There's no fan control yet. | ||
- | * A start script that selects the proper set of config files for ffp with and without firmware. | ||
- | |||
+ | * Mijzelf made it work on the NSA-220 [[http://forum.dsmg600.info/viewtopic.php?pid=32398#p32398]] |