Author Topic: Squeezeslave on MD  (Read 8532 times)

cesarscav

  • Veteran
  • ***
  • Posts: 55
    • View Profile
Re: Squeezeslave on MD
« Reply #15 on: December 17, 2008, 05:44:24 pm »
The command
Code: [Select]
ln -s ../init.d/squeezeslave /etc/rc2.d/S50squeezeslave Worked, But I'm still unable to get it working.
Does some one had this working on a DL MD?

I have the impression that something is wrong here:

/etc/init.d/squeezeslave

Code: [Select]
#! /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"
[glow=red,2,300]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"[/glow]
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME

Should I use the the IP of the core or the MDs

On the webadmin when you add a SqueezeBox Player what parameter should I use on Mac (I think is 00:00:00:00:00:02) IP Should be the MDs ? Is something else to use there.

Any idea?

Thanks

Cesar

eNoodle

  • Veteran
  • ***
  • Posts: 93
    • View Profile
Re: Squeezeslave on MD
« Reply #16 on: December 18, 2008, 11:42:16 am »
Hi Cesar,

you have to use the IP of the core (-s = server). You can define the MAC address for sueezeslave using "-m", you can use whatever you want, best is, if you start with 00:00:00:00:00:01 and increase this MAC address for every other squeezeslave. To use this player within LMCE add this as described in the wiki and use the MAC address you have used for the daemon. I don't know the url right now, but you can connect to slimserver on your dcerouter using a browser. If your squeezeslave has connected successfully you should see it in the "player" section. From within this section you should see if your squeezeslave is running, what is playing, etc.

eNoodle