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-06-24 12:37:28

Emacs
Member
Registered: 2007-06-24
Posts: 110

Q: Other media server software?

Dear all,

I have a Pinnacle ShowCenter 200 media client attached to my stereo system and TV set.
Currently I stream content to this device from an Oxyl (http://www.oxyl.de) server running on a Linksys NSLU2 (aka Slug).

Since the DNS 323 is a much more powerful device than the slug and the convenience of the RAID 1 safety (as far as it works), I would love to move the Oxyl server to the DNS 323.
Has anybody done this before? Any things to watch out for?

On the other hand, are there any alternatives working on the DNS 323 which would server a ShowCenter 200 (as far as I know it is not following the UPNP media standards)?

Cheers,

Emacs

Offline

 

#2 2007-06-24 19:43:31

keule
Member
Registered: 2007-03-12
Posts: 22

Re: Q: Other media server software?

Use Firefly. There is a how-to in the Wiki.
I have it running with a SoundBridbe and it works just fine.

I think there's also a link to download it in the Wiki.

Offline

 

#3 2007-06-24 22:34:21

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Q: Other media server software?

Hi Keule!

I'll give it a try, but I believe the ShowCenter 200 is fundamentally different from the Roku devices by not using pure UPNP.

We'll see!

Cheers,

Emacs

Offline

 

#4 2007-06-30 19:33:36

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Q: Other media server software?

Hi there,

I found another server software which might run on the DNS323: Swisscenter.

It requires an SQL server (mysql), PHP and an httpd (Apache, or lighthttpd).
It does run on the Linksys NSLU2.

Is there a way to install the package above onto the DNS323?
I guess by going to Debian first, it should be possible - or?

Cheers,

Emacs

Offline

 

#5 2007-07-24 02:08:28

spflug
Member
From: Germany
Registered: 2007-07-18
Posts: 21

Re: Q: Other media server software?

I found some information on http://www.oxyl.de/wbboard/print.php?th … 1&sid= which descripes installation of oxyl  on an avm fritz box router with lighttpd.

I tried to run it by using the information on that page and the new fun_plug 0.3 with php plugin ( thx to fonz) http://www.inreto.de/dns323/fun-plug/0.3/.
As descriped in the source the server.name line is very important. Without it, I had the ports 2x in the url( e.g http://spnas:8080:8080).

This is the working lighttpd.conf:

Code:

# lighttpd configuration file
#
# use it as a base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $

############ Options you really have to take care of ####################

## modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
server.modules              = (
#                               "mod_rewrite",
#                               "mod_redirect",
                               "mod_alias",
                                "mod_access",
#                               "mod_cml",
#                               "mod_trigger_b4_dl",
#                               "mod_auth",
#                               "mod_status",
#                               "mod_setenv",
                               "mod_fastcgi",
#                               "mod_proxy",
#                               "mod_simple_vhost",
#                               "mod_evhost",
#                               "mod_userdir",
                               "mod_cgi",
#                               "mod_compress",
#                               "mod_ssi",
#                               "mod_usertrack",
#                               "mod_expire",
#                               "mod_secdownload",
#                               "mod_rrdtool",
                                "mod_accesslog" )

alias.url = ( "/root/" => "/")
server.name = "spnas"
server.document-root        = "/mnt/HD_a2/www/pages/"
server.errorlog             = "/mnt/HD_a2/www/logs/error.log"

index-file.names            = ( "index.php", "index.html",
                                "index.htm", "default.htm" )


fastcgi.server = ( ".php" => ((
    "bin-path"  => "/mnt/HD_a2/fun_plug.d/bin/php-cgi",
    "socket"    => "/tmp/php-cgi.socket",
    "max-procs" => 2
)))



# mimetype mapping
mimetype.assign             = (
  ".pdf"          =>      "application/pdf",
  ".sig"          =>      "application/pgp-signature",
  ".spl"          =>      "application/futuresplash",
  ".class"        =>      "application/octet-stream",
  ".ps"           =>      "application/postscript",
  ".torrent"      =>      "application/x-bittorrent",
  ".dvi"          =>      "application/x-dvi",
  ".gz"           =>      "application/x-gzip",
  ".pac"          =>      "application/x-ns-proxy-autoconfig",
  ".swf"          =>      "application/x-shockwave-flash",
  ".tar.gz"       =>      "application/x-tgz",
  ".tgz"          =>      "application/x-tgz",
  ".tar"          =>      "application/x-tar",
  ".zip"          =>      "application/zip",
  ".mp3"          =>      "audio/mpeg",
  ".m3u"          =>      "audio/x-mpegurl",
  ".wma"          =>      "audio/x-ms-wma",
  ".wax"          =>      "audio/x-ms-wax",
  ".ogg"          =>      "application/ogg",
  ".wav"          =>      "audio/x-wav",
  ".gif"          =>      "image/gif",
  ".jpg"          =>      "image/jpeg",
  ".jpeg"         =>      "image/jpeg",
  ".png"          =>      "image/png",
  ".xbm"          =>      "image/x-xbitmap",
  ".xpm"          =>      "image/x-xpixmap",
  ".xwd"          =>      "image/x-xwindowdump",
  ".css"          =>      "text/css",
  ".html"         =>      "text/html",
  ".htm"          =>      "text/html",
  ".js"           =>      "text/javascript",
  ".asc"          =>      "text/plain",
  ".c"            =>      "text/plain",
  ".cpp"          =>      "text/plain",
  ".log"          =>      "text/plain",
  ".conf"         =>      "text/plain",
  ".text"         =>      "text/plain",
  ".txt"          =>      "text/plain",
  ".dtd"          =>      "text/xml",
  ".xml"          =>      "text/xml",
  ".mpeg"         =>      "video/mpeg",
  ".mpg"          =>      "video/mpeg",
  ".mov"          =>      "video/quicktime",
  ".qt"           =>      "video/quicktime",
  ".avi"          =>      "video/x-msvideo",
  ".asf"          =>      "video/x-ms-asf",
  ".asx"          =>      "video/x-ms-asf",
  ".wmv"          =>      "video/x-ms-wmv",
  ".bz2"          =>      "application/x-bzip",
  ".tbz"          =>      "application/x-bzip-compressed-tar",
  ".tar.bz2"      =>      "application/x-bzip-compressed-tar",
  ".jpe"          => "image/jpeg"

 )

#### accesslog module
accesslog.filename          = "/mnt/HD_a2/www/logs/access.log"


##
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

######### Options that are good to be but not neccesary to be changed #######

## bind to port (default: 80)
server.port                = 8080


## virtual directory listings
dir-listing.activate        = "enable"
dir-listing.show-readme     = "enable"

Insert the following lines into the functions.inc in the common directory ( starting in line 2):

Code:

function utf8_decode($text)
{
  return $text;
}
function utf8_encode($text)
{
  return $text;
}

The only problem: I've no hardware to test it :-(

Offline

 

#6 2007-07-24 10:03:14

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Q: Other media server software?

Hi spflug,

I have Oxyl running nicely for a while now on my DNS-323.
First in a chroot'ed etch and now in Fonz' fun_plug 0.3.

It's working great - only picture scaling for diashows is not working, 'cause I'd need either an nconvert (from xnview) binary for the dns - which will not happen as the author told me - or a DNS compatible version of gdlib.

Cheers,

Emacs

Offline

 

#7 2007-07-24 10:26:32

spflug
Member
From: Germany
Registered: 2007-07-18
Posts: 21

Re: Q: Other media server software?

Ups sry,
then I missunterstood your posts :-(

Offline

 

#8 2007-07-24 18:43:17

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Q: Other media server software?

No prob spflug - I wrote a couple of message here in the forum while I was working to bring Oxyl to live on the DNS-323 :-)

Thanks for your post anyway!

Cheers,

Emacs

Offline

 

#9 2007-07-29 20:10:49

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

Re: Q: Other media server software?

Emacs wrote:

or a DNS compatible version of gdlib.

Just found out that php comes with a bundled version of gd, and the libgd folks actually recommend to use it. I've created a package with gd enabled. Please let me know if it works:
http://www.inreto.de/dns323/fun-plug/0. … -5.2.3.tgz
Install with funpkg.sh as usual.

Offline

 

#10 2007-07-30 09:46:59

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Q: Other media server software?

Hi Fonz,

I get a slight problem:

~ # php -v
php: can't load library 'libpng12.so.0'

Indeed libpng12.so.0 is not in my fun_plug.d/lib directory.

Cheers,

Emacs

Offline

 

#11 2007-07-30 10:07:54

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: Q: Other media server software?

Offline

 

#12 2007-07-30 10:12:55

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Q: Other media server software?

Hehe - of course, right!

It's just to early for me in the morning ;-)

Thanks for the pointer!

Cheers,

Emacs

Offline

 

#13 2007-07-30 10:41:10

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

Re: Q: Other media server software?

Code:

/mnt/HD_a2/fun_plug.d/bin # ldd php-cgi 
...
        libpng12.so.0 => /mnt/HD_a2/fun_plug.d/lib/libpng12.so.0 (0x40029000)
        libz.so.1 => /mnt/HD_a2/fun_plug.d/lib/libz.so.1 (0x4004e000)
        libjpeg.so.62 => /mnt/HD_a2/fun_plug.d/lib/libjpeg.so.62 (0x40067000)
...

Don't forget the libjpeg package.

Offline

 

#14 2007-07-30 10:52:37

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Q: Other media server software?

Well - technically it does work now!!!

But I probably overestimated the processing power of my NAS (D-Link DNS323). It takes about five minutes to scale a single 6 Megapixel picture down to the screen resolution of the TV-set :-(

Anyhow - the gd-lib itself is working fine.
Thanks Fonz (and MiK for the quick tip) !

Cheers,

Emacs

Offline

 

#15 2007-07-30 11:01:14

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

Re: Q: Other media server software?

Emacs wrote:

But I probably overestimated the processing power of my NAS (D-Link DNS323). It takes about five minutes to scale a single 6 Megapixel picture down to the screen resolution of the TV-set :-(

We knew that: http://dns323.kood.org/forum/p4173-2007 … html#p4173

And most PHP is slow: http://dns323.kood.org/forum/p4651-2007 … html#p4651

Offline

 

#16 2007-11-29 21:16:56

lw
New member
Registered: 2007-11-07
Posts: 3

Re: Q: Other media server software?

Hi..know this tread is bit old, but trying anyway.
Have read the part of oxyl for DNS323 and like it.. my linux hacking is realy bad so I want a easy media server.
I have found a software for SC1000 and I think this is like Oxyl?
check out Linux MTPCenter: http://www.panczyk.eu/index.html
Is this somthing for the "guru" folks here?
I vil test if some can guide me a bit... A big Bit I think!   smile

(sorry for my bad spelling)

Last edited by lw (2007-11-29 21:31:42)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB