I just set up a new Ubuntu 22.04 (on amd64) server and set up two IP addresses. Most of the services (including LMS) are to run on one address; the other will be dedicated to pihole running on the same box.
I used the options --httpaddr 172.17.217.130 --cliaddr 172.17.217.130 --playeraddr 172.17.217.130 --streamaddr 172.17.217.130 in /etc/default/logitechmediaserver, and didn't get any errors.
However, my squeezebox radios worked oddly. They could not see the LMS server, though the server knew about them and could push some things to them. For instance, from the web interface, I could play music, but I could not turn them on and off. My Squeezebox classic was unfazed.
There has been a lot of discussion here over the years about servers with multiple addresses, but try as I might I could not glean any useful information: either why this doesn't work, or what a workaround might be.
The one hint I saw is to force the radios to treat the server as a remote library by entering the preferred IP address. I did not try this, though, being in a panic about my radios not working!
So is that the answer? Perhaps an additional note could be added to the docs for --httpaddr etc to make it clear that there is more that must be done for these options to really work right...
Thanks in advance for insights.
Ed
I used the options --httpaddr 172.17.217.130 --cliaddr 172.17.217.130 --playeraddr 172.17.217.130 --streamaddr 172.17.217.130 in /etc/default/logitechmediaserver, and didn't get any errors.
However, my squeezebox radios worked oddly. They could not see the LMS server, though the server knew about them and could push some things to them. For instance, from the web interface, I could play music, but I could not turn them on and off. My Squeezebox classic was unfazed.
There has been a lot of discussion here over the years about servers with multiple addresses, but try as I might I could not glean any useful information: either why this doesn't work, or what a workaround might be.
The one hint I saw is to force the radios to treat the server as a remote library by entering the preferred IP address. I did not try this, though, being in a panic about my radios not working!
So is that the answer? Perhaps an additional note could be added to the docs for --httpaddr etc to make it clear that there is more that must be done for these options to really work right...
Thanks in advance for insights.
Ed