DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-10-23 22:50:18

puterboy
Member
Registered: 2008-09-18
Posts: 306

Comments on my "ideal" setup

I have been working to develop a setup that balances the following factors:
- Preserves all the default functionality (including web interface)
- Avoids messing with firmware and potentially bricking the dns-323
- Allows full use of fun-plug
- Allows additional functionality via new kernels & modules
- Maximizes free memory
- Allows disks to spin down

The setup I have developed that gives me just about all the above is as follow
- USB stick with 2 partitions: (both partitions mounted with 'noatime' to minimize writes to flash
     - 1st partition contains an uncompressed version of the default initrd
        (this allows me to substitute a flash usb partition partition for the default ramdisk
        which frees up a lot of memory (30-50MB) and since the root partition is not on
        a hard drive, the disks can spin down when not in use. Also it is very easy to modify the
       root directory. Finally, I have plenty of root partition space for storing logs and whatever. As
       an added bonus the root partition is no longer volatile)
       
     - 2nd partition contains the /ffp directory
       This contains all my fun_plug modifications. I keep it on a separate partition mostly for
       cleanliness

- I use a custom compiled kernel (in my cases still 2.6.12.6) that includes usb as part of the kernel (so
(I can reboot to a usb partition without an initrd) and also includes the full kernel space nfsd along with support
for other filesystems and features not included in the original kernel. Most of these extra features are compiled as
modules to keep the kernel size small

- I then use the ffp-reloaded module with a slightly modified script to reboot to the usb root partition

- I have created modified setup.sh, fun_plug.local and rc_local to round out the setup

Any comments or suggestions on this setup and potential improvements?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB