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 2012-05-03 15:50:52

RabidFangs
Member
Registered: 2012-04-10
Posts: 6

R u having trouble mounting the "Volume_2" drive in debian look here

I was having massive issues with debian squeeze not seeing the other drive,
I googled around and found a solution, it involves editing the fun_plug file after
you install Debian.
only HD_a2 was showing up under the /mnt directory.
with this you will have
HD_a2 = shared directory name is "Volume_1"
and
HD_b2 = shared directory name is "Volume_2"

Open putty
cd /mnt
cd HD
cd HD_a2
sudo nano fun_plug
you may have to supply your password

clear everything out or edit to your liking, this is what works for me:
do not add these dashes ================
===========================================================
#!/bin/sh

# Root DISK1
export DISK1=/mnt/HD/HD_a2 ; export DISK2=/mnt/HD/HD_b2
export DISTDIR=squeeze

cd $DISK1

mount --bind $DISK1 $DISTDIR$DISK1
if [ -d $DISK2 ] ; then mkdir -p $DISTDIR/$DISK2 ; mount --bind $DISK2 $DISTDIR/$DISK2 ; fi
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

========================================================

Save and reboot the box,
Once you can ssh back into the nas
cd /mnt
cd HD
you will notice two entries
HD_a2 = shared directory name is "Volume_1"
and
HD_b2 = shared directory name is "Volume_2"

Thanks goes to the French forum I found the edits on, (I don't remember which one,
It was a late night) yaay for Google translate.

I hope this helps

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB