Dead silent dedicated Linux music server for USB DAC's.

0 Members and 2 Guests are viewing this topic. Read 268014 times.

nyc_paramedic

  • Full Member
  • Posts: 456
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #480 on: 12 Apr 2011, 12:11 am »
^^^Tried that link and did not get it to work.  I can do it by using
mount -t cifs -o username=<username>,password=<password> //<ipaddress>/Music /mnt/tunes

So how do I translate that into a line for fstab?

I've never used CIFS and I don't have an Windows machines to practice on.

I did find this:http://ubuntuforums.org/showthread.php?t=884471

And this: http://www.debian-administration.org/articles/165


Should be relevant. Sorry I can't be of more help on this topic.

praedet

  • Jr. Member
  • Posts: 269
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #481 on: 12 Apr 2011, 11:48 am »
So, in all my playing, I believe I bricked my box.  The far left green light comes on and stays solid and I can't not ssh in...

This happened after trying various modifications to fstab to try and mount the shares.  I then did a "shutdown -r now" and it has not been accessible since then...

THoughts?

nyc_paramedic

  • Full Member
  • Posts: 456
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #482 on: 12 Apr 2011, 03:55 pm »
So, in all my playing, I believe I bricked my box.  The far left green light comes on and stays solid and I can't not ssh in...

This happened after trying various modifications to fstab to try and mount the shares.  I then did a "shutdown -r now" and it has not been accessible since then...

THoughts?

You probably messed up something in fstab so that it can't mount the OS. Can you mount the CF card with a card reader on another machine? Open fstab with a text editor and let's see what you did wrong.

kman

  • Jr. Member
  • Posts: 3
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #483 on: 12 Apr 2011, 06:48 pm »
I'm also in the midst of building an Alix server with music files located on my Windows shared drive.

I don't have mine up yet but thought I'd pass this link resource on to you.

http://wiki.w7cf.net/access_windows_shares

Looking forward to reading your success!


Rosewind

  • Jr. Member
  • Posts: 6
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #484 on: 12 Apr 2011, 07:31 pm »
First, we need to prep for configuring Alix.

1. Look at your router manual and configure your Alix and NAS to always have the same IP address. This might be called DHCP IP address reservation. You reserve the IP from the MAC address of your NAS and Alix.

2. Google and download PuTTy. This will let you SSH (log in securely) to your Alix.

3. After Alix boots up you will see one of the LED's blinking like a heartbeat. Try to use PuTTy to log into your Alix. Log in as root; the password is voyage.

Do that first.

Hi Nick.

Thanks!

Sorry, I doidn't see your post until now. I have managed to log into Voyage MPD through Putty. No sweat. I have also configured the router to give Voyage MPD a fixed IP (.20) and the NS a fixed IP (.11).

Best wishes,
Peter

praedet

  • Jr. Member
  • Posts: 269
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #485 on: 12 Apr 2011, 10:18 pm »
All right, I created a Debian virtual box on my Win7 machine.  This is what fstab says

#/dev/hda1       /       ext2    defaults,noatime,rw     0       0
proc            /proc   proc    defaults                0       0
tmpfs          /tmp    tmpfs    nosuid,nodev          0       0
#tmpfs           /rw     tmpfs   defaults,size=32M        0       0
//192.168.0.100/Music  /mnt/tunes  smbfs defaults,user,noauto,username=lnxmscsrvr1,password=password  0  0

It appears there is not a space after the line.  I tried simply removing the last line to start again, but it won't let me save it...

Thoughts?

ted_b

  • Volunteer
  • Posts: 6345
  • "we're all bozos on this bus" F.T.
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #486 on: 12 Apr 2011, 10:46 pm »
you need to make voyage (alix) read write while editing.  in voyage (I used putty) type remountrw

praedet

  • Jr. Member
  • Posts: 269
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #487 on: 12 Apr 2011, 10:59 pm »
Cool!

I got the card fixed (just put fstab back to its original set-up) and put her back in.  She booted right up  8)

Then, I used this link which documents using a windows home server box share for this type of thing.  It is the only one that worked of the 10-20 different techniques I tired!

So, after a reboot I have an automatic mounting of my music share and am on my way down the rest of the list.  Any idea why every time I try to "rmountro" it says "mount: / is busy"?

nyc_paramedic

  • Full Member
  • Posts: 456
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #488 on: 12 Apr 2011, 11:11 pm »
Cool!

I got the card fixed (just put fstab back to its original set-up) and put her back in.  She booted right up  8)

Then, I used this link which documents using a windows home server box share for this type of thing.  It is the only one that worked of the 10-20 different techniques I tired!

So, after a reboot I have an automatic mounting of my music share and am on my way down the rest of the list.  Any idea why every time I try to "rmountro" it says "mount: / is busy"?

First, congrats.

Lastly, don't worry abou the / is busy message.


praedet

  • Jr. Member
  • Posts: 269
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #489 on: 13 Apr 2011, 02:52 am »
All right,
The next hurdle!

I am working on the mpd.conf file

Using the directions from the blog, combined with my specific implementation, the beginning of my file is as follows


# An example configuration file for MPD
# See the mpd.conf man page for a more detailed description of each parameter.


# Files and directories #######################################################
#
# This setting controls the top directory which MPD will search to discover the
# available audio files and add them to the daemon's online database. This
# setting defaults to the XDG directory, otherwise the music directory will be
# be disabled and audio files will only be accepted over ipc socket (using
# file:// protocol) or streaming files over an accepted protocol.
#
######################## REQUIRED PATHS ########################
# You can put symlinks in here, if you like. Make sure that
# the user that mpd runs as (see the 'user' config parameter)
# can read the files in this directory.
music_directory "/mnt/tunes/mpd_music"
playlist_directory "/mnt/tunes/mpd/playlists"
db_file "/mnt/tunes/mpd/tag_cache"
log_file "/mnt/tunes/mpd/mpd.log"
error_file "/mnt/tunes/mpd/errors.log"
pid_file "/mnt/tunes/mpd/pid"
################################################################
#
When I run the mpd restart I get the following error:

Stopping Music Player Daemon: mpd.
Starting Music Player Daemon: mpdcreating /mnt/tunes/mpd/tag_cache... ... (warning).
unrecognized parameter in config file at line 21: error_file
 failed!

Any ideas?  I created the mpd_music and mpd/playlist folders on the server...

praedet

  • Jr. Member
  • Posts: 269
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #490 on: 13 Apr 2011, 02:54 am »
Replying to my own post! :duh:

I commented out the error_file line for now and now th error is:

Stopping Music Player Daemon: mpd.
Starting Music Player Daemon: mpdcreating /mnt/tunes/mpd/tag_cache... ... (warning).
listen: bind to '0.0.0.0:6601' failed: Address already in use (continuing anyway, because binding to '[::]:6601' succeeded)
Failed to bind to '0.0.0.0:6601': Address already in use
 failed!

Rosewind

  • Jr. Member
  • Posts: 6
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #491 on: 13 Apr 2011, 02:04 pm »
Hi Nick and all.

I have read most of the Swiss guy's post about configuring Voyage MPD. I am unsure, however, which steps I need to follow with the most recent Voyage MPD:
- I don't need to install the NFS bit, right?
- I don't need to install alsa, right?
- I do need to configure mpd.conf, right?
- what else?

I think that a "trimmed" version of the Swiss guide would be nice to have for Linux-noobs like myself when installing/configuring the Voyage MPD. I have used Putty in the past to install SqueezeServer on my old NAS. I wouldn't mind contributing to such a guide. It is not too difficult once you know all the steps, what exactly to enter and what to do if something unexpected happens.


Best wishes,

Peter

praedet

  • Jr. Member
  • Posts: 269
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #492 on: 13 Apr 2011, 03:25 pm »
^^^I agree Peter.  I am especially interested in the new GUI and how to access it/what it can set-up...

nyc_paramedic

  • Full Member
  • Posts: 456
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #493 on: 13 Apr 2011, 04:04 pm »
Hi Nick and all.

I have read most of the Swiss guy's post about configuring Voyage MPD. I am unsure, however, which steps I need to follow with the most recent Voyage MPD:
- I don't need to install the NFS bit, right?
- I don't need to install alsa, right?
- I do need to configure mpd.conf, right?
- what else?

I think that a "trimmed" version of the Swiss guide would be nice to have for Linux-noobs like myself when installing/configuring the Voyage MPD. I have used Putty in the past to install SqueezeServer on my old NAS. I wouldn't mind contributing to such a guide. It is not too difficult once you know all the steps, what exactly to enter and what to do if something unexpected happens.

NFS client and ALSA are already installed. Remaining steps are:

1. Configure your NAS to export your music directory.

2. Configure ftsab file on alix to mount NFS or CIFS share on your NAS.

3. Edit mpd.conf

nyc_paramedic

  • Full Member
  • Posts: 456
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #494 on: 13 Apr 2011, 04:08 pm »
I think that a "trimmed" version of the Swiss guide would be nice to have for Linux-noobs like myself when installing/configuring the Voyage MPD. I have used Putty in the past to install SqueezeServer on my old NAS. I wouldn't mind contributing to such a guide. It is not too difficult once you know all the steps, what exactly to enter and what to do if something unexpected happens.

I've been meaning to write something and post it as PDF attachment. It's going to take time; writing good technical documentation isn't easy --especially for people who aren't farmiliar with Linux/UNIX.

I was going to start with a newbie FAQ of what Voyage MPD is and isn't, and that alone will be several pages long. Most people have trouble just understanding that MPD uses the client-server model.

nyc_paramedic

  • Full Member
  • Posts: 456
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #495 on: 13 Apr 2011, 04:09 pm »
Replying to my own post! :duh:

I commented out the error_file line for now and now th error is:

Stopping Music Player Daemon: mpd.
Starting Music Player Daemon: mpdcreating /mnt/tunes/mpd/tag_cache... ... (warning).
listen: bind to '0.0.0.0:6601' failed: Address already in use (continuing anyway, because binding to '[::]:6601' succeeded)
Failed to bind to '0.0.0.0:6601': Address already in use
 failed!

Can we see your entire mpd.conf, please?

praedet

  • Jr. Member
  • Posts: 269
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #496 on: 13 Apr 2011, 04:44 pm »
Here are the lines without # signs...

music_directory "/mnt/tunes"
playlist_directory "/mnt/tunes/mpd/playlists"
db_file "/mnt/tunes/mpd/tag_cache"
log_file "/mnt/tunes/mpd/mpd.log"
#error_file "/mnt/tunes/mpd/errors.log"
pid_file "/mnt/tunes/mpd/pid"
state_file                      "/mnt/tunes/mpd/state"
user            "lnxmscsrvr1"
bind_to_address      "any"
port "6601"
input {
        plugin "curl"
audio_output {
   type      "alsa"
   name      "Music Fidelity V-Link"
   device      "hw:0,0"   # optional
buffer_before_play      "100%"
filesystem_charset      "UTF-8"
id3v1_encoding         "UTF-8"
metadata_to_use "artist,album,title,track,name,genre,date,composer,performer, disc"

follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "yes"
zeroconf_name "Voyage Music Player"
mixer_type "hardware"
bind_to_address "192.168.0.108"

ted_b

  • Volunteer
  • Posts: 6345
  • "we're all bozos on this bus" F.T.
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #497 on: 13 Apr 2011, 04:50 pm »
Some closed brackets seem to be missing for input and audio.

nyc_paramedic

  • Full Member
  • Posts: 456
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #498 on: 13 Apr 2011, 05:28 pm »
Here are the lines without # signs...

music_directory "/mnt/tunes"
playlist_directory "/mnt/tunes/mpd/playlists"
db_file "/mnt/tunes/mpd/tag_cache"
log_file "/mnt/tunes/mpd/mpd.log"
#error_file "/mnt/tunes/mpd/errors.log"
pid_file "/mnt/tunes/mpd/pid"
state_file                      "/mnt/tunes/mpd/state"
user            "lnxmscsrvr1"
bind_to_address      "any"
port "6601"
input {
        plugin "curl"
audio_output {
   type      "alsa"
   name      "Music Fidelity V-Link"
   device      "hw:0,0"   # optional
buffer_before_play      "100%"
filesystem_charset      "UTF-8"
id3v1_encoding         "UTF-8"
metadata_to_use "artist,album,title,track,name,genre,date,composer,performer, disc"

follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "yes"
zeroconf_name "Voyage Music Player"
mixer_type "hardware"
bind_to_address "192.168.0.108"

You have bind_to_address twice. Why? Remove the last one.

praedet

  • Jr. Member
  • Posts: 269
Re: Dead silent dedicated Linux music server for USB DAC's.
« Reply #499 on: 13 Apr 2011, 06:26 pm »
^^^I actually tried that and it gave this...

Stopping Music Player Daemon: mpd.
Starting Music Player Daemon: mpdcreating /mnt/tunes/mpd/tag_cache... ... (warning).
listen: bind to '0.0.0.0:6601' failed: Address already in use (continuing anyway, because binding to '[::]:6601' succeeded)
Failed to load database: Failed to open database file "/mnt/tunes/mpd/tag_cache": No such file or directory
database: Can't create db file in "/mnt/tunes/mpd": Permission denied
 failed!