I installed a second raspberry pi with squeezelite over wifi into my
home network with both pi-based and squeezebox/touch elements. It seems
that these pi-based clients report an all-zero mac address (or nothing)
and the server registers zeros. This leads to the server conflating the
two clients--first one in gets its ip address to the server, but the
hostnames kind of oscillate back and forth for the single client entry
in the server information, and both devices will initiate enough traffic
with the server to bollix up playback on the device whose ip address got
in first. The second player can't actually be activated to play
something, but it's causing trouble for the first.

Why the server ends up with a zero mac address I cannot say. It might
have something to do with the raspberry pi, the wifi, squeezelite on the
raspberry pi, whatever.

Workaround. Go into /etc/default/default and add the line:
SB_EXTRA_ARGS="-m 01:02:03:04:05:06" or any other number for a mac
address as long as its different for each player. Then it works.

Fix: ? dunno if it's a pi issue reporting a funny mac address to
squeezelite (or to some lower networking layer) and thus to the server,
or squeezelite somehow not getting the number right when it's a wifi
connection. Someone who knows LMS can work backward from where LMS gets
that mac address--did it come from networking software or from something
that squeezelite said to it. If the latter, how is squeezelite getting
the mac address when it's not specified on the command line. Note that
squeezelite running on a linux mint machine gets a correct mac address
in the server table, and doesn't have any playback problems unless it's
synchronized with one of the pi-based players. Then weird stuff
happening to the pi player happens to the mint player, too.

Cheers


------------------------------------------------------------------------
david.udin's Profile: http://forums.slimdevices.com/member.php?userid=66348
View this thread: http://forums.slimdevices.com/showthread.php?t=106591

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to