Hi all,
I've got a little problem to use squeezelite with lms running on the same host.
Let me explain :
When I'm on holidays, I usually don't have any network nor wifi. I run LMS on my laptop and (try to) use squeezelite as the player.
It works well when the wifi or the network is on. I run squeezelite, then on my browser, I go to http://localhost:9000/ and I can see squeezelite in the list of players.
But when I have no network, most of the time the case when I'm on holidays, I go to http://localhost:9000/ and can't see squeezelite.
I tried to run :
squeezelite-x86-64 -s localhost:9000
But it's the same.
I suspect it's not related to squeezelite but more to the network config on my laptop, but I can't figure out the problem.
Actually, I gave my laptop a name but don't remember how, so when I open a shell, I have the prompt
antonio@magneto
My /etc/hosts is :
127.0.0.1 localhost magneto
The ip adress of magneto is 127.0.0.1, the same as localhost.
Also, if I point to :
http://magneto:9000/
the page is not found.
Thanks a lot for help !
Results 1 to 4 of 4
-
2014-07-26, 04:52 #1
- Join Date
- Jul 2010
- Location
- Paris, France
- Posts
- 169
Problem with squeezelite connecting to localhost (linux)
LMS 7.9.x
on Linux Mageia 6 and RPI 3
1 SB3, 2 radio, 1 touch, 1 transporter SE, 1 chromecast audio
Plugins : Trackstat, Smartmix, MusicIP, ...
-
2014-07-26, 06:41 #2
- Join Date
- Sep 2005
- Posts
- 2,853
Hi thats wrong
Code:# Syntax 4 /etc/hosts is : # # IP-Address Full Qualified Hostname Short Hostname 127.0.0.1 localhost 127.0.0.1 magneto
Code:127.0.0.1 magneto.mylocaldnsname magneto
Code:ifup eth0
Last edited by DJanGo; 2014-07-26 at 06:50.
-
2014-07-26, 15:32 #3
- Join Date
- Jul 2010
- Location
- Paris, France
- Posts
- 169
Hi,
thanks a lot for your answer.
I changed /etc/hosts like that :
Code:127.0.0.1 localhost 127.0.0.1 magneto
I disabled the firewall, just in case, but it makes no difference.
I also removed the line with magneto in /etc/hosts and rebooted but the name "magneto" still appears at the command prompt.
In /etc/networks I have
Code:default 0.0.0.0 loopback 127.0.0.0 link-local 169.254.0.0
Code:# ifup eth0 Determining IP information for eth0... failed; no link present. Check cable?
LMS 7.9.x
on Linux Mageia 6 and RPI 3
1 SB3, 2 radio, 1 touch, 1 transporter SE, 1 chromecast audio
Plugins : Trackstat, Smartmix, MusicIP, ...
-
2014-07-26, 16:15 #4
- Join Date
- Jul 2010
- Location
- Paris, France
- Posts
- 169
Alright, I found out why it didn't work. I was using the wrong port with squeezelite !
It's not 9000, it's 3483 !
Code:$ squeezelite-x86-64 -s localhost:3483
Thanks a lot !LMS 7.9.x
on Linux Mageia 6 and RPI 3
1 SB3, 2 radio, 1 touch, 1 transporter SE, 1 chromecast audio
Plugins : Trackstat, Smartmix, MusicIP, ...