Loading ...
Sorry, an error occurred while loading the content.

Re: Minidlna (or other DLNA server) on the Slug

Expand Messages
  • Walter
    Well.... What I didn t mention is that I was on my home wifi when streaming to my phone :). Pretty standard router, so probably a maximum of 54 mbps.
    Message 1 of 11 , Jan 23, 2012
    • 0 Attachment
      Well.... What I didn't mention is that I was on my home wifi when streaming to my phone :). Pretty standard router, so probably a maximum of 54 mbps.

      --- In nslu2-linux@yahoogroups.com, "M.J. Johnson" <threeeyedtoad@...> wrote:
      >
      > I'm curious about this setup - I assume the Slug is merely acting as a sort
      > of streamcast, and that no transcoding is going on (given the Slug's meager
      > memory and processing power - particularly the lack of a FPU).
      >
      > If this assumption is correct, what is the encoder/file format of the
      > source material you are streaming out to your phone? Also, what kind of
      > upstream bandwidth is necessary to make a solution like this work? I
      > assume you need a pretty big pipe coming out of your house/wherever the
      > Slug lives. (I barely have enough pipe to stream MP3s out of my home
      > without stuttering, and those have to be orders of magnitude less Mbps.)
      >
      > Thanks for the clarification.
      >
      >
      >
      > On Mon, Jan 23, 2012 at 6:18 AM, Walter <contact@...> wrote:
      >
      > > **
      > >
      > >
      > > Hi Peter,
      > >
      > > Thanks for your reply. I got minidlna to work in the end. Before I had
      > > trouble compiling with the Slug running out of memory in the process. I
      > > chose a different approach to install minidlna, since the instructions in
      > > your link didn't work for me (make wouldn't work because "No targets
      > > specified and no makefile found. Stop."). I download the src tarball from
      > > sourceforge and compiled that instead. Worked perfectly.
      > >
      > > Minidlna streams 720p versions of the BBC Life series to my phone without
      > > trouble. Unfortunately, my Samsung TV does not see the Slug's DLNA server
      > > in my network. But that's not related to the slug ofcourse. Anyway, thanks
      > > for your help!
      > >
      > > - Walter
      > >
      > >
      > > --- In nslu2-linux@yahoogroups.com, Peter Somogyi <smodge123@> wrote:
      > > >
      > > > 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.
      > > >
      > > > Primarily I used this resource I found on the net:
      > > >
      > > http://andrewpeng.net/posts/2010/03/04522-installing-minidlna-on-ubuntu-powerpc.html
      > > >
      > > > Once it was downloaded, built and installed I edited the configuration
      > > that
      > > > was created:
      > > > *
      > > > root@SLUG:~# nano /etc/minidlna.confmedia_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@> 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
      > > > >
      > > > >
      > > > >
      > > >
      > >
      > >
      > >
      >
    • M.J. Johnson
      And the CODEC/file format?
      Message 2 of 11 , Jan 23, 2012
      • 0 Attachment
        And the CODEC/file format?

        On Mon, Jan 23, 2012 at 12:57 PM, Walter <contact@...> wrote:
         

        Well.... What I didn't mention is that I was on my home wifi when streaming to my phone :). Pretty standard router, so probably a maximum of 54 mbps.



        --- In nslu2-linux@yahoogroups.com, "M.J. Johnson" <threeeyedtoad@...> wrote:
        >
        > I'm curious about this setup - I assume the Slug is merely acting as a sort
        > of streamcast, and that no transcoding is going on (given the Slug's meager
        > memory and processing power - particularly the lack of a FPU).
        >
        > If this assumption is correct, what is the encoder/file format of the
        > source material you are streaming out to your phone? Also, what kind of
        > upstream bandwidth is necessary to make a solution like this work? I
        > assume you need a pretty big pipe coming out of your house/wherever the
        > Slug lives. (I barely have enough pipe to stream MP3s out of my home
        > without stuttering, and those have to be orders of magnitude less Mbps.)
        >
        > Thanks for the clarification.
        >
        >
        >
        > On Mon, Jan 23, 2012 at 6:18 AM, Walter <contact@...> wrote:
        >
        > > **

        > >
        > >
        > > Hi Peter,
        > >
        > > Thanks for your reply. I got minidlna to work in the end. Before I had
        > > trouble compiling with the Slug running out of memory in the process. I
        > > chose a different approach to install minidlna, since the instructions in
        > > your link didn't work for me (make wouldn't work because "No targets
        > > specified and no makefile found. Stop."). I download the src tarball from
        > > sourceforge and compiled that instead. Worked perfectly.
        > >
        > > Minidlna streams 720p versions of the BBC Life series to my phone without
        > > trouble. Unfortunately, my Samsung TV does not see the Slug's DLNA server
        > > in my network. But that's not related to the slug ofcourse. Anyway, thanks
        > > for your help!
        > >
        > > - Walter
        > >
        > >
        > > --- In nslu2-linux@yahoogroups.com, Peter Somogyi <smodge123@> wrote:
        > > >
        > > > 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.
        > > >
        > > > Primarily I used this resource I found on the net:
        > > >
        > > http://andrewpeng.net/posts/2010/03/04522-installing-minidlna-on-ubuntu-powerpc.html
        > > >
        > > > Once it was downloaded, built and installed I edited the configuration
        > > that
        > > > was created:
        > > > *
        > > > root@SLUG:~# nano /etc/minidlna.confmedia_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@> 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
        > > > >
        > > > >
        > > > >
        > > >
        > >
        > >
        > >
        >


      • Peter Somogyi
        Thanks for the update Walter. Let me know if you want help - and can be bothered ;) - getting fuppes to work. Peter
        Message 3 of 11 , Jan 23, 2012
        • 0 Attachment
          Thanks for the update Walter.  Let me know if you want help - and can be bothered ;) - getting fuppes to work.

          Peter


          On 23 January 2012 22:18, Walter <contact@...> wrote:
           

          Hi Peter,

          Thanks for your reply. I got minidlna to work in the end. Before I had trouble compiling with the Slug running out of memory in the process. I chose a different approach to install minidlna, since the instructions in your link didn't work for me (make wouldn't work because "No targets specified and no makefile found. Stop."). I download the src tarball from sourceforge and compiled that instead. Worked perfectly.

          Minidlna streams 720p versions of the BBC Life series to my phone without trouble. Unfortunately, my Samsung TV does not see the Slug's DLNA server in my network. But that's not related to the slug ofcourse. Anyway, thanks for your help!

          - Walter



          --- In nslu2-linux@yahoogroups.com, Peter Somogyi <smodge123@...> wrote:
          >
          > 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.
          >
          > Primarily I used this resource I found on the net:
          > http://andrewpeng.net/posts/2010/03/04522-installing-minidlna-on-ubuntu-powerpc.html
          >
          > Once it was downloaded, built and installed I edited the configuration that
          > was created:
          > *
          > root@SLUG:~# nano /etc/minidlna.confmedia_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@...> 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
          > >
          > >
          > >
          >


        • Walter
          Ah right, here is what I could find: Video bitrate: 1445kbps Audio bitrate: 224kbps Video codec: H264 - MPEG-4 AVC Audio codec: AC3 Does that help?
          Message 4 of 11 , Jan 25, 2012
          • 0 Attachment
            Ah right, here is what I could find:

            Video bitrate: 1445kbps
            Audio bitrate: 224kbps
            Video codec: H264 - MPEG-4 AVC
            Audio codec: AC3

            Does that help?

            --- In nslu2-linux@yahoogroups.com, "M.J. Johnson" <threeeyedtoad@...> wrote:
            >
            > And the CODEC/file format?
            >
            > On Mon, Jan 23, 2012 at 12:57 PM, Walter <contact@...> wrote:
            >
            > > **
            > >
            > >
            > > Well.... What I didn't mention is that I was on my home wifi when
            > > streaming to my phone :). Pretty standard router, so probably a maximum of
            > > 54 mbps.
            > >
            > >
            > > --- In nslu2-linux@yahoogroups.com, "M.J. Johnson" <threeeyedtoad@>
            > > wrote:
            > > >
            > > > I'm curious about this setup - I assume the Slug is merely acting as a
            > > sort
            > > > of streamcast, and that no transcoding is going on (given the Slug's
            > > meager
            > > > memory and processing power - particularly the lack of a FPU).
            > > >
            > > > If this assumption is correct, what is the encoder/file format of the
            > > > source material you are streaming out to your phone? Also, what kind of
            > > > upstream bandwidth is necessary to make a solution like this work? I
            > > > assume you need a pretty big pipe coming out of your house/wherever the
            > > > Slug lives. (I barely have enough pipe to stream MP3s out of my home
            > > > without stuttering, and those have to be orders of magnitude less Mbps.)
            > > >
            > > > Thanks for the clarification.
            > > >
            > > >
            > > >
            > > > On Mon, Jan 23, 2012 at 6:18 AM, Walter <contact@> wrote:
            > > >
            > > > > **
            > >
            > > > >
            > > > >
            > > > > Hi Peter,
            > > > >
            > > > > Thanks for your reply. I got minidlna to work in the end. Before I had
            > > > > trouble compiling with the Slug running out of memory in the process. I
            > > > > chose a different approach to install minidlna, since the instructions
            > > in
            > > > > your link didn't work for me (make wouldn't work because "No targets
            > > > > specified and no makefile found. Stop."). I download the src tarball
            > > from
            > > > > sourceforge and compiled that instead. Worked perfectly.
            > > > >
            > > > > Minidlna streams 720p versions of the BBC Life series to my phone
            > > without
            > > > > trouble. Unfortunately, my Samsung TV does not see the Slug's DLNA
            > > server
            > > > > in my network. But that's not related to the slug ofcourse. Anyway,
            > > thanks
            > > > > for your help!
            > > > >
            > > > > - Walter
            > > > >
            > > > >
            > > > > --- In nslu2-linux@yahoogroups.com, Peter Somogyi <smodge123@> wrote:
            > > > > >
            > > > > > 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.
            > > > > >
            > > > > > Primarily I used this resource I found on the net:
            > > > > >
            > > > >
            > > http://andrewpeng.net/posts/2010/03/04522-installing-minidlna-on-ubuntu-powerpc.html
            > > > > >
            > > > > > Once it was downloaded, built and installed I edited the
            > > configuration
            > > > > that
            > > > > > was created:
            > > > > > *
            > > > > > root@SLUG:~# nano /etc/minidlna.confmedia_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@> 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
            > > > > > >
            > > > > > >
            > > > > > >
            > > > > >
            > > > >
            > > > >
            > > > >
            > > >
            > >
            > >
            > >
            >
          • Walter
            Well, can t hurt to try I guess. Since Minidlna isn t working for my Samsung TV. Is there a specific guide you used? - Walter
            Message 5 of 11 , Jan 25, 2012
            • 0 Attachment
              Well, can't hurt to try I guess. Since Minidlna isn't working for my Samsung TV. Is there a specific guide you used?

              - Walter

              --- In nslu2-linux@yahoogroups.com, Peter Somogyi <smodge123@...> wrote:
              >
              > Thanks for the update Walter. Let me know if you want help - and can be
              > bothered ;) - getting fuppes to work.
              >
              > Peter
              >
              >
              > On 23 January 2012 22:18, Walter <contact@...> wrote:
              >
              > > **
              > >
              > >
              > > Hi Peter,
              > >
              > > Thanks for your reply. I got minidlna to work in the end. Before I had
              > > trouble compiling with the Slug running out of memory in the process. I
              > > chose a different approach to install minidlna, since the instructions in
              > > your link didn't work for me (make wouldn't work because "No targets
              > > specified and no makefile found. Stop."). I download the src tarball from
              > > sourceforge and compiled that instead. Worked perfectly.
              > >
              > > Minidlna streams 720p versions of the BBC Life series to my phone without
              > > trouble. Unfortunately, my Samsung TV does not see the Slug's DLNA server
              > > in my network. But that's not related to the slug ofcourse. Anyway, thanks
              > > for your help!
              > >
              > > - Walter
              > >
              > >
              > > --- In nslu2-linux@yahoogroups.com, Peter Somogyi <smodge123@> wrote:
              > > >
              > > > 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.
              > > >
              > > > Primarily I used this resource I found on the net:
              > > >
              > > http://andrewpeng.net/posts/2010/03/04522-installing-minidlna-on-ubuntu-powerpc.html
              > > >
              > > > Once it was downloaded, built and installed I edited the configuration
              > > that
              > > > was created:
              > > > *
              > > > root@SLUG:~# nano /etc/minidlna.confmedia_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@> 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
              > > > >
              > > > >
              > > > >
              > > >
              > >
              > >
              > >
              >
            • M.J. Johnson
              Yes, that s great - thanks!
              Message 6 of 11 , Jan 25, 2012
              • 0 Attachment
                Yes, that's great - thanks!

                On Wed, Jan 25, 2012 at 9:41 AM, Walter <contact@...> wrote:
                 

                Ah right, here is what I could find:

                Video bitrate: 1445kbps
                Audio bitrate: 224kbps
                Video codec: H264 - MPEG-4 AVC
                Audio codec: AC3

                Does that help?



                --- In nslu2-linux@yahoogroups.com, "M.J. Johnson" <threeeyedtoad@...> wrote:
                >
                > And the CODEC/file format?
                >
                > On Mon, Jan 23, 2012 at 12:57 PM, Walter <contact@...> wrote:
                >
                > > **

                > >
                > >
                > > Well.... What I didn't mention is that I was on my home wifi when
                > > streaming to my phone :). Pretty standard router, so probably a maximum of
                > > 54 mbps.
                > >
                > >
                > > --- In nslu2-linux@yahoogroups.com, "M.J. Johnson" <threeeyedtoad@>
                > > wrote:
                > > >
                > > > I'm curious about this setup - I assume the Slug is merely acting as a
                > > sort
                > > > of streamcast, and that no transcoding is going on (given the Slug's
                > > meager
                > > > memory and processing power - particularly the lack of a FPU).
                > > >
                > > > If this assumption is correct, what is the encoder/file format of the
                > > > source material you are streaming out to your phone? Also, what kind of
                > > > upstream bandwidth is necessary to make a solution like this work? I
                > > > assume you need a pretty big pipe coming out of your house/wherever the
                > > > Slug lives. (I barely have enough pipe to stream MP3s out of my home
                > > > without stuttering, and those have to be orders of magnitude less Mbps.)
                > > >
                > > > Thanks for the clarification.
                > > >
                > > >
                > > >
                > > > On Mon, Jan 23, 2012 at 6:18 AM, Walter <contact@> wrote:
                > > >
                > > > > **
                > >
                > > > >
                > > > >
                > > > > Hi Peter,
                > > > >
                > > > > Thanks for your reply. I got minidlna to work in the end. Before I had
                > > > > trouble compiling with the Slug running out of memory in the process. I
                > > > > chose a different approach to install minidlna, since the instructions
                > > in
                > > > > your link didn't work for me (make wouldn't work because "No targets
                > > > > specified and no makefile found. Stop."). I download the src tarball
                > > from
                > > > > sourceforge and compiled that instead. Worked perfectly.
                > > > >
                > > > > Minidlna streams 720p versions of the BBC Life series to my phone
                > > without
                > > > > trouble. Unfortunately, my Samsung TV does not see the Slug's DLNA
                > > server
                > > > > in my network. But that's not related to the slug ofcourse. Anyway,
                > > thanks
                > > > > for your help!
                > > > >
                > > > > - Walter
                > > > >
                > > > >
                > > > > --- In nslu2-linux@yahoogroups.com, Peter Somogyi <smodge123@> wrote:
                > > > > >
                > > > > > 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.
                > > > > >
                > > > > > Primarily I used this resource I found on the net:
                > > > > >
                > > > >
                > > http://andrewpeng.net/posts/2010/03/04522-installing-minidlna-on-ubuntu-powerpc.html
                > > > > >
                > > > > > Once it was downloaded, built and installed I edited the
                > > configuration
                > > > > that
                > > > > > was created:
                > > > > > *
                > > > > > root@SLUG:~# nano /etc/minidlna.confmedia_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@> 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
                > > > > > >
                > > > > > >
                > > > > > >
                > > > > >
                > > > >
                > > > >
                > > > >
                > > >
                > >
                > >
                > >
                >


              • Adam Baker
                ... TV. Is there a specific guide you used? ... I was running fuppes on a slug for years however I found that for my quite large mp3 collection it struggles
                Message 7 of 11 , Feb 20, 2012
                • 0 Attachment
                  Walter <contact@...> writes:

                  >
                  > Well, can't hurt to try I guess. Since Minidlna isn't working for my Samsung
                  TV. Is there a specific guide you used?
                  >

                  I was running fuppes on a slug for years however I found that for my quite large
                  mp3 collection it struggles for memory. I'm now running it on an Iomega iConnect
                  which works somewhat better. It isn't that well set up to run as a background
                  process but I've hacked together an init script that I use to run it. I haven't
                  modified the setup in years so I am running svn version 675 built with

                  ./configure --prefix=/usr/local --sysconfdir=/etc



                  #!/bin/sh

                  ### BEGIN INIT INFO
                  # Provides: fuppes
                  # Required-Start: $local_fs $remote_fs $network $time avahi
                  # Required-Stop: $local_fs $remote_fs $network $time
                  # Default-Start: 2 3 4 5
                  # Default-Stop: 0 1 6
                  # Short-Description: Multithreaded DAAP music server
                  # Description: mt-daapd, a.k.a. Firefly Media Server, is what
                  # most people will understand to be an iTunes share
                  # server. It uses the DAAP protocol, as iTunes does,
                  # and supports streaming MP3 and AAC natively. It can
                  # make use of a number of conversion methods to expose
                  # Ogg and FLAC files too.
                  ### END INIT INFO

                  PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
                  DAEMON=/usr/local/bin/fuppes
                  NAME=fuppes
                  DESC=fuppes

                  test -x $DAEMON || exit 0

                  # Include fuppes defaults if available
                  if [ -f /etc/default/fuppes ] ; then
                  . /etc/default/fuppes
                  fi

                  set -e

                  stopd() {
                  echo -n "Stopping $DESC: "
                  start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
                  --exec $DAEMON --signal 9 --oknodo
                  echo "$NAME."
                  counter=0
                  seen=0
                  while pidof fuppes >/dev/null && [ $counter -lt 15 ]; do
                  if [ $seen -eq 0 ]; then
                  echo -n "Waiting for fuppes to terminate..."
                  seen=1
                  fi

                  counter=$(($counter + 1))
                  echo -n "."
                  sleep 1
                  done
                  echo "OK, all clear."
                  }

                  startd() {
                  echo -n "Starting $DESC: "
                  export HOME=/etc
                  start-stop-daemon --start --quiet -m --pidfile /var/run/$NAME.pid \
                  --oknodo --chuid nobody --background --exec $DAEMON --
                  $DAEMON_OPTS 1>/dev/null 2>/dev/null
                  echo "$NAME."
                  }

                  case "$1" in
                  start)
                  startd
                  ;;
                  stop)
                  stopd
                  ;;
                  restart|force-reload)
                  stopd
                  startd
                  ;;
                  *)
                  N=/etc/init.d/$NAME
                  echo "Usage: $N {start|stop|restart|force-reload}" >&2
                  exit 1
                  ;;
                  esac

                  exit 0
                Your message has been successfully submitted and would be delivered to recipients shortly.