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 2011-11-27 01:55:07

bunts
New member
Registered: 2011-11-27
Posts: 1

How to install miniDLNA?

I have been reading through the posts for installing miniDLNA on DNS-323 and haven't found definitive instructions to make it work. The information is patchy and I am afraid to install it.

I believe the DNS-323 specific package is located here:

http://numsys.eu/divers/minidlna-cvs-fr … 23-compil/

1. Can I simply download the package to my Windows machine and FTP to DNS and install using funpkg?

2. Do I need to download any of the library packages to make it work?

If people who have a working miniDLNA could share their experience in making installation work would be helpful.

PS: I am using Twonky 4.4.17 on PS3 and XBOX360. It seems to work but I do see some issues with Samsung TV.

Thanks.

Offline

 

#2 2011-11-27 14:29:04

rsd76
Member
Registered: 2010-04-18
Posts: 47

Re: How to install miniDLNA?

Hi,

1. Yes you can download these packages. And just install them via funpkg. But you could try downloading them directly using

Code:

wget http://numsys.eu/divers/minidlna-cvs-fred-arm-dns-323-compil/minidlna-21-10-2011-cvs20111021.tgz

2. The current version I'm running needs the following libraries:
        libpthread.so.0 => /ffp/lib/libpthread.so.0 (0x4000e000)
        libexif.so.12 => /ffp/lib/libexif.so.12 (0x40028000)
        libjpeg.so.62 => /ffp/lib/libjpeg.so.62 (0x40060000)
        libsqlite3.so.0 => /ffp/lib/libsqlite3.so.0 (0x40089000)
        libavformat.so.52 => /ffp/lib/libavformat.so.52 (0x400ed000)
        libavutil.so.50 => /ffp/lib/libavutil.so.50 (0x4019a000)
        libavcodec.so.52 => /ffp/lib/libavcodec.so.52 (0x401af000)
        libid3tag.so.0 => /ffp/lib/libid3tag.so.0 (0x4086d000)
        libFLAC.so.8 => /ffp/lib/libFLAC.so.8 (0x40884000)
        libogg.so.0 => /ffp/lib/libogg.so.0 (0x408c5000)
        libvorbis.so.0 => /ffp/lib/libvorbis.so.0 (0x408d1000)
        libiconv.so.2 => /ffp/lib/libiconv.so.2 (0x40903000)
        libc.so.0 => /ffp/lib/libc.so.0 (0x409ea000)
        libm.so.0 => /ffp/lib/libm.so.0 (0x40a45000)
        libz.so.1 => /ffp/lib/libz.so.1 (0x40a61000)
        ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x40000000)

Using

Code:

ldd /ffp/sbin/minidlna

you can test the dependencies.
It will be in the output.

These packages cannot be updated via funpkg. To update them I remove the current package (making a copy of the /ffp/etc/minidlna.conf) and installing the new one. Maybe it also works if you just install the new one over it. But funpkg keeps a record of all install packages in /ffp/var/packages I think. So there all packages will be seen.

HTH, Rsd76

Last edited by rsd76 (2011-11-27 14:29:51)


Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin & Hobbes)

Offline

 

#3 2012-02-11 13:03:09

stealth
Member
Registered: 2011-01-05
Posts: 30
Website

Re: How to install miniDLNA?

Offline

 

#4 2012-02-11 13:28:38

R0b1n
Member
Registered: 2011-12-03
Posts: 51

Re: How to install miniDLNA?

Thank you very much stealth (Fred ?) for this but I would like to do it myself too tongue

Offline

 

#5 2012-02-11 13:47:56

stealth
Member
Registered: 2011-01-05
Posts: 30
Website

Re: How to install miniDLNA?

Yes I understand, like I said I had just install the compilation packages
You can get my compilation script here http://numsys.eu/divers/minidlna-cvs-fr … pil/script (base on plord version)

But actually the CVS version is broken with DNS 323, I should fix some things in code before compilation

Last edited by stealth (2012-02-11 13:57:32)

Offline

 

#6 2012-02-12 16:02:12

R0b1n
Member
Registered: 2011-12-03
Posts: 51

Re: How to install miniDLNA?

stealth, your last version is not working with my DNS-325, CPU is at 100%. Probably a inotify issue sad

Offline

 

#7 2012-02-12 20:21:40

stealth
Member
Registered: 2011-01-05
Posts: 30
Website

Re: How to install miniDLNA?

Sorry I can't help for 325, can't you try with inotify=no in minidlna.conf ?

Also be careful the first time minidlna rebuild database and eat all cpu (you should wait 1 hour or 2)

Last edited by stealth (2012-02-12 20:27:59)

Offline

 

#8 2012-02-12 20:25:13

R0b1n
Member
Registered: 2011-12-03
Posts: 51

Re: How to install miniDLNA?

Yes, it is working when inotify is set to no in my minidlna.conf. When I try a /ffp/share/inotify/inotify-test I've got this:

wd=-1  Inappropriate ioctl for device. even after a compilation

It is the same inotify issue as Gwargl here: http://dns323.kood.org/forum/viewtopic.php?id=6653

Last edited by R0b1n (2012-02-12 20:25:47)

Offline

 

#9 2012-02-12 20:31:40

stealth
Member
Registered: 2011-01-05
Posts: 30
Website

Re: How to install miniDLNA?

So my version seems works with DNS 325 ... You should fix "wd=-1  Inappropriate ioctl for device. even after a compilation" before trying minidlna, but I don't know how

Offline

 

#10 2012-02-12 21:03:12

R0b1n
Member
Registered: 2011-12-03
Posts: 51

Re: How to install miniDLNA?

Yes that's right, your version works good without inotity thanks wink

I've tried to do this but it doesn't work on DNS-325 with 1.02 firmware sad

- install  inotify-dev ( http://sites.google.com/site/sirmaxwiki/ ).
- extract  inotify-nosys.h from  GPL source code of firmware 1.0 and put it on nas using windows (directory volume_1) or ftp (/mnt/HD/HD_a2)
- connect to NAS and tape
cp /ffp/include/sys/inotify.h  /ffp/include/sys/inotify.h.old
cp /mnt/HD/HD_a2/inotify-nosys.h  /ffp/include/sys/inotify.h

Last edited by R0b1n (2012-02-12 21:03:34)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB