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-03-12 14:16:37

eskimos20
Member
Registered: 2008-03-12
Posts: 5

NFS??

Hi all, I have been reading some articles on how to get the NFS working on the DNS-323.

I have to say I am a half noob when it comes to unix/linux.

Is there a way to get it working and If it is so........ can anyone print down a simple guide:)  (please dont copy and paste a link to a bad guide smile

I´ve got telnet working with fonz great fun-plug but NFS seems to be more tricky..

/Eskimos20

Offline

 

#2 2008-03-12 14:29:36

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: NFS??

eskimos20 wrote:

Is there a way to get it working and If it is so........ can anyone print down a simple guide:)  (please dont copy and paste a link to a bad guide smile

Assuming that the IP address of your box is 'bob' and that you have downloaded the unfs and portmap packages to Voume 1, it should be as simple as:

Code:

telnet bob
cd /mnt/HD_a2
funpkg.sh portmap-6.0.tgz
funpkg.sh unfs3-0.9.18.tgz
sh /mnt/HD_a2/fun_plug.d/unfsd.sh start

On your linux client box, you can then mount with:

Code:

mkdir -p /mnt/bob1
mount -t nfs bob:/mnt/HD_a2 /mnt/bob1

Offline

 

#3 2008-03-12 16:27:36

eskimos20
Member
Registered: 2008-03-12
Posts: 5

Re: NFS??

Thanks for the short guide..... looks really nice if I get it to work...

Will all folders under volume-1 be available to mount or just the once I already share in the dns-323 webapp?


/Eskimos20

Offline

 

#4 2008-03-12 16:40:29

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: NFS??

Since you didn't say what funplug version you're using. The instructions are for 0.3/0.4.

Offline

 

#5 2008-03-12 16:47:37

eskimos20
Member
Registered: 2008-03-12
Posts: 5

Re: NFS??

I use 0.4.... but wont I need to change kernel version or something like that...to get NFS support ?

/Eskimos20

Last edited by eskimos20 (2008-03-12 16:48:00)

Offline

 

#6 2008-03-12 16:58:36

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: NFS??

eskimos20 wrote:

wont I need to change kernel version or something like that...to get NFS support ?

Not with unfs.

Offline

 

#7 2008-03-12 20:01:18

eskimos20
Member
Registered: 2008-03-12
Posts: 5

Re: NFS??

Thanks a lot for the help, now I got everything installed and I think the service is running since I dont get any messages when I try to start the scripts..

Is there a way for me to see what services that are running..

I checked the exports file that was created and it looks ok I think..

/mnt/HD_a2 192.168.0.0/24(rw,no_root_squash,no_subtree_check)
/mnt/HD_b2 192.168.0.0/24(rw,no_root_squash,no_subtree_check)

My Server has the ip 192.168.0.4, does this mean that all folders under volume_1 is shared... ?

Because I have´nt been able to mount my shares with my dreambox or Tvix 6500...

/Eskimos20

Offline

 

#8 2008-03-12 21:48:10

ghostdog23
Member
Registered: 2008-01-09
Posts: 5

Re: NFS??

I encounter the problem, that unfs is not started when booting the device. I have to start it manually........Chmodding it does not help.

Offline

 

#9 2008-03-12 22:02:17

eskimos20
Member
Registered: 2008-03-12
Posts: 5

Re: NFS??

Hi, fonz have this on his site.. have you tried it..

Scripts that have their executable bit set, will be run automatically
by the fun_plug script on boot. To set the executable bit of, e.g.
dropbear.sh, do:
 
  telnet bob
  chmod a+x /mnt/HD_a2/fun_plug.d/start/dropbear.sh

To remove the bit, do:

  chmod a-x /mnt/HD_a2/fun_plug.d/start/dropbear.sh

/Eskimos20

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB