Probably posting a bit prematurely, but, I have a very, very, minimally
tested solution that seems to be working. I think the network piece is
overly complicated so I'll be trying to simplify that as much as
possible. Basically the goal is to have the wifi interface (mlan0) and
the ethernet interface (eth0) as members of a bond interface (bond0)
with bond0 configured for dhcp. LMS will run on a separate virtual
interface of some kind that's always up, or maybe the loopback
127.0.0.1, like I said, I need to continue to test to arrive at the
simplest solution.
I think the main issue in my testing so far has been that LMS and
squeezelite support specifying ip addresses to bind or connect to,
respectively, whereas jivelite seems to rely solely on discovery, which
falls on it's face if there are no interfaces up or gateway defined. The
patch below, while a bit hacky, doesn't involve recompiling anything and
allows you to skip discovery and specify a server address.
Code:
--------------------
--- usr/share/jive/applets/SlimDiscovery/SlimDiscoveryApplet.lua
+++ /usr/share/jive/applets/SlimDiscovery/SlimDiscoveryApplet.lua
@@ -229,10 +229,10 @@
function _discover(self)
-- Broadcast SqueezeCenter discovery
- for i, address in pairs(self.poll) do
- log:debug("sending slim discovery to ", address)
- self.socket:send(_slimDiscoverySource, address, PORT)
- end
+ -- for i, address in pairs(self.poll) do
+ -- log:debug("sending slim discovery to ", address)
+ -- self.socket:send(_slimDiscoverySource, address, PORT)
+ -- end
-- Discover players via wireless scanning
@@ -253,6 +253,9 @@
end
--]]
+ jeeplms = SlimServer(jnt, "jeep-lms", "jeep-lms")
+ self:_serverUpdateAddress(jeeplms, "10.0.10.10", 9000, "jeep-lms")
+
-- Remove SqueezeCenters that have not been seen for a while
_squeezeCenterCleanup(self)
--------------------
+-------------------------------------------------------------------+
|Filename: IMG_20220208_201052829.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37180|
+-------------------------------------------------------------------+
------------------------------------------------------------------------
sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=115923
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter