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-06-16 14:30:24

NASty
Member
Registered: 2008-04-24
Posts: 8

DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

Hi, has anyone successfully got subfolders in NFS-mapped folders to show on the Popcorn Hour? I could see all files under the NFS-mapped folder but could never see any subfolders under the same folder. Am using DNS-323 firmware 1.05 and ffp 0.5 unfsd.

Someone on the Popcorn Hour forum has gotten this to work by updating the DNS-323 firmware to the Conceptronic firmware with kernel NFS support. Other workarounds include creating hard links to all content within the subfolders or mounting the folder to a local empty folder that requires an internal harddisk or usb stick plugged in.

Hope to hear that someone has actually gotten this to work without some cumbersome workarounds...

Offline

 

#2 2008-06-16 17:32:23

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

Not to my knowledge.  See: http://dns323.kood.org/forum/p16409-2008-0 … tml#p16409


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#3 2008-06-17 18:24:40

sbrundell
Member
Registered: 2008-04-13
Posts: 13

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

Offline

 

#4 2008-06-18 05:22:32

NASty
Member
Registered: 2008-04-24
Posts: 8

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

Thanks sbrundell. I understand you got subfolders to work by using the conceptronic firmware on your dns-323. However, I was wondering if a solution exists without such a risky workaround.

Also, based on your understanding, can you advise if kernel nfs requires statically-compiled kernel support or simply a nfsd.ko module to be loaded dynamically? I actually tried to insmod a nfsd.ko module (that someone built for the DNS-323 sometime back) and activated the nfsd package that came with ffp 0.5, but that somehow didn't work too. Maybe the nfsd.ko module was an outdated and incompatible version.

Offline

 

#5 2008-06-18 10:49:28

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

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

NASty wrote:

Also, based on your understanding, can you advise if kernel nfs requires statically-compiled kernel support or simply a nfsd.ko module to be loaded dynamically?

My experience is that you need a new kernel with nfs support. I tried with the separately compiled kernel modules, and although it basically worked, the box crashed very often.

PS: The Conceptronic firmware kernel has NFS support enabled :)

Offline

 

#6 2008-06-18 11:58:16

sbrundell
Member
Registered: 2008-04-13
Posts: 13

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

Swapping to the conceptronic firmware was the only way I found that enabled me to browse subfolders sucessfully. I can only say I was so fed up with trying to see these with my syabas media player that I was prepared to risk the firmware upgrade. I think the major risk is just power failure during flashing and luckily I was able to flash without any errors. In fact despite flashing to conceptronic this even preserved all my DNS-323 settings including device name, DNS etc and all my files which was a major suprise so it was actually a very easy process for me taking only 10minutes

Offline

 

#7 2008-06-23 19:11:51

NASty
Member
Registered: 2008-04-24
Posts: 8

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

Are there major differences in functionality between the Conceptronic 1.03 and DLink 1.05 firmwares, besides the kernel NFS support? Is the flashing process reversible to a DLink firmware?

Offline

 

#8 2008-06-25 09:03:53

drak0
Member
Registered: 2007-05-20
Posts: 20

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

This doesn't quite solve the NFS issue, but this is what I use when I need NFS speed for HD vids...  I use llink.

http://www.drak0.com/2008/06/20/llink-2 … he-dns323/

It's been working great for me... let me know if you have any issues smile

Offline

 

#9 2008-06-25 15:29:24

zeroday
Member
Registered: 2007-07-01
Posts: 136
Website

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

unfsd and nfsd is working great with CH3SNAS but also with CFULLHDMA which is similar devices as PopCornHour .. so I think PH has a not so good NFS implementation.

Up to know I have not received any person complaining (other than myself) that NFSD / UNFSD was not working well ;-)

Offline

 

#10 2008-06-25 18:32:42

sbrundell
Member
Registered: 2008-04-13
Posts: 13

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

It's reversible to dlink firmware

Offline

 

#11 2008-06-27 16:45:17

NASty
Member
Registered: 2008-04-24
Posts: 8

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

drak0 wrote:

This doesn't quite solve the NFS issue, but this is what I use when I need NFS speed for HD vids...  I use llink.

http://www.drak0.com/2008/06/20/llink-2 … he-dns323/

It's been working great for me... let me know if you have any issues smile

Thanks. I might just try that... You mentioned there was an issue with VIDEO_TS folders needing to click on the individual .IFO files... is this still an issue in the latest version?

Offline

 

#12 2008-06-28 05:20:16

drak0
Member
Registered: 2007-05-20
Posts: 20

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

I have only played around with .iso files a little - but if you just pick a .vob file and press PLAY (not select), it will play all the vobs in order...  not ideal, but works...  I'm not sure about issues with .IFO files exists...

Offline

 

#13 2008-07-05 16:36:27

NASty
Member
Registered: 2008-04-24
Posts: 8

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

I've installed llink 2.08 and mostly got it to work... streaming performance is definitely much better than samba. However, the breaker for me is that my DVDs are all ripped into VIDEO_TS folders and llink could not have my popcorn hour automatically play the DVD when clicking on the ripped folder, no matter what modifications I did to llink.conf.

Does llink not support this feature at all, or is it broken only on the DNS-323 build? How about DVD menu support?

If this doesn't work out, I suppose the only solution left is to update the DNS-323 to the conceptronic firmware... sigh.

Offline

 

#14 2008-07-05 18:53:05

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

The video_ts works fine over NFS.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#15 2008-07-11 09:28:21

NASty
Member
Registered: 2008-04-24
Posts: 8

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

OK, thanks to everyone here especially sbrundell, I finally decided to make the leap to the Conceptronic firmware and got nfsd-tcp(udp had some strange problems) to work with my popcorn hour. llink was decent but didn't work as well with my mostly VIDEO_TS-ripped DVDs.

I'm definitely a happier man now. smile

Offline

 

#16 2009-01-09 13:42:15

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

NASty wrote:

OK, thanks to everyone here especially sbrundell, I finally decided to make the leap to the Conceptronic firmware and got nfsd-tcp(udp had some strange problems) to work with my popcorn hour. llink was decent but didn't work as well with my mostly VIDEO_TS-ripped DVDs.

I'm definitely a happier man now. smile

I have a CH3SNAS with fw 1.05 and enabled nfs via the funplug 0.5 unfsd.sh script. Still i don't get subfolders even with the -tcp option.
Did you make any changes in the unfsd.sh script? Or did it work 'out of the box'?

Offline

 

#17 2009-01-09 14:59:17

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

Are you connecting using the access page on the popcorn hour (via remote and TV) or are you doing it via a script in a telnet session, or via a cgi script?  I found things do not work too good if you use the NMT interface.  I started using a cgi script to mount things, but that got inconvenient, so I wrote a fun_plug for the popcorn hour, instead.

The only thing major that I changed on my DNS for NFS was to set the NFS shares to read only.  This way things cannot get deleted with the remote control on the popcorn hour.  Anyway, the fun_plug I made uses a copy of busybox that someone compiled for the popcorn hour (I do not know who it was, or I'd give that person credit here).  It sets up a space on the ram drive, copies and links busybox, then runs any executable scripts in the directory.  (Thanks fonz for the idea, it works similar to your ffp.)  I have it set up to mount 2 NFS shares on 2 different DNS-323s automatically.  Subfolders work no problem. 

There are a few things, though.  It requires a hard drive with the NMT programs installed (samba, etc).  This is where the fun_plug needs to be loaded.  It also is not always the easiest to install.  Due to a few limitations to the tar binary that was compiled for the popcorn hour, it is not easy to provide a tarball.  I'm still working on it, though.  I also wanted to be able to install it via a USB stick, or over a share via cgi script, but you get locked deep in the filesystem tree and I can't get out with the script.  I'm still working on that, also.  I'm not a programmer, so I really don't know the tricks. 

Anyway, if anyone is interested, I can get it together.  I know it works on both A-100 and A-110.  There are a few different options for installation depending on which model you have.  Also, anytime the firmware and NMT programs are updated, at least 1 file will need to be fixed, or the fun_plug will not load.  This is because the script that invokes it will get overwritten.  As long as you update the file before rebooting (after the NMT program update) there is no issue.  The issue is only if you reboot first, then the telnet access will be lost.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#18 2009-01-09 16:17:06

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

I don't want to have a harddisk installed (that's why i have a nas) so i guess i have to wait until the firmware will get better support for nfs. Or till someone makes it possible to run the nmt apps from a usb stick.

Offline

 

#19 2009-01-10 15:45:06

NASty
Member
Registered: 2008-04-24
Posts: 8

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

knireis wrote:

NASty wrote:

OK, thanks to everyone here especially sbrundell, I finally decided to make the leap to the Conceptronic firmware and got nfsd-tcp(udp had some strange problems) to work with my popcorn hour. llink was decent but didn't work as well with my mostly VIDEO_TS-ripped DVDs.

I'm definitely a happier man now. smile

I have a CH3SNAS with fw 1.05 and enabled nfs via the funplug 0.5 unfsd.sh script. Still i don't get subfolders even with the -tcp option.
Did you make any changes in the unfsd.sh script? Or did it work 'out of the box'?

You've got to be using the kernel nfs (nsfd.sh), which is a feature available on the conceptronic and not the dlink firmware. unfsd.sh starts the user-space nfs daemon.

Offline

 

#20 2009-01-11 13:16:19

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

NASty wrote:

[You've got to be using the kernel nfs (nsfd.sh), which is a feature available on the conceptronic and not the dlink firmware. unfsd.sh starts the user-space nfs daemon.

Thanks, that did the job.

Offline

 

#21 2009-01-11 22:17:59

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: DNS-323 NFS with Popcorn Hour - anyone got subfolders to work?

One more question, if i set ro in stead of rw in the /etc/exports file then the popcornhour sees the files but does not play them. It is not a big issue but i thought it would be safer to use just ro.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB