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


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

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:


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

How many concurrent connections can the OpenVPN server handle on the RT-AC86u? I'm looking to have up to 5 users connected to my router's VPN server a...
I'm trying to access the web interface of my Draytek Vigor 130 (in bridge mode) but my Asus RT-AC86U is not letting me.I asked on the Draytek forums a...
Clearly, Asus has messed up someone confirm what version is the most stable? I don't need ethernet backhaul or AX for clients.If ...
I have a technical question for experts like @R. GerritsLet’s say I am connected to the WAN with a static subnet’s say I have have a d...
I have been using Unbound DNS for a long time as my primary DNS on my local network. Some of my client devices use NordVPN with Unbound as DNS.I have ...

Don't Miss These

  • 1
  • 2
  • 3