NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

milks's avatar
milks
Tutor
Aug 04, 2013

Remot rsync setup: Error connecting to ...

Hi


I have a Raspberry Pi with a mounted USB HDD which I would like to act as a remote backup for my ReadyNas Ultra. I have an rsync daemon running on the RPi but no matter what I try I cannot get the readynas to connect in frontview.

These are my current settings:

Host: 192.168.0.170
Path: mnt/usb_hdd
Login: <user> Password: <p/word>

<no checkboxes checked beneath>

When I click 'Test connection' I get the error: 'Error connecting to 192.168.0.170'

For some time I thought I hadn't configured rsync correctly on the Pi, however if I ssh into my readynas I can successfully rsync with the following:

rsync -avh test pi@192.168.0.170:/mnt/usb_hdd

I do get an error 'Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(122)' if I use a double colon in the command (not sure what this is doing differently): rsync -avh *.sh pi@192.168.0.170::mnt/usb_hdd


any ideas?
thanks

2 Replies

  • FYI I ended up abandoning the frontview setup and just had the remote backup mount my readynas shares and rsync those from a cron job
  • milks wrote:
    rsync -avh test pi@192.168.0.170:/mnt/usb_hdd

    I do get an error 'Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(122)' if I use a double colon in the command (not sure what this is doing differently): rsync -avh *.sh pi@192.168.0.170::mnt/usb_hdd


    The double colon means to connect via rsync deamon. A single colon will use a remote shell. Thus, there seems to be no rsyncd running on your RPi. Or, there it listens to the wrong ip address or wrong port or the port is blocked by a firewall. You could use "netstat -tlpen" on the RPi to check whether there is a rsyncd listening on the local address 0.0.0.0:873.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More