Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS
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. thanks folks for your responses! first, let me clarify my goals and network configuration. since i've recentlly cut the cord, my internet connection is via mobile hotspot (galaxy s8+ running oreo 8.1). - my raspberry pi 3b+ is running raspbian 'stretch' - it has eth0 connection with static ip address, 192.168.1.23 specified in /etc/dhcpcd.conf - eth0 has NO router or gateway specification. in fact, if i do specify it, wifi will not work. i read elsewhere that the system can have only one gateway, so this make sense i suppose since when wlan0 gets its dynamic address from the hotspot, it also gets its gateway assigned as well. - my LAN has no router or switch. desktop, laptops and the pi all use the powerline ethernet adapters, so it's simply a backbone with no hub. i have already tried putting in a physical router but to no benefit. - when hotspot is available, pi always gets assigned 192.168.43.252 and everything is beautiful. spotify streaming works and i can play music stored on the usb stick attached to the pi. - jivelite is the interface to the soft player squeezelite, and this is "My Music" i was referring to. BUT here's the problem: - when i take the hotspot away (to downstairs to work on the desktop), of course as expected, i cannot stream spotify. - but i should be able to play local music (it's on a usb stick plugged into the pi itself), but cannot. when i click on My Music icon, it displays that spinning wheel and the statement "Connecting... to raspberryPi" or something close to it. and it times out eventually. so my goal is to be able to move the hotspot away and still be able to listen to local music. when hotspot returns, spotify and internet radio all work as expected. not a huge deal but still irritating... and i keep thinking it should just work! i hope i have described the situation a bit better this time. tomorrow, i will ssh into pi and provide the routing info. Paul, your idea about --httpaddr 192.168.1.23 is something i wanted to try. 'cause LMS has the "old" hotspot as its addr and now when the hotspot is gone, of course it won't and can't respond. do you happen to know where in Raspian the LMS execute command lies? i'm curious how LMS decides to bind to wifi addr rather than the static eth0? 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 Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS
Sounds like hes rug the Pi as a router between LAN and WiFi. As others have said LMS will bind to one address. The use case isnt described so almost impossible to answer except one point. Its easy to set a static or reserved ip on the LAN side. You can reserve via whatever is running dhcp You can static via ifconfig VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s *Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes *Dining Room* -> SB Boom *Kitchen* -> UE Radio (upgraded to SB Radio) *Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones *Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s Everything controlled by iPeng d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051 View this thread: http://forums.slimdevices.com/showthread.php?t=109789 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS
The OP hasn't mentioned pCP, so I assume he has probably using Raspbian. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=109789 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Case Sensitive Player MAC with wget but Not HTTP?
It's unencrypted http, so you can sniff it using tcpdump or Wireshark. Gesendet von meinem Nexus 5X mit Tapatalk sent from a computer using a keyboard fragfutter's Profile: http://forums.slimdevices.com/member.php?userid=35184 View this thread: http://forums.slimdevices.com/showthread.php?t=109772 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS
... also, there are a bunch of other command line options that move various other functions to a specific IP address. Maybe LMS could do with a command that moves them all to a particular subnet so that it would not matter if the address changed through the wonders of DHCP. Something like --ipsubnet=192.168.2.000 and optional --ipsubmask=255.255.255.0 then LMS could check against the list of available IP addresses to pick the one that fits the best. Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=109789 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS
Starting LMS with command line including --httpaddr 192.168.1.23 might be the answer for you. However, I'm not sure that pCP provides an easy way to do that from the web interface. Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=109789 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS
pavowren wrote: > hello, > i have been looking into this issue for couple of weeks now and feel i'm > at least zeroing into it. > here's the setup: > - LMS installed on a raspberryPi3B+ along with squeezelite and jivelite > - media is local at /mnt/usb > - ethernet connection and wi-fi via a mobile hotspot > > problem: > when hotspot goes away, My Music fails attempting to connect to > "raspberryPi" > > observations: > - as expected, i have no problem connecting to LMS from a local browser > via http://192.168.1.23:9000/ > - BUT it has the old ip addr assigned by the hotspot > 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 > - yet, via browser, all works including viewing My Music but not at the > raspberryPi itself (jivelite) > > questions: > - how does LMS gets its ip addr assigned? can i make it static to local > eth0 addr, 192.168.1.23? > - since all components are local to raspberryPi, why should ip addr > matter at all? > - lastly, how does brower access work as expected but local access does > not? very frustrating to say the least... > > any insights would be greatly appreciated... > hong son 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. 2 Touch, 1 Picoreplayer 4.0.0 on RaspBerry 3B with 7" display LMS latest nightly on Ubuntu 18.04.1 on Intel Core2 Duo E4500 @ 2.20GHz, 2GB All wired BosseJ's Profile: http://forums.slimdevices.com/member.php?userid=67378 View this thread: http://forums.slimdevices.com/showthread.php?t=109789 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
Sorry for disturbance - I've restarted LMS and C-3PO plugin is working again. Valky's Profile: http://forums.slimdevices.com/member.php?userid=68594 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Tagging issues?!
Thanks... Will have a deeper look at it. marflao's Profile: http://forums.slimdevices.com/member.php?userid=57334 View this thread: http://forums.slimdevices.com/showthread.php?t=109677 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
marcoc1712 wrote: > Nothing has changed recently, could you post the server log please? What > operating system? Server log. +---+ |Filename: server.log.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=26034| +---+ Valky's Profile: http://forums.slimdevices.com/member.php?userid=68594 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
marcoc1712 wrote: > Nothing has changed recently, could you post the server log please? What > operating system? Windows 10. How to attach a file here? Valky's Profile: http://forums.slimdevices.com/member.php?userid=68594 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
Valky wrote: > Today C-3PO is not working anymore. In the settings it shows status: > 'ERROR > Unable to run C-3PO transcoder see server log.' > It used to work flawlessly before. > What could happen to it? Reinstall did not help. Nothing has changed recently, could you post the server log please? What operating system? Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
Today C-3PO is not working anymore. In the settings it shows status: 'ERROR Unable to run C-3PO transcoder see server log.' It used to work flawlessly before. What could happen to it? Reinstall did not help. Valky's Profile: http://forums.slimdevices.com/member.php?userid=68594 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Case Sensitive Player MAC with wget but Not HTTP?
I looked at this again briefly this morning because it's been bugging me a little. There's a recent similar report here: https://productforums.google.com/forum/#!msg/chrome/bjSLuj5DpE8/ONuFHk7wBwAJ My chrome was a bit out of date so I updated and that fixed the issue. I updated Opera also but it looks like it's still broken. I cleared the browser image cache and also tried holding down control while doing a page refresh but I still get the correct cover art whether I use upper of lower case characters in the player mac. For completeness, I should probably figure out if there's a logging option I can enable on LMS for these queries so I can see the actual request strings that the server sees. sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057 View this thread: http://forums.slimdevices.com/showthread.php?t=109772 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] IP addr assigned to LMS
hello, i have been looking into this issue for couple of weeks now and feel i'm at least zeroing into it. here's the setup: - LMS installed on a raspberryPi3B+ along with squeezelite and jivelite - media is local at /mnt/usb - ethernet connection and wi-fi via a mobile hotspot problem: when hotspot goes away, My Music fails attempting to connect to "raspberryPi" observations: - as expected, i have no problem connecting to LMS from a local browser via http://192.168.1.23:9000/ - BUT it has the old ip addr assigned by the hotspot 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 - yet, via browser, all works including viewing My Music but not at the raspberryPi itself (jivelite) questions: - how does LMS gets its ip addr assigned? can i make it static to local eth0 addr, 192.168.1.23? - since all components are local to raspberryPi, why should ip addr matter at all? - lastly, how does brower access work as expected but local access does not? very frustrating to say the least... any insights would be greatly appreciated... hong son 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 Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 7.9.2 sometimes hangs after waking Windows 10
First think I'd check when this happens: open windows Task Manager (right-click on task bar) and see if there's high load on CPU or disk. And if so, by which process(es). reinholdk's Profile: http://forums.slimdevices.com/member.php?userid=36070 View this thread: http://forums.slimdevices.com/showthread.php?t=109785 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter