Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 6235

Can I copy server.prefs from one machine to another? (No connection with firewall)

$
0
0
I have two Raspberries with Raspbian on them and copied the
Code:

/var/lib/squeezeboxserver/prefs/server.prefs
from one machine to the other.

I have uncomplicated firewall activated. It is on both like this:

Code:

$ sudo ufw status
Status: active

To                        Action      From
--                        ------      ----
22/tcp                    LIMIT      Anywhere                 
22                        ALLOW      192.168.100.0/24         
90                        ALLOW      192.168.100.0/24         
31337                      ALLOW      192.168.100.0/24         
3438                      ALLOW      192.168.100.0/24         
9000                      ALLOW      192.168.100.0/24         
9090                      ALLOW      192.168.100.0/24         
445                        ALLOW      192.168.100.0/24         
8200                      ALLOW      192.168.100.0/24         
1900                      ALLOW      192.168.100.0/24         
22/tcp (v6)                LIMIT      Anywhere (v6)

A few days ago I changed my hostname. Yesterday I rebooted both machines. They also run bitcoin, minidlna and cifs and it all works. Both hostnames look like this (RPi2 for the other machine).

Code:

$ cat /etc/hosts
127.0.0.1        localhost
::1                localhost ip6-localhost ip6-loopback
ff02::1                ip6-allnodes
ff02::2                ip6-allrouters

127.0.1.1        RPi3
~ - 08:22:33 - pi - RPi3@192.168.100.169 Tue Sep 10
 $ cat /etc/hostname
RPi3

My squeezeboxes can access the old server but they can not access the new server unless I deactivate the firewall. I don't understand this behaviour. First, I thought it might be related to the firewall setting up its rules with hostnames. I was under the impression that deleting the rule and setting it up newly was helping. But today I again have the same problem. My squeezebox does not connect.

I can connect via the GUI, but it then of course shows no entry for the boxes.

Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>