Thursday, January 19, 2012

Re: [nslu2-linux] Minidlna (or other DLNA server) on the Slug

 

Hi Walter.


You're in luck - I run my slug with Debian Squeeze (6.0.3) and miniDLNA on it, no problems.  My NSLU2 runs the factory memory, I haven't upped it like some tutorials show you how, however I did remove the factory limiting CPU frequency throttle that my earlier NSLU2 had (something to do with scratching out a really tiny chip on the circuit board).  My NSLU2 runs just fine: I also run rtorrent in the background with up to 10 files; I don't really run a file server but I do run samba and vsftpd; I don't run a print server.

Before I tried Debian (initially lenny) I did try the other NSLU2 firmwares and wasn't happy with them: the installable modules seemed limiting and I don't remember if rtorrent was supported that well, which I really wanted!  Since Debian I've never looked back.

Anyway back to miniDLNA: I haven't tried streaming any HD stuff (1080p) so I'm not sure how well it'd cope with that but for standard definition videos it works really well.  I just start miniDLNA and leave it running the whole time.  It picks up new media in the configured shared locations, although *sometimes* the odd file won't appear on the DLNA client even though I've checked the miniDLNA database and I can see it's registered in there.  (Not sure if it's a naming issue thing, it's not permission related...)

As for clients, I've used miniDLNA through both the Xbox360 and a Sony BluRay player - my tv doesn't have direct network access.

So as for how I set it up I actually found it pretty easy.  (That is, compared to fuppes which I also got working well, just found it to be a lot more mucking about).  Note that I did everything as the root user, including running miniDLNA, but I'm not sure if you really have to.


Once it was downloaded, built and installed I edited the configuration that was created:
root@SLUG:~# nano /etc/minidlna.conf
media_dir=V,/somewhere
media_dir=V,/somewhere-else
      
# set this if you want to customize the name that shows up on your clients
friendly_name=SLUG

Get minidlna to autostart:
root@SLUG:~/minidlna/src# cp linux/minidlna.init.d.script /etc/init.d/minidlna
root@SLUG:~/minidlna/src# chmod +x /etc/init.d/minidlna
root@SLUG:~/minidlna/src# updated-rc.d minidlna defaults

Start minidlna manually:
root@SLUG:~/minidlna/src# minidlna &

I've also used it to stream photos and music but I gave up on that because my client's interface didn't make it easy to sift through heaps of files.  (And I also remember on initial startup and subsequent database rebuild, it would randomly fail on some specific photos that I could never figure out why and there was no real error message thrown up - the scanning process would just halt and I'd have to move the offending photo out of the shared location, delete the miniDLNA database and try again.)

Hope this helps,

Peter


On 19 January 2012 21:10, Walter <contact@waltervos.nl> wrote:
 

Hey guys,

I've recently fired up my Slug again, with the goal of using it to stream video to my TV, use it as a seedbox, a print server and just as general network storage (Samba). I thought my TV supported Samba but appearantly it only supports DLNA. Since I always used Debian on the Slug, that's what I installed. However, I'm having some trouble installing minidlna from the repositories (insufficient memory I believe) and now I'm wondering if maybe I shouldn't use Debian anyway. I'm also wondering if my Slug will be powerful enough to support a DLNA server anyway.

Basically my question is what is the best way to achieve what I want (print server, dlna server, file server and seedbox (rtorrent I suppose)). Should I pick a different firmware perhaps? Are the other firmwares lighter then Debian? Some pointers here and there would be greatly appreciated.

Kind regards,

Walter


__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

No comments:

Post a Comment