Hello all,
I thought there might be others who would be interested in how to get BTsync on their My Cloud. Personally, I have very very little experience with SHH or Linux, as a result it took me a dreadfully long time to find posts with instructions that I could understand, and all the information I did find was on separate web pages and wasn’t tailored to the My Cloud.
So, I thought I’d put a little tutorial together with the intention of helping other users who know very little about Linux or SHH etc etc. I’d like to make you aware that I am unsure of WD’s stance on doing this and your warranty, I would imagine it would void your warranty, and whilst this worked for me I can’t be held responsible if you mess it up or it doesn’t work for you.
Tampering could BRICK your system and VOID your warranty, if you understand the risks, and accept them, lets continue!
1). Firstly you will need to download Bittorrent Sync, specifically the ARM variant.
http://www.bittorrent.com/sync/downloads/complete/os/arm
2). Once downloaded, you will need to access your My Cloud and extract the file you just downloaded (should be called btsync_arm.taz.gz) into your ‘Public’ folder. Realistically, you could place this elsewhere, but as a novice user I would suggest keeping it in public, as if it isn’t this tutorial won’t work for you.
3). Now you will need to log into your router using your web browser to enable something called SHH. I get to mine using http://192.168.0.5 This may be different for you, apparently you should be able to get to it by using http://wdmycloud/ sadly I can’t. Once there goto settings → Network → enable SHH (should be a slide box you can click)
4). Download something called Putty to your computer.
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
5). Open and enter the IP to your My Cloud, mine was 192.168.0.5
6). username: root
Password welc0me
^^ yes that is a zero, in welcome not a letter
7). Now you’re in, type
cd …
press enter.
8). next type
chmod +x /shares/Public/btsync
press enter
9). next type
/shares/Public/./btsync
press enter.
10). It is installed and should be working. To get to BTsync its your routers IP:8888
so mine is 168.192.0.5:8888
Sadly, if your Mycloud powers down, BTsync wont automatically restart unless you go back in using Putty and writing
cd…
enter
/shares/Public/./btsync
If you would like an install script so BTsync automatically restart, keep reading. This works perfectly for me.
1). Close Putty.exe, then start putty.exe again and re login using the same information we used at the top of the page (User: root Password: welc0me ).
then type
sudo nano /etc/init.d/btsync
enter
2). Then copy the bold text below, and when you right click in putty, it should automatically paste it in.
#! /bin/sh
# /etc/init.d/btsync
#
# Carry out specific functions when asked to by the system
case “$1” in
start)
/shares/Public/btsync
;;
stop)
killall btsync
;;
*)
echo “Usage: /etc/init.d/btsync {start|stop}”
exit 1
;;
esac
exit 0
3). Aslong as you originally extracted the btsync_amd.tar.gz into the public folder, the above script should work perfectly, if you extracted elsewhere, will need to change the section in bold and italic.
4). To save your changes, you need to press CTRL and x (at the same time) and then press ‘y’ to save your changes.
5). Next type
sudo chmod 755 /etc/init.d/btsync
enter.
6). next type
sudo /etc/init.d/btsync start
enter.
7). Then type;
sudo /etc/init.d/btsync stop
enter.
8). Finally type
sudo update-rc.d btsync defaults
enter.
You’re all done :). I’d log back into your Dashboard and disable SHH untill you personally need it again.
As mentioned, I found this information from different sources and tweaked it slightly to suit our cause and then put it together in one place. The original information can be found;
http://forum.bittorrent.com/topic/17214-help-installing-bt-sync-on-wd-mybook-live/