With the help of bpa and BosseJ, we have now the following *3 solutions
for the Squeezeplay connection problem* on Linux.
The solutions assume that you use Ubuntu / Lubuntu / Xubuntu with the
ufw firewall:
---------------------------------------------------------------------------------
SOLUTION 1: DISABLE LINUX FIREWALL
> sudo ufw disable
This solves the connection problem, but compromises the security of your
Linux system.
For this reason it is better to use method 2 or method 3
SOLUTION 2: ENTER IP ADDRESS OF LMS SERVER MANUALLY IN SQUEEZEPLAY
After initial install of Sqeezeplay, you temporarily need to disable the
firewall, otherwise the Squeezeplay settings menu will not be availabe:
> sudo ufw disable
Then start Squeezeplay, and manually enter the IP address of the LMS
server on your home network:
Squeezeplay >Settings > Advanced > Networking > Remote Libraries > Add
New Library => Enter IP address
After you have tested that Squeezeplay can connect to the LMS server,
you can enable the firewall again:
> sudo ufw enable
SOLUTION 3: DEFINE AN APPLICATION BASED RULE FOR SQUEEZEPLAY IN LINUX
FIREWALL
Open an xterminal in folder /etc/ufw/applications.d
Create a text file called jive (replace leafpad with the text editor
that you use):
> sudo leafpad jive
Copy the following text to text file jive:
Code:
--------------------
[jive]
title=Squeezeplay
description=SqueezePlay is a Logitech Media Server software player that can
play music and internet radio streams on your personal computer.
ports=1024:65535/udp
--------------------
The application rule allows Squeezeplay to receive udp packets on any
port between 1024 and 65535
Save the text file, and load the application rule that you just created
in the firewall:
> sudo ufw app update jive
> sudo ufw allow jive
Now start Squeezeplay, and check that it can connect to the LMS server.
*Closing notes*:
Advantage of method 3 over method 2 is that Squeezeplay will
automatically detect the LMS server on the network. So no problem when
the IP adress of the LMS server is changed.
After defining the application rule for Squeezeplay (=jive) in ufw,
"sudo ufw status verbose" shows the following:
Code:
--------------------
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
-- ------ ----
1024:65535/udp (jive) ALLOW IN Anywhere
1024:65535/udp (jive (v6)) ALLOW IN Anywhere (v6)
--------------------
A screenshot of Squeezeplay running on my Lubuntu system is shown
below.
26164
Regards,
CJS
+-------------------------------------------------------------------+
|Filename: Squeezeplay_screenshot.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=26164|
+-------------------------------------------------------------------+
------------------------------------------------------------------------
CJS's Profile: http://forums.slimdevices.com/member.php?userid=68700
View this thread: http://forums.slimdevices.com/showthread.php?t=109829
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix