I feel like this question must have been asked before, probably more
than once, but I can't seem to come up with a good search result. The
short version is that I have a device with a touchscreen running LMS,
squeezelite, and jivelite. It needs to be able to operate normally with
no network interfaces up. And I don't mean just no internet, I mean all
interfaces down.

I've dicked around with it most of the weekend and so far the only
working solution I've had is to assign a static IP to an interface
(eth0), manually bring it up and then add a default route (which isn't
reachable because there's no physical link). In this config, all 3
pieces of software worked as expected, even find_servers immediately
found the locally running LMS.

The problem is that I don't really want it like this, The physical
interface(s) need to be able to change state, eg. up/down, connected to
my home wifi or wired lan, connected to my phone hotspot, etc. all via
DHCP. LMS, jivelite and squeezelite need to be unaffected by anything
happening on the outbound interface(s).

When I don't have a manually configured static IP and gateway (with no
ethernet cable connected) LMS starts but is really slow to respond in
the browser. Squeezelite won't autodiscover,  I have to specify a
connection IP. Jivelite starts but doesn't connect to a server, even
when I manually add a remote library using the local static ip or
127.0.0.1, it won't connect. As soon as I put a static IP on an
interface, set it to up, AND add a default gateway IP, everything starts
working, even if nothing external is reachable due to the cable being
unplugged.

I setup a working separate network namespace (this is on linux) thinking
I'd just run LMS/squeezelite/jivelite all in a separate net namespace
and that would solve everything, even it adds complexity to the setup. I
got it all working but it's acting just like it was when all interfaces
were down and unconfigured.

Can anyone provide any hints or forum links for standalone disconnected
setups?


------------------------------------------------------------------------
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
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to