Install Resilio/Bittorrent Sync on a WD Wireless Passport Pro
by CHPI recently purchased the new Western Digital Wireless Passport Pro and wanted to sync the photos with my NAS.
I decided to use Resilio aka Bittorrent Sync aka Btsync for the syncing.
- First enable SSH on your WD Passport Pro.
- Then SSH into the device.
mkdir /DataVolume/resilio
cd /DataVolume/resilio
- Download the latest version of Resilio Sync for ARMHF:
wget https://download-cdn.resilio.com/stable/linux-armhf/resilio-sync_armhf.tar.gz
tar -zxvf resilio-sync_armhf.tar.gz
rm resilio-sync_armhf.tar.gz
- Create a default config file.
./rslsync --dump-sample-config > /DataVolume/resilio/btsync.conf
- Then start Resilio and configure through your web browser.
./rslsync --webui.listen 0.0.0.0:8888
And that’s it. Resilio Sync starts and is happily syncing away!
Update:
If you want Resilio to autostart when your WD Passport starts, follow the instructions at HackViking but with a few changes.
- For some reason the
/etc/init.d/btsync
script doesn’t autostart on its own. - Since I have Plex Media Server autostarting already, I edited:
nano /etc/init.d/S80plexmediaserver
- I added
/DataVolume/resilio/rslsync--config /DataVolume/resilio/btsync.conf
to thestartme()
block. - And added
killall rslsync
to thestopme()
block.
Now as long as Plex Media Server starts, then Resilio will start when you turn on your device. A bit hacky, but it works.