BosseJ wrote: 
> Yes, it sound strange.
> First, LMS does get any IP-address by itself, the OS on the device (the
> PI3B+) does by dhcp broadcast on the connected interfaces. LMS uses
> whatever IP-address the OS reports, but LMS is not designed to handle
> dual networks as far as I know (it can, but may be confused sometimes).
> When you say that you have both ethernet and wifi connected on the
> PI3B+, you have dual network interfaces on that machine active at the
> same time. If you haven't set any static IP-address on either ethernet
> or wifi on the PI3B+ and you still get IP-addresses when connected, then
> you have at least two dhcp-servers on you network. And they are probably
> not the same since they provide IP-addresses from different sub-nets.
> Or I may have misunderstood your network, of course :-)
> 
> Some clarifying answers would help I think:
> 1. Into what kind of device is the other end of the ethernet cable
> connected? A switch - what other devices are connected to that then? A
> router - is it the same as the wifi hotspot or something else?
> 2. What kind of device is the mobile hotspot? Your mobile smartphone? A
> 3G/4G router?
> (I am trying to clarify how many internet connections you have and the
> rough layout of your network.)
> 3. What application is "My Music" and on what device are you running
> that? (My Music is a menu item on the web GUI on LMS, is that what
> you're referring to? Where do you then run the browser to the LMS web
> GUI?)
> 
> Also, to clarify your network, please log in to your Pi3B+ using ssh
> (for example Putty on a Windows PC) from some local computer.
> In the terminal ssh-window, run command > 
Code:
--------------------
  >   > sudo route
--------------------
> >  and show us the result.
> Next, run command > 
Code:
--------------------
  >   > ifconfig
--------------------
> > , both with and without the ethernet cable attached and show the
> results.
> 
> Hopefully it will be a bit clearer and maybe somewhat easier to
> provide useful advice.

ok here are network info with/without the hotspot:

with hotspot present
=============
pi@raspberryPi:~ $ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.1.23  netmask 255.255.255.0  broadcast
192.168.1.255
inet6 fe80::7cfc:82aa:8dfb:d773  prefixlen 64  scopeid
0x20<link>
ether b8:27:eb:fd:ab:5a  txqueuelen 1000  (Ethernet)
RX packets 590  bytes 58461 (57.0 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 72  bytes 9625 (9.3 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10<host>
loop  txqueuelen 1000  (Local Loopback)
RX packets 96364  bytes 15265974 (14.5 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 96364  bytes 15265974 (14.5 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.43.252  netmask 255.255.255.0  broadcast
192.168.43.255
inet6 fe80::5aed:ac0e:fc8d:62e0  prefixlen 64  scopeid
0x20<link>
ether b8:27:eb:a8:fe:0f  txqueuelen 1000  (Ethernet)
RX packets 18948  bytes 12339175 (11.7 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 17827  bytes 1628806 (1.5 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

pi@raspberryPi:~ $ ip route show
default via 192.168.43.1 dev wlan0 src 192.168.43.252 metric 303
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.23 metric
202
192.168.43.0/24 dev wlan0 proto kernel scope link src 192.168.43.252
metric 303

LMS info:
Logitech Media Server Version: 7.9.2 - 1530185314 @ Thu Jun 28 14:19:19
CEST 2018
Hostname: raspberryPi
Server IP Address: 192.168.43.252
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8 
Platform Architecture: armv7l-linux
Perl Version: 5.24.1 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 0.95
IO::Socket::SSL: 2.044
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 1

Player Model: SqueezeLite
Player Type: squeezelite
Firmware: v1.9.0-1105
Player IP Address: 127.0.0.1
Player MAC Address: b8:27:eb:fd:ab:5a

From
<http://192.168.1.23:9000/settings/server/status.html?playerid=b8:27:eb:fd:ab:5a>


with hotspot absent
============
pi@raspberryPi:~ $ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.1.23  netmask 255.255.255.0  broadcast
192.168.1.255
inet6 fe80::7cfc:82aa:8dfb:d773  prefixlen 64  scopeid
0x20<link>
ether b8:27:eb:fd:ab:5a  txqueuelen 1000  (Ethernet)
RX packets 1937  bytes 361811 (353.3 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 2968  bytes 3940366 (3.7 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10<host>
loop  txqueuelen 1000  (Local Loopback)
RX packets 123678  bytes 19464288 (18.5 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 123678  bytes 19464288 (18.5 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
ether b8:27:eb:a8:fe:0f  txqueuelen 1000  (Ethernet)
RX packets 23969  bytes 15736917 (15.0 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 22832  bytes 2091671 (1.9 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

pi@raspberryPi:~ $ ip route show
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.23 metric
202


LMS info:
Same as before.

But if raspberryPi boots up without the hotspot, LMS binds to localhost
127.0.0.1
Still I cannot play local music via jivelite whereas using a desktop
browser (http://192.168.1.23:9000/) it plays just fine.

Logitech Media Server Version: 7.9.2 - 1530185314 @ Thu Jun 28 14:19:19
CEST 2018
Hostname: raspberryPi
Server IP Address: 127.0.0.1
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8 
Platform Architecture: armv7l-linux
Perl Version: 5.24.1 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 0.95
IO::Socket::SSL: 2.044
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 1


------------------------------------------------------------------------
pavowren's Profile: http://forums.slimdevices.com/member.php?userid=51958
View this thread: http://forums.slimdevices.com/showthread.php?t=109789

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

Reply via email to