Installing fun plug and a rsync daemon on a DNS-320 NAS
The rsync daemon can be enabled on the DNS-320 by using Fun_plug. This offers a faster method of performing backups than the built in SMB, FTP or AFP.
First download the fun_plug installer to your local machine.
Extract the archive and place the fun_plug
executable and fun_plug.tgz
files in to the root of the Volume_1
drive on the NAS box.
Create a new user via the NAS's web interface if needed for the rsync/ssh access.
Restart using the web interface.
Connect to the NAS via telnet:
telnet yournas
Enable SSH and rsyncd:
chmod +x /ffp/start/sshd.sh /ffp/start/rsyncd.sh
Set the password for root user:
passwd
Test ssh by connecting to the NAS with above password as root:
ssh root@yournas
Disable telnet:
chmod -x /ffp/start/telnetd.sh
Kill the current telnet process:
killall telnet
Create rsyncd config:
# more /ffp/etc/rsyncd.conf
uid = nobody
gid = nobody
max connections = 4
use chroot = yes
#Use no spaces by the "=" on the line below
pid file=/var/run/rsyncd.pid
[Backups]
path = /mnt/HD/HD_a2/Bob/rsync
comment = Backups
read only = false
uid = youruser
gid = yourgroup
Create module/share directory:
mkdir /mnt/HD/HD_a2/Bob/rsync
chown nobody: /mnt/HD/HD_a2/Bob/rsync
Start rsyncd:
/ffp/start/rsyncd.sh start
Test rsyncd config by listing available shares on the NAS from your local machine:
rsync yournas::
Last updated: 23/11/2017