Like every other website on the planet, SmallNetBuilder uses cookies. Our cookies track login status, but we only allow admins to log in anyway, so those don't apply to you. Any other cookies you pick up during your visit come from advertisers, which we don't control.
If you continue to use the site, you agree to tolerate our use of cookies. Thank you!

Router Charts

Click for Router Charts

Router Ranker

Click for Router Ranker

NAS Charts

Click for NAS Charts

NAS Ranker

Click for NAS Ranker

More Tools

Click for More Tools

NAS How To

Installation

The first step in the installation is to move the mediaserver executable over to your NSLU2 by either copying it using the built-in file server, or by FTP'ing it over. Once it's there, make sure it is executable by typing the following from a NSLU2 command prompt:

chmod +x mediaserver

Next, we need to create a directory for our configuration files. I created a directory that will hold my media as well as my configuration files:

mkdir /share/hdd/data/Media

Then we'll create subdirectories for our content. You may want to experiment with this a bit, because the media server will create its own virtual folders based on media type and categories such as artist, genre, etc. In addition, your client device may reorganize the content in its own way, but here's what I started with:

mkdir /share/hdd/data/Media/Music
mkdir /share/hdd/data/Media/Photos
mkdir /share/hdd/data/Media/Video

Depending on how you intend on populating the the media directories, you may need to change permissions. In my case, I opened the permissions up fully so that any of my NSLU2 users can read and write content. I did this with a recursive chmod command. For example:

chmod a+rwx -R /share/hdd/data/Media

Normally, executables in the Unslung environment are stored in one of the binary directories under /opt, but for whatever reason, the Twonkyvision server expects to find its configuration files in the same directory as the executable. Instead of cluttering up one of the binary directories with configuration files, I put the mediaserver executable in my Media directory:

mv mediaserver /share/hdd/data/Media/

Next, we need configuration files. If they don't exist, default versions will be created the first time the server is run. So start the server up, let it run for a few seconds, then kill it with a <ctrl>c:

cd /share/hdd/data/Media
./mediaserver
<ctrl>c

After the server is stopped, you'll find a couple of new files, twonkyvision-config.html and twonkyvision-mediaserver.ini. First, we're interested in the ".ini" file.

Edit this file and look over the various, well-documented options. The server will run with all of the defaults, but you can make a few changes such as setting the "friendlyname" name to something meaningful. This is the name that will show up on client UPnP devices. I changed mine like so:

friendlyname=NSLU2 UPnP Server

For completeness, I changed the content directory, even though by default the server uses the directory where the executable resides:

contentdir=/share/hdd/data/Media/

More NAS

Wi-Fi System Tools
Check out our Wi-Fi System Charts, Ranker and Finder!

Support Us!

If you like what we do and want to thank us, just buy something on Amazon. We'll get a small commission on anything you buy. Thanks!

Over In The Forums

Hello All!I'm a newbie on networking and wireless, I only know the basics, so bear with me. I purchased a Asus AC86U to use in my house to replace a A...
Hey guys, I have movistar STB's which require both connection to their VLAN 11 tagged interface (it does have nat) and also requires internet access w...
Hey guys. I have movistar, and I'm pretty sure the provided stb profile is for spain, which is basically the same with the only difference being diffe...
I am trying to setup my router (AX88) so that the traffic from the router (transmission) goes through VPN and the rest of the devices go through WAN. ...
I know what the link rates are for 2.4Ghz but what speeds are you really seeing in the US when using 2.4Ghz wireless. I am thinking of playing with 2....

Don't Miss These

  • 1
  • 2
  • 3