Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Has anyone successfully done this? I've tried searching found this:
http://dns323.kood.org/forum/viewtopic. … 26&p=2
Most of the tutorials are for ffp. Is there a guide or script to do this other than the above? Sorry for the ignorance I'm kind of a newbie at this...
TIA
Offline
The DebNAS is a system without a kernel, it has only applications. DebNAS uses the kernel of the default firmware. More information about the difference between kernels and normal applications can be found on Wikipedia
Installing DebNAS on USB is done before, see for example the post of kennedy101 in the topic you mentioned (don't copy this script without understanding what is does).
Have you already managed to install ffp or DebNAS on your hard drive? Tutorials for ffp are also useful for DebNAS, but you may have to edit a few thing.
When you have DebNAS or ffp installed on your hard drive:
Load the kernel module for USB-storage and partition the device with cfdisk or parted (Wikipage). Format the partition with the ext2 or ext3 filesystem. Remember the device name (probably /dev/sdc1 or /dev/sdb1).
After the USB device is partitioned and formatted, you can remove the ffp or DebNAs form your hard drive (remove the file 'fun_plug' and the directory 'linux' or 'ffp'). Keep the directory 'lnx_bin' with the usb-storage module.
Now copy the DebNAS installation files to your hard drive. Edit the file 'fun_plug' to the following, and reboot.
#!/bin/sh cd /mnt/HD_a2 rm fun_plug /bin/tar -x -f linux.tar -C /mnt/HD_a2 rm linux.tar # load usbstorage module insmod /mnt/HD_a2/lnx_bin/usb-storage.ko mkdir /mnt/usb #sleep for 15 sec to load the module sleep 15 # /dev/sdc1 is the device name of the USB partition, edit if necessary mount /dev/sdc1 /mnt/usb mv /mnt/HD_a2/linux /mnt/usb
After reboot you have to edit the new fun_plug:
#!/bin/sh # load usbstorage module insmod /mnt/HD_a2/lnx_bin/usb-storage.ko mkdir /mnt/usb #sleep for 15 sec to load the module sleep 15 # /dev/sdc1 is the device name of the USB partition, edit if necessary mount /dev/sdc1 /mnt/usb # Root DISK1 export DISK1=/mnt/usb export DISTDIR=linux cd $DISK1 mount --bind $DISK1 $DISTDIR$DISK1 mount --bind / $DISTDIR/mnt/root mount --bind /dev $DISTDIR/dev mount --bind /sys $DISTDIR/sys mount --bind /sys/crfs $DISTDIR/sys/crfs mount --bind /web $DISTDIR/web mount --bind /proc $DISTDIR/proc cp -f /proc/mounts $DISTDIR/etc/mtab rm -f $DISTDIR/etc/fstab touch $DISTDIR/etc/fstab cp -f /etc/resolv.conf $DISTDIR/etc hostname >$DISTDIR/etc/hostname cp -f /etc/hosts $DISTDIR/etc $DISK1/$DISTDIR/boot/chroot $DISK1/$DISTDIR /boot/linuxrc
Reboot again, and hope it works! (not tested, I use ffp from USB)
Offline