Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 9342

Req: report all listening interfaces on LMS settings>info page

$
0
0
Dear all, Michael: would it be possible to report all IP addresses an LMS listens on instead of only one in settings>information page?
I am playing with an LMS container with weave net, works a treat regarding broadcasts but the container has 2 interfaces, e.g.
Code:

root@lms:/# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.5.2  netmask 255.255.255.0  broadcast 192.168.5.255
        ether 02:42:c0:a8:05:02  txqueuelen 0  (Ethernet)
        RX packets 762  bytes 148470 (148.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 374  bytes 1673888 (1.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ethwe: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 65535
        inet 10.32.0.1  netmask 255.240.0.0  broadcast 10.47.255.255
        ether 22:9f:45:8a:ba:52  txqueuelen 0  (Ethernet)
        RX packets 190  bytes 14886 (14.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 242  bytes 15778 (15.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
...

The first one belongs to docker networking and is used to access the web interface from the LAN.
The second one belongs to weave net (vxlan-based), it is the one that squeezelite should use.

The information page reports:
Code:

Logitech Media Server Version: 7.9.2 - 1543258616 @ Mon Nov 26 20:26:16 CET 2018
Hostname: lms.weave.local
Server IP Address: 192.168.5.2
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
...

Of course I can find the right interface myself in the squeezelite container(s) so it is no real issue: lms.weave.local resolves to the weave net IP, not the docker IP (192.168.5.2).
But I thought it might be useful to report all listening interfaces.
Thanks!

Viewing all articles
Browse latest Browse all 9342

Trending Articles