nico wrote:
> I've followed your instructions but SqueezePlay still can't connect to
> my remote LMS via the assorted ssh & udp plumbing.
>
> I am running ssh and the 2 socats with verbose logging and I certainly
> see a lot of activity from all 3 programs. When launched, SqueezePlay
> displays "Connecting to 127.0.0.1" and spins for about 30 seconds, then
> gives up with the message "We couldn't connect to 127.0.0.1". As
> mentioned, during this time there is a lot of activity logging visible
> from ssh and socat.
>
> Doesn't the player/server discovery protocol use UDP broadcast packets?
> If so, are the socats correctly relaying those? They seem to only be
> relaying unicast UDP data on 3483 in one direction from the player to
> the server side. Does LMS reply back using UDP 3483, or with UDP
> broadcasts? If so, we might need another 2 instances of socat to provide
> the UDP backchannel... ?
>
> The only slight difference I can see in my configuration is that I am
> running LMS on TCP port 9500 instead of 9000. Accordingly, my ssh local
> forward argument for that port is >
Code:
--------------------
> > localhost:9000:LMS-local-IP-address:9500
--------------------
> >
> Would that break anything? In any case I am not seeing any activity on
> either ports 9500 or 9000...
>
> Thanks.
Hi,
I'm no expert at this stuff, just a slightly persistent bodger. I also
haven't tried this again since earlier this year. So I've only a few
comments/suggestions.
1. Can you log in to your LMS server with ssh remotely?
2. Is it possible to try running LMS on port 9000 instead, however
briefly?
3. Are you able to get Squeezeplay to play music even if the control
side isn't working (eg using a separate laptop connected as suggested in
post #1)?
4. Can you run squeezelite instead as in post #1?
To clarify my somewhat broken up scripts, the client one is:
Code:
--------------------
# To connect via ssh, socat maps 127.0.0.1 (localhost) 3483 to 34831. Then
ssh using 9000 and 3483 and 34831 to LMS.
# 34831 is used to map 3483 udp to tcp and back since ssh doesn't support udp.
# So run this, then connect browser or squeezeplay (etc) to localhost:9000
(or 127.0.0.1 for squeezeplay)
killall socat
socat -T3600 udp4-recvfrom:3483,reuseaddr,fork tcp:localhost:34831 & ssh -L
9000:LMS-ip:9000 -L 3483:LMS-ip:3483 -L 34831:lms-ip:34831 LMS-DNS
/home/me/sshsocat.sh
--------------------
Where LMS-ip is the LMS ip address on the LMS network (eg like
192.168.1.5, or whatever), LMS-DNS is my dynamic DNS address (via
mynetgear in my case), and "/home/me/sshsocat.sh" is the file location
on the LMS server of sshsocat.sh, which contains:
Code:
--------------------
killall socat
socat tcp4-listen:34831,reuseaddr,fork UDP:localhost:3483 &
--------------------
I hope that helps.
LMS 7.9.2 on VortexBox Midi box, Xubuntu 18.04, FLACs 16->24 bit,
44.1->192kbps. 2 Touchs & EDO.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz
CR603 UPnP renderers.
Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 18.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=108734
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter