Use your Etch server to stream you music to your LAN - gnump3d Print E-mail
Written by machiner   
Monday, 05 March 2007 07:00
EDIT: Gnump3d is no longer being maintained

So I logged into my XP partition this morning just because I wanted to try putty. Well, that worked like a charm and was very simple. Then I realized that it was far too quiet in the house and it was causing my head to hurt. I needed music. I needed some noise. I wanted to tap into my shared music partition but I'm not running Samba, so this partition is not shared to my Windows install. No worries. I remembered that I used gnump3d in the past and it was cake to install, config, and run. Honest. Read on to find out how simple it really was to listen to my music from my XP session.

Using putty, I logged onto my server via ssh. I changed the default port because I'm cool like that, you may want to as well. I didn't realize that putty was a GUI tool, but I didn't mind. I suppose you could run it from the command line (run: cmd) in Windows -- but when the install was finished I clicked to run putty and I got this GUI thing. Sheesh. I filled in the server's address, the port I set ssh to and bam -- I was greeted with a dos box asking me which user I would like to log in as. I'm way more comfortable just typing my commands instead of fiddling with obnoxious Gui's and their crazy options!

I logged in as root, put the password in and there I was -- logged into my server. Cake. Cheers to Rowan for getting me into ssh. I've simply never bothered.

When I was logged into my server I updated apt. Then I installed all the upgrades -- this morning there were 31 for me. Cool. After my server was upgraded I installed gnump3d. Like installing anything on an Etch box -- it was cake, and quick.

#apt-get install gnump3d

Just takes a second. When gnump3d is installed it fires right up, so it was running when I changed the config file to suit my needs. No sweat, I stopped and restarted it following my config.

The gnump3d.conf file is well documented with comments. It was pretty simple to modify -- but I remembered my settings from before -- all I really changed was the allowed network to connect, the location of my music, and the port on which gnump3d runs. You can see the pertinent sections here:

#nano /etc/gnump3d/gnump3d.conf

#Basic Server Settings

port = 8888

I changed the port to 8088.

root = /var/lib/music

I changed this to my music partition. Change this to yours as well.


##Authorization Options

# Only people on the same sub-net, (class C):
allowed _clients =

That is all that I changed. Then I fired-up my web browser (Opera) and I addressed the streaming server:

I have about 2500 tunes on my music partition so it took gnump3d a few minutes to index them all. About 3 minutes went by and BAM! There were all my tunes (well, not mine -- I didn't write them). I clicked on the random tab and let gnump3d pick a random 20 tunes for me and the deafening silence was shattered by AC-DC's "Whole Lotta Rosie" . When they rocked hardest with Bon Scott.

So I shot up, strapped on my bass (Lynne) and rocked the house!

Oh, yeah!

Now, how tough was that?

--machiner 5 march 2007  The forum thread

Last Updated on Thursday, 18 December 2008 01:19