Bittorrent Sync on NAS

That's how it works on a Synology Diskstation DS 107e:

Download the right executable from http://labs.bittorrent.com/experiments/sync/other-download.html

Extract it

Login on your NAS as root

Now the heavy part starts: The old diskstation does not support GLIBC 2.4, it only has 2.3

Massive workaround: Install a more modern Linux version and CHROOT into it..

Here the instructions, basically taken from http://www.hera.cc/2010/11/installer-java-sur-nas-synology-ds210/

Download the complete new linux distribution archive from http://www.hera.cc/wp-content/plugins/download-monitor/download.php?id=1

If you don't have the right processor, you would have to go through the valey of tears and create (bootstrap) the right debian version first (http://forum.synology.com/enu/viewtopic.php?f=3&t=18644&start=45#p148853)

after having the debian archive:

mkdir -p /volume1/@debian cp chrootgnuspe_OpenJDKPublic.tgz /volume1/@debian cd /volume1/@debian tar xzvf chrootgnuspe_OpenJDKPublic.tgz mkdir -p /opt/debian

create 2 new scripts in /opt/bin:

#!/bin/ash mount -o bind /volume1/@debian /opt/debian mount -o bind /dev /opt/debian/chrootgnuspe/dev mount -o bind /proc /opt/debian/chrootgnuspe/proc chroot /opt/debian/chrootgnuspe /bin/bash
#!/bin/ash chroot /opt/debian/chrootgnuspe /bin/bash

(More info about the distro can be found at https://wiki.debian.org/PowerPCSPEPort)

The problem is simple: Debian moves their releases when they are old to http://archive.debian.org/ and that is where you need to point your debootstrap to.

debootstrap <…> lenny /root/lenny http://archive.debian.org/debian

main # cd / main # mkdir /lenny-chroot main # debootstrap lenny ./lenny-chroot http://ftp.us.debian.org/debian