View Poll Results: Which device is running your SqueezePlug-Server
- Voters
- 98. You may not vote on this poll
-
SheevaPlug
44 44.90% -
TonidoPlug
7 7.14% -
Dockstar
21 21.43% -
Goflex Net
11 11.22% -
other
15 15.31%
Results 521 to 530 of 658
Thread: SqueezePlug (official thread)
-
2011-08-04, 23:34 #521
-
2011-08-05, 09:24 #522Senior Member
- Join Date
- May 2010
- Posts
- 266
Ok, if you want to get the other slaves to work on extra dockstars create a /etc/default/squeezeslave file.
Then you use the BELOW format to add 3 things
new slave name: example squeezeslave2
Mac address of extra dockstar: example 02
And location of where your Squeezeboxserver is located of Main Dockstar (SBSHOST). example 192.168.1.110
Here is mine and it works.
NAME=squeezeslave2
SSMAC="00:00:00:00:00:02"
SBSHOST="192.168.1.110"
Thomas!
Thanks for pointing me in the right direction. I looked over the script under slave
# Author: Ralph Irving <ralph.irving@hotmail.com>
# Create /etc/default/squeezeslave to override any default
# variables defined here. No not edit this file.Last edited by richman; 2011-08-05 at 09:32.
-
2011-08-05, 12:10 #523
Hi Richman, yes that's what I did! I'm not sure the NAME variable works! Maybee you need ""? I think squeezeslave2 is allway the name of the second SqueezeSlave in one net. Could you try to rename it? For me it was possible to rename the second one from the SqueezeBox-settings.
I can't figure it out by myself, because I've no system in place, I'm on tour the next days.
Greetings,
Thomas
-
2011-08-05, 13:41 #524Senior Member
- Join Date
- May 2010
- Posts
- 266
Thomas!
I did as you said. I went into Main PC and in Squeezebox SERVER SETTINGS I changed the name of the squeezeslave 2 to DEN and then rebooted that EXTRA slave.
And when it came back up , it showed DEN as name of that slave.
I think that is what you wanted me to do, right?
p.s. I notice that I don't have to reboot the dockstar for the name to change. Also, we can name the slave DEN or MUSIC PLAYER IN DEN, this is nice because if you have 3 or 4 dockstars going, you can put in name of ROOM the dockstar is in so you know where it's at.
p.s.s. Oh, I understand what you were asking about name and if "" are needed, no, they are not. Only the second and third parts need to be in between the "". If you look at my 3 lines in last post, that is the CORRECT format of the info needed for it to work.Last edited by richman; 2011-08-05 at 14:33.
-
2011-08-06, 00:00 #525
-
2011-08-06, 00:04 #526
-
2011-08-06, 03:02 #527Senior Member
- Join Date
- May 2010
- Posts
- 266
Thomas!
I saw Peter was using that format in his example of wifi setup and figured I would copy it to be on safe side.
This is something we will have to research. Also, options to make wifi STATIC or DHCP in your setup options, just like you have it for ethernet connection.
If I put 2 dockstars in ethernet DHCP, they both fight over the same IP address. Do you notice that too. Usually if I have 2nd dockstar I have to make the 2nd one STATIC to make it work.
Same with wifi, if I have 2 wifi dockstars they fight over same IP address. This will have to be looked into. Static ethernet or wifi is temp fix, I guess. It's a problem I've noticed for a year or so. Thomas if you use your image on 2 plugs in DHCP don't you experience the same IP conflict? You would figure since it's DCHP , any extra dockstars would be auto assigned NEW IP addresses. Somewhere it's getting locked by "name" or some other way, I don't know. It's a problem we discussed a few times a year ago. I don't mine going STATIC but it would be nice to make all of it PLUG and PLAY.
But at least we now have wifi and Extra slaves working. Now I guess we fine tune the process and get the bugs out.
Last edited by richman; 2011-08-06 at 03:08.
-
2011-08-06, 10:48 #528
Hi Richman,
the DHCP-Leases are given to MAC-Addresses. I'm not sure that the MAC-Addresses differs if we uses Jeff's method to install the bootloader on a dockstar device. I do so with my Goflex-devices. Maybe that's the reason for the behavior. Maybe you like to check it with your dockstars. If the MAC is all the same on every device, we should change this. The MAC-Address should be changeable wit fw_setenv.
The reason for the more than one WLAN-Interfaces is a behavior wit UDEV-rules. I've disabled this in my images so that the WLAN-Interface should always be WLAN0.
Greetings,
Thomas
-
2011-08-07, 11:43 #529Senior Member
- Join Date
- May 2010
- Posts
- 266
Thomas!
I checked the Mac addresses and they are all different. I can do static to any IP address, and that works.
The best way to see if you can repeat this behavior is put your image on 2 usb sticks and startup 2 go-flex or 2 dockstars in DHCP.
I have done this on 3 dockstars and they always go for the same IP in auto mode.
If you figured out already how to fix this, please post it, thanks.
P.S. Now if you have 2 dockstars /go-flexs and one is ethernet and one is wifi then it will work in DHCP . But if you have 2 wifi or 2 ethernet dockstars/go-flexs it will conflict for IP's in DHCP.Last edited by richman; 2011-08-07 at 11:53.
-
2011-08-09, 04:27 #530
For sure using NAME in /etc/default/squeezeslave does not work.
You must change the name from the SBS webgui after the player has connected for the first time.
SBS will continue to name each new squeezeslave instance with an increasing numerical postfix like; squeezeslave2, squeezeslave3 ... squeezeslave10Ralphy
1-Touch, 4-Classics, 2-Booms, 2-Squeezeslaves, 3-Squeezeplays, 3-Squeezelites
Squeezeslave donations always appreciated.


Reply With Quote
