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-03 15:54:14

Muppet
Member
Registered: 2008-05-21
Posts: 44

llink working with fun_plug 0.5

I read a few posts here and there wanting the llink media server recompiled for fun_plug 0.5 to use with their popcorn hour players and the like.

It doesn't need to be recompiled - the files just need to be placed in the newer funplug directory structure (ffp instead of funplug.d) and the start script altered a little.

I have only tested it for 5 minutes but it seems to work fine for me. I tried a couple of 1080p and 720p mkv files on a popcorn hour. (llink 2.05, fun_plug 0.5, firmware 1.04).

See attached file for a funplug package of llink 2.05 you can copy to your 323 and install as per usual.

Last edited by Muppet (2008-06-03 15:56:30)

Offline

 

#2 2008-06-03 15:57:58

Muppet
Member
Registered: 2008-05-21
Posts: 44

Re: llink working with fun_plug 0.5

Ok .. I attached a file when creating and then editing the message but it looks like it will not upload.
Anyone got any ideas?

Offline

 

#3 2008-06-03 16:05:18

Muppet
Member
Registered: 2008-05-21
Posts: 44

Re: llink working with fun_plug 0.5

Looks like file attachments dont work here so here are the instructions:

1. Download the llink package from here (2.05 at time of writing):
http://www.lundman.net/wiki/index.php/L … ink_dns323

2. Extract on your computer. You should get the old style funplug directory structure, something like mnt/HD_a2/funplug.d/.....

3. Edit etc/llink/llink.conf and replace instances of "funplug.d" and "fun_plug.d" with "ffp" so the paths are correct. I also added *.m4a as a valid music file extension, in case you have anything that was ever ripped with itunes (optional).

4. Edit start/llink.sh and replace the contents with this:

Code:

#!/ffp/bin/sh

# PROVIDE: llink

. /ffp/etc/ffp.subr

name="llink"
command="/ffp/bin/llink"
start_cmd="llink_start"
stop_cmd="llink_stop"
status_cmd="llink_status"
user=nobody

llink_start() {

    if [ ! -f "/ffp/etc/llink/llink.conf" ]; then
        echo ERROR: No /ffp/etc/llink/llink.conf found
        exit 1
    fi
    if [ -n "$(pidof llink)" ]; then
        echo ERROR: llink is already running
        exit 1
    fi                                                 
    if [ -x "/ffp/bin/llink" ]; then
        echo "Starting llink... "
    cp /ffp/lib/libstdc++.so.5 /lib # Nasty workaround!
        /ffp/bin/llink -f /ffp/etc/llink/llink.conf 1>/dev/null 2>/dev/null </dev/null
    else
        echo "ERROR: llink not found or not executable"
    fi
}

llink_stop() {
    killall llink
}


llink_status() {
    if [ -n "$(pidof llink)" ]; then
        echo "running"
    else
        echo "stopped"
    fi
}

run_rc_command "$1"

5. Copy everything under the funplug.d directory to ffp/ on your 323

6. Telnet to the 323 and

Code:

cd /mnt/HD_a2/ffp/start
sh llink.sh start

7. If you want it to start automatically on reboot:

Code:

chmod +x llink.sh

Last edited by Muppet (2008-06-03 16:08:00)

Offline

 

#4 2008-06-10 16:32:33

Eskas
Member
Registered: 2008-05-23
Posts: 13

Re: llink working with fun_plug 0.5

Thanks alot. I've done as described and llink doesn't complain when starting. Unfortunatelly I haven't bought a popcorn hour jet, but I'll borrow one from a friend of mine to see how llink works on my dns 323. Looks promising. Your work is appreciated.

I'm running firmware 1.05, 2x750 GB Samsung F1, Fonz funplug 0.5

Offline

 

#5 2008-06-11 02:41:33

Muppet
Member
Registered: 2008-05-21
Posts: 44

Re: llink working with fun_plug 0.5

It is so much better than the awful smb & nfs browsing on the popcorn hour. I couldn't get either to work properly with the dns-323. SMB would not display all shared directories, even with the same permissions set, and NFS would never show any subdirectories.

Offline

 

#6 2008-06-12 18:10:24

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

Re: llink working with fun_plug 0.5

I created a package and did a mini-review for llink version 2.0.6 - I just installed it and it works perfectly (almost) w/ the popcorn hour!

http://www.drak0.com/2008/06/12/dns323- … t-perfect/

direct link to package:
http://drak0.com/files/dns323/llink-2.0.6-1-ffp0.5.tgz

Offline

 

#7 2008-06-12 22:49:57

wonko
Member
Registered: 2008-03-21
Posts: 11

Re: llink working with fun_plug 0.5

drak0 wrote:

I created a package and did a mini-review for llink version 2.0.6 - I just installed it and it works perfectly (almost) w/ the popcorn hour!

http://www.drak0.com/2008/06/12/dns323- … t-perfect/

direct link to package:
http://drak0.com/files/dns323/llink-2.0.6-1-ffp0.5.tgz

Hi,

regarding the problems browsing directories using NFS, I also
had that problem initially with my ph. Using the kernelspace
nfs server on the nas instead of the userspace version solved
it for me. You need to use nfs-tcp ob the ph though.

Will check out llink real soon, thanks to the op for providing this
info.


Regards,

Matthias.

Offline

 

#8 2008-06-13 02:10:46

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

Re: llink working with fun_plug 0.5

wonko wrote:

Hi,

regarding the problems browsing directories using NFS, I also
had that problem initially with my ph. Using the kernelspace
nfs server on the nas instead of the userspace version solved
it for me. You need to use nfs-tcp ob the ph though.

Will check out llink real soon, thanks to the op for providing this
info.


Regards,

Matthias.

Matthias,
To get the kernel mode NFS working, did you flash the dns323 with the 'other' firmware (I forget the name - dlink's twin).  Or did you get it working with the dlink firmware?

Thanks!

Offline

 

#9 2008-06-13 02:56:56

Muppet
Member
Registered: 2008-05-21
Posts: 44

Re: llink working with fun_plug 0.5

Sounds like a fair bit of hassle to get kernel mode NFS working when llink should stream files faster anyway.
Thanks for the package drak0

From http://www.networkedmediatank.com/wiki/ … methods.3F

What streaming speeds should I expect from the various network connection methods?
   SMB: ~25Mbps
   NFS: ~33Mbps
   HTTP: ~42Mbps (same clip peaks at 47Mbps)
   USB HDD: ~ 42Mbps
   USB DVDROM (8x): ~42Mbps
   Internal HDD: ~42Mbps

Also the llink homepage says there is beta ISO support in 2.07

Last edited by Muppet (2008-06-13 03:00:16)

Offline

 

#10 2008-06-13 14:14:06

wonko
Member
Registered: 2008-03-21
Posts: 11

Re: llink working with fun_plug 0.5

drak0 wrote:

wonko wrote:

Hi,

regarding the problems browsing directories using NFS, I also
had that problem initially with my ph. Using the kernelspace
nfs server on the nas instead of the userspace version solved
it for me. You need to use nfs-tcp ob the ph though.

Will check out llink real soon, thanks to the op for providing this
info.


Regards,

Matthias.

Matthias,
To get the kernel mode NFS working, did you flash the dns323 with the 'other' firmware (I forget the name - dlink's twin).  Or did you get it working with the dlink firmware?

Thanks!

My NAS is the Conceptronic CH3SNAS.

This is the firmware I have currently installed: http://www.aroundmyroom.com/2008/06/04/ … -firmware/
My fun_plug version is 0.5 .


Regards,

Matthias.

Last edited by wonko (2008-06-13 14:19:08)

Offline

 

#11 2008-06-13 14:16:52

wonko
Member
Registered: 2008-03-21
Posts: 11

Re: llink working with fun_plug 0.5

Muppet wrote:

Sounds like a fair bit of hassle to get kernel mode NFS working when llink should stream files faster anyway.
Thanks for the package drak0

From http://www.networkedmediatank.com/wiki/ … methods.3F

What streaming speeds should I expect from the various network connection methods?
   SMB: ~25Mbps
   NFS: ~33Mbps
   HTTP: ~42Mbps (same clip peaks at 47Mbps)
   USB HDD: ~ 42Mbps
   USB DVDROM (8x): ~42Mbps
   Internal HDD: ~42Mbps

Also the llink homepage says there is beta ISO support in 2.07

ISO support is absolutely vital for me. Hope I can manage to install llink this weekend.


Regards,

Matthias.

Last edited by wonko (2008-06-13 14:17:20)

Offline

 

#12 2008-06-13 20:17:48

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

Re: llink working with fun_plug 0.5

I just compiled llink 2.0.7 along with libdvdread 0.9.7 and libdvdcss 1.2.9 and I can browse inside of an .iso (which I believe means the decryption is working), but I can't play a .vob using the popcorn hour.

Does anyone know if I would be able to read the file structure of the DVD if the decryption wasn't working?

Offline

 

#13 2008-06-14 03:11:44

Muppet
Member
Registered: 2008-05-21
Posts: 44

Re: llink working with fun_plug 0.5

I'm not 100% sure on this but I don't think the file structure of a dvd is encrypted, but the vob files themselves are.

Offline

 

#14 2008-06-14 04:55:35

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

Re: llink working with fun_plug 0.5

Muppet wrote:

I'm not 100% sure on this but I don't think the file structure of a dvd is encrypted, but the vob files themselves are.

Interesting, I just mounted the iso like normal (-o loop), and...

rhd@debian:~$ file mnt/VIDEO_TS/VTS_16_1.VOB
mnt/VIDEO_TS/VTS_16_1.VOB: MPEG sequence, v2, program multiplex

Looks like this vobs aren't even encrypted!  I copied the VOB file to an exposed smb share and it played fine.  Hrmf...

Offline

 

#15 2008-06-25 09:19:17

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

Re: llink working with fun_plug 0.5

just a quick follow up.  2.0.7 had a bug.  llink author confirmed and released 2.0.8 which I have cross compiled and uploaded...  it allows browsing and playing back .iso files just fine (.img should also work).

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

edit: typo

Last edited by drak0 (2008-06-25 09:54:58)

Offline

 

#16 2008-06-25 09:46:10

Muppet
Member
Registered: 2008-05-21
Posts: 44

Re: llink working with fun_plug 0.5

Thanks drak0. Much appreciated

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB