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

Finishing Up

Next, we need a way to fire up the server at boot time. We'll make a new script in the normal location for Unslung startup scripts, /opt/etc/init.d/, and call it S99mediaserver. The S99 indicates that it will be one of the last servers to start up at boot time. Here's the content:

#!/bin/sh




# if the server is already running if [ -n "`pidof mediaserver`" ] ; then


# kill it killall mediaserver 2>/dev/null


# give the server time to shutdown sleep 2 fi


# this is all one line, watch for line wraps! ( cd /share/hdd/data/Media; /share/hdd/data/Media/mediaserver -D >/dev/null 2>&1 )

Then mark it as executable:

chmod +x /opt/etc/init.d/S99mediaserver

Next, we'll need to set up the NSLU2 to share our Media directory so that we can add content. For this we'll use the standard NSLU2 configuration screen accessed through the web interface. Go to the Administration/Advanced/Shares menu to add a new share that will point to our media directory.

In this menu, fill out the Properties section. The important item is Location. Use Disk1 and select the Specify radio button. Fill out the location as "/Media/" and hit the Save as new share button (Figure 2).

Setting up a Media share on the NSLU2
Figure 2: Setting up a Media share on the NSLU2

At this point we should have a new network filesystem share that equates to our directory that the media server will use to serve content. Network mount the directory and add some mp3 files, images or video to the appropriate sub folders. If you have any permission errors, consult the NSLU2 documentation to make sure that the appropriate network users have read/write permission.

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

Hi, Is there anyway to select LAN ports from 5-8 when doing Dual WAN?My LAN ports 1-4 are fried and so is the WAN port.Luckily, I was able to use the ...
I just put these two fans on the back of my AC86U router (left). The bigger one is 140mm and the smaller one is 120mm. These were spare fans from my ...
I decided to try to improve my home network by adding MOCA adaptors to reduce the number of devices connected to WiFi. My setup is pretty typical and ...
I have an ASUS AC-1900P bought at best buy and using in Japan.Initially my iphone does find the 5Ghz band but after a while stops recognizing the 5GHz...
HiBeem testing on two different providers (Nord, Express) and seem to be getting DNS leaks. It appears that I am connected to the correct server when ...

Don't Miss These

  • 1
  • 2
  • 3