Jean

Thanks for your great write up starting this thread. I thankfully used
your directions and compiled rsync to attempt to do the same: using
Rsync to update the files on the Touch

You mentioned that you never got the rsync daemon to use its
congifurations settings file rsyncd.conf

I figured out why: you were using the commandine using the notation:
root@ipaddress:'sda1/Music'
After digging in the rsync documentation I found out that this form
actually does not talk to the rsync daemon but sets up a ssh link to the
ssh running on the iTouch.
I figured out that if you when you use the notation:
root@ipaddress::Music it actually does use the rsyncd.conf file and
actually talks to the daemon,
I subsequently changed the rsyncd.conf file from your version to what
you see below.
Now you can actually also see log entries in the log file, and it works
like a charm.

Ok it's 2013, so one might think, duhh, still playing with that ol'
thing. But actually I have 4 SB players in my house and my daughter that
recently left the house said: dad I want to be able to use all the music
we have in the house. I bought a second hand iTouch, and can now sync
over a VPN that my daugther sets up from her dorm to our house. Works
really nice!

Again, thanks for all your work. Hope this can help some others goofing
around still with the Touch.

By the way: I also had this problem with the timezone, but I 'fixed'
that by letting the iTouch also do the initial loading up of the music
through this solution of yours. Then the time zone difference is not
there.

This is my rsync script on my daughters Mac:

./rsync_Mac/rsync --log-file=log --modify-window=5 -rtvO --delete
--progress --stats -i '/Volumes/ghosts/Muziek_NT/'
root@192.168.3.158::Music

This is the secrets file on the iTouch:

root:1234

This is the rsync.conf file on the iTouch (placed in /etc)


# /etc/rsyncd.conf

# Minimal configuration file for rsync daemon
# See rsync(1) and rsyncd.conf(5) man pages for help

# This file is required by rsync --daemon

uid = root
gid = root
incoming chmod = ugo=rwx
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
hosts allow = *
secrets file = /usr/bin/rsync.secrets

[Music]

path = /root/sda1/Music/
use chroot = no
max connections = 1
auth users = root
read only = no


------------------------------------------------------------------------
Luos3m's Profile: http://forums.slimdevices.com/member.php?userid=59795
View this thread: http://forums.slimdevices.com/showthread.php?t=81755

_______________________________________________
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to