Finally I tried and it didn't work
I followed this
http://wiki.linuxmce.org/index.php/Squeezeslave_on_the_corebut not in the core in the MD
I log in as root on moon68
Downloaded the file extracted an copy it to /usr/local/bin
then I edited /etc/rc.local
it looks like this
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
#/usr/local/bin/squeezeslave -m 00:00:00:00:00:01 -o 0 -s -r &
/usr/local/bin/squeezeslave -m 00:00:00:00:00:02 -o 1 -s -r &
exit 0
#/usr/local/bin/squeezeslave -m 00:00:00:00:00:01 -o 0 -s -r &
I commented this line because I have only one extra sound card the /dev/dsp1 is the one I want to use on the squeezeslave (it is a realtek)
Checked alsamixer to see if something was mute (noting was, so I just exited)
Went to webadmin added SqueezeBox Player on the room that I want this (the MD is on Master bedroom I selected Bedroom Other)
Created the file /etc/init.d/squeezeslave
Paste the script Make it executable
Modified the /etc/init.d/squeezeslave
it looks like this
#! /bin/sh
### BEGIN INIT INFO
# Provides: squeezeslave
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: S 0 1 6
# Short-Description: Initscript for squeezeslave
# Description: This init script make it possible to start squeezeslave as a daemon
# It is placed in /etc/init.d.
### END INIT INFO
# Author: Magnus Nilsson <magnus@karabas.nu>
#
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/usr/sbin:/usr/bin:/sbin:/bin
DESC="Squeezeslave dameon"
NAME=squeezeslave-alsa
DAEMON=/usr/local/bin/squeezeslave-0.8-20/$NAME
DAEMON_ARGS="-o 1 -m 00:00:00:00:00:02 -r -s 192.168.80.1"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
This is just the beginning part
in this line
DAEMON_ARGS="-o 1 -m 00:00:00:00:00:02 -r -s 192.168.80.3"
Should I use the IP of the core or the MD?
When I execute this
sudo default-rd.d /etc/init.d/squeezeslave default 50
it gave me an error
root@moon68:~# sudo default-rd.d /etc/init.d/squeezeslave default 50
sudo: default-rd.d: command not found
root@moon68:~#
Maybe I'm Doing something wrong here...
All other steps went good
If I Check with ps if squeezeslave is running after reboot
I get this
root 30459 0.0 0.0 3904 592 pts/12 R+ 14:36 0:00 grep squeezeslave
Any Ideas?
Thanks
Cesar