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 2007-12-05 14:00:26

barbafet
New member
Registered: 2007-12-05
Posts: 2

DNS323 + NFS + Tvix 4100

Can someone please explain to me how to get this working? I need to have a share called tvixhd1 using NFS to share data to the Tvix 4100.

Thanks in advance

Offline

 

#2 2007-12-15 01:19:20

rojter
New member
Registered: 2007-12-15
Posts: 4

Re: DNS323 + NFS + Tvix 4100

1. Download this file http://www.inreto.de/dns323/fun-plug/0. … 0.3.tar.gz
2. Uncompress files
3. Put uncompressed file ( fub_plug and fun_plug.tar) info directory  Volume_1
4. Reboot DNS-323
5. Telnet to DNS-323
6. Create file /mnt/HD_a2/fun_plug.d/etc/exports ,  with line "/tvixhd1 10.10.10.0/24(rw,no_root_squash)"
7. Add line into file /mnt/HD_a2/fun_plug "ln -s /mnt/HD_a2 /tvixhd1"
8. File permission to  /mnt/HD_a2/fun_plug.d/start/unfsd.sh should be 755. "chmod 755 /mnt/HD_a2/fun_plug.d/start/unfsd.sh"
9. Reboot DNS-323

NFS server on DNS-323 should be working.

Offline

 

#3 2007-12-18 10:07:32

barbafet
New member
Registered: 2007-12-05
Posts: 2

Re: DNS323 + NFS + Tvix 4100

I tried your solution but I still can't get it to work.

I have downloaded and installed fun_plug as you described.
How should I create the exports file? What IP-address should I enter in the "/tvixhd1 ???.???.???.???/24(rw,no_root_squash)" line.
The IP-adress of my DNS 323 is 192.168.0.179 and my Tvix has 192.168.0.103.
I tried to create the exports file in WinVI and then copied it to the right folder.
Where in the fun_plug file should I add the line "ln -s /mnt/HD_a2 /tvixhd1"?
When I run the command ls -al I can see tvixhd1 linked to HD_a2 but there is no share called tvixhd1, the only shares that I can see are Volume_1, fun_plug.d and Web.
Is there anything else I need to do?

I can connect to the Volume_1 share with samba but then I can't run any DVD isos or big mkv files.

Thanks in advance, I really appreciate your help.

Offline

 

#4 2007-12-21 23:41:19

rojter
New member
Registered: 2007-12-15
Posts: 4

Re: DNS323 + NFS + Tvix 4100

barbafet wrote:

I tried your solution but I still can't get it to work.

How should I create the exports file? What IP-address should I enter in the "/tvixhd1 ???.???.???.???/24(rw,no_root_squash)" line.
The IP-adress of my DNS 323 is 192.168.0.179 and my Tvix has 192.168.0.103.
I tried to create the exports file in WinVI and then copied it to the right folder.
Where in the fun_plug file should I add the line "ln -s /mnt/HD_a2 /tvixhd1"?
When I run the command ls -al I can see tvixhd1 linked to HD_a2 but there is no share called tvixhd1, the only shares that I can see are Volume_1, fun_plug.d and Web.
Is there anything else I need to do?

I can connect to the Volume_1 share with samba but then I can't run any DVD isos or big mkv files.

Thanks in advance, I really appreciate your help.

1. Do you have STATIC IP or Dynamic IP (DHCP) on your DNS and TVIX ? If dynamic change to STATIC
2. Simplest way to create exports file.
     a. delete exports file if exist in /mnt/HD_a2/fun_plug.d/etc directory - command "rm /mnt/HD_a2/fun_plug.d/etc/exports"
     b. run command - "cd /mnt/HD_a2/fun_plug.d/start; ./unfsd.sh start"
     c. in directory /mnt/HD_a2/fun_plug.d/etc you have file exports
     d. vi /mnt/HD_a2/fun_plug.d/etc/exports - delete everythink and add "/tvixhd1 xxx.xxx.xxx.0/24(rw,no_root_squash)" where xxx.xxx.xxx is your network IP example 192.168.0.0
3. line "ln -s /mnt/HD_a2 /tvixhd1" you can add after before "export VOL" command in file fun_plug, in my fun_plug file it's 15'th row

Regards,

ROJER

Offline

 

#5 2008-01-07 01:14:35

Transalp
New member
Registered: 2008-01-02
Posts: 2

Re: DNS323 + NFS + Tvix 4100

I'm trying to use both disks in my DNS-323 for my Tvix 4100 by making a link, i.e. "ln -s /mnt/HD_b2/Movies /mnt/HD_a2/Share/Movie_b".
The link works fine in windows, but the tvix doesn't show the link.
Does anyone have any ideas how to make the link visible?

Last edited by Transalp (2008-01-07 01:16:26)

Offline

 

#6 2008-01-07 13:48:51

peterjb
Member
Registered: 2007-12-28
Posts: 7

Re: DNS323 + NFS + Tvix 4100

I followed these instructions for my Tvix PVR M-4130SH and the setup worked fine for me. I think that you've got your symbolic link wrong in that it should look something like "ln -s /mnt/HD_b2/Movies  /tvixhd1"..

On another topic, does anyone have performance problems with this setup???  My NFS access from my tvix is so slow that it is unwatchable, with CIFS access being semi-reasonable.  I've mounted the same NFS share from an ubuntu desktop and playback works very well, so I'm assuming the issue is something on the tvix side.

Cheers

   Peter

Offline

 

#7 2008-01-07 14:10:42

Transalp
New member
Registered: 2008-01-02
Posts: 2

Re: DNS323 + NFS + Tvix 4100

I made a workaroud, since the Tvix wouldn't see the link, I mounted /dev/sdb2 under /mnt/HD_a2/Movies instead, I'ts allmost lik having a JBOD but I like the flexibility to link / mount any drive to the same folder, external drives etc.

Offline

 

#8 2009-01-03 13:11:39

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: DNS323 + NFS + Tvix 4100

rojter wrote:

1. Download this file http://www.inreto.de/dns323/fun-plug/0. … 0.3.tar.gz
2. Uncompress files
3. Put uncompressed file ( fub_plug and fun_plug.tar) info directory  Volume_1
4. Reboot DNS-323
5. Telnet to DNS-323
6. Create file /mnt/HD_a2/fun_plug.d/etc/exports ,  with line "/tvixhd1 10.10.10.0/24(rw,no_root_squash)"
7. Add line into file /mnt/HD_a2/fun_plug "ln -s /mnt/HD_a2 /tvixhd1"
8. File permission to  /mnt/HD_a2/fun_plug.d/start/unfsd.sh should be 755. "chmod 755 /mnt/HD_a2/fun_plug.d/start/unfsd.sh"
9. Reboot DNS-323

I have the TViX 5100 and have followed this guide without success. The contents of the shared folder are not apppearing on the TV. The TViX network settings are:

Code:

Server name: tvixhd1
Server IP: 192.168.1.102 (my NAS IP)

Any suggestions what and how to troubleshoot?


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#9 2009-01-03 22:30:39

rojter
New member
Registered: 2007-12-15
Posts: 4

Re: DNS323 + NFS + Tvix 4100

Can you telnet/ssh to your D-link ?
If yes please log in and run commands below

1. ls -la /tvixhd1
2. cat /ffp/etc/exports
3. showmount -a
4. ls -la /mnt
5. ping "IP_OF_TVIX_BOX"
6. ls -la /ffp/start/unfsd.sh

Regards,

ROJTER

Offline

 

#10 2009-01-04 12:38:54

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: DNS323 + NFS + Tvix 4100

Thanks a lot for your help. Here is my output:

Code:

/ # ls -la /tvixhd1
lrwxrwxrwx    1 root     root           10 Jan  3 12:03 /tvixhd1 -> /mnt/HD_a2

/ # cat /ffp/etc/exports
/tvixhd1 192.168.1.101/24(rw,no_root_squash)
/mnt/HD_a4 192.168.1.0/24(rw,no_root_squash,no_subtree_check)
/mnt/HD_b4 192.168.1.0/24(rw,no_root_squash,no_subtree_check)
/mnt/web_page 192.168.1.0/24(rw,no_root_squash,no_subtree_check)

/ # showmount -a
All mount points on DNS-323:

/ # ls -la /mnt
drwxr-xr-x    6 root     root         1024 Jan  3 12:03 .
drwxr-xr-x   18 root     root         1024 Jan  3 12:03 ..
drwxrwxrwx   12 503      root         4096 Jan  3 11:46 HD_a2
drwxrwxrwx    5 root     root         1024 Jan  3 11:50 HD_a4
drwxrwxrwx    4 root     root         1024 Dec 31 14:45 HD_b4
drwxr-xr-x    2 root     root         1024 Feb 16  2007 web_page

/ # ping 192.168.1.101
PING 192.168.1.101 (192.168.1.101): 56 data bytes
64 bytes from 192.168.1.101: seq=0 ttl=64 time=13.797 ms

/ # ls -la /ffp/start/unfsd.sh
-rwxr-xr-x    1 root     root          998 Apr 16  2008 /ffp/start/unfsd.sh

¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#11 2009-01-05 01:08:15

rojter
New member
Registered: 2007-12-15
Posts: 4

Re: DNS323 + NFS + Tvix 4100

There is an error in /ffp/etc/exports
Line "/tvixhd1 192.168.1.101/24(rw,no_root_squash): should look like
"/tvixhd1 192.168.1.0/24 (rw,no_root_squash)"

after change please run commands below

1. exportfs -ra
2. ps -ef | grep nfs
3. ps -ef | grep portmap
4. showmount -e localhost

Regards,

ROJTER

Last edited by rojter (2009-01-05 08:21:14)

Offline

 

#12 2009-01-05 19:25:37

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: DNS323 + NFS + Tvix 4100

(After updating exports I also restarted unfsd.sh)

Code:

# exportfs -ra
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.1.0/24:/tvixhd1".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: can't open /var/lib/nfs/rmtab for reading
exportfs: could not open /var/lib/nfs/xtab for locking
exportfs: could not open /var/lib/nfs/etab for locking
exportfs: can't lock /var/lib/nfs/etab for writing
exportfs: could not open /var/lib/nfs/xtab for locking
exportfs: can't lock /var/lib/nfs/xtab for writing
# ps -ef | grep nfs
29026 root     /ffp/sbin/unfsd -e /ffp/etc/exports
29638 root     grep nfs

# ps -ef | grep portmap
29016 root     /ffp/sbin/rpc.portmap
29661 root     grep portmap

# showmount -e localhost
Export list for localhost:
/tvixhd1      192.168.1.0/24
/mnt/HD_a4    192.168.1.0/24
/mnt/HD_b4    192.168.1.0/24
/mnt/web_page 192.168.1.0/24

EDIT: I posted first and tested the TViX afterwards. It worked! Unless you see any other errors in my last output - a BIG thanks!

Last edited by vedeja (2009-01-05 19:27:58)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB