Sign up to Submit Content

Sign Up / Login
debiantutorials.org accepts no advertising. Quit asking me.
feed image
Guests 24
If you can walk and chew gum at the same time, you can run Linux

debian tutorials | debian support forum
I invite anyone familiar with Linux or Debian to register here at debiantutorials.org and write tutorials or related articles in order that everyone in the community can benefit. I'm talking to you. You say it better than I do. Your ideas just flow like water. There's so much more that needs to be written in ways that your cousin or an office manager can benefit from. Consider it.
debiantutorials.org is built on and runs on Debian.
Creative Commons License
Stream your music with gnump3d
Use your Etch server to stream you music to your LAN - gnump3d PDF 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.

Finally,

#######
##Authorization Options
#######

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

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

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



Add this page to your favorite Social Bookmarking websites
Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! StumbleUpon! Yahoo! Free Joomla PHP extensions, software, information and tutorials.
Comments
Add New RSS
+/-
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly:
:dry::lol::kiss::D:pinch::(:shock:
:X:side::):P:unsure::woohoo::huh:
:whistle:;):s:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.
'Guest'  - great stuff   |71.243.56.xxx |2007-04-07 14:17:58
Hi,

I've put the gnump3 daemon up and it's fantastic. Really great proggy!
Hovever, is there a way to make
it work as a single streaming server, serving each client with the same song.

Yes, I'd like to hook up a
few pc's with "a few" speakers

MiTo

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated on Thursday, 18 December 2008 01:19