DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2013-05-28 13:35:04

tiago.trindade
Member
Registered: 2012-09-25
Posts: 8

Tutorial: Crashplan on DNS-320

Hello,

I am a Crashplan user (Crashplan+ plan) for a long time and since I have a DNS-320 on my living room I though it you be useful to use it to backup all the media in it (instead of using my laptop to do it). I would safe power and stopped worrying about leaving the laptop on to finish the backups.

I am not an expert on Linux, so this tutorial is a list of steps/commands I gather from different webpages that allowed me to install and run the Crashplan on my DNS-320.

I already had both Couchpotato, Sickbeard and Transmission installed and running on my DNS-320. Installing Crashplan will have an impact on the DNS-320 performance regarding this other services. Did not notice a major performance decrease in the daily usage as a network drive.


» Requirements
- Debian Squeeze installed on the DNS-320
- SSH client on the laptop/computer you use to configure DNS-320
- Crashplan installed on the laptop/computer


» 1. Install Debian Squeeze on DNS-320
(more info here: http://www.nasdestruction.com/tutorial- … 20-dns-325 )

Code:

ftp://ftp.dlink.pl/dns/dns-320/driver_software/DNS-320&325_linuxDebian_revA_Squeeze_all_en_20110111.zip
cd /mnt/HD/HD_a2
gunzip squeeze.tar.gz
tar -xf squeeze.tar
reboot -f
apt-get update
apt-get upgrade

» 2. Install Java on DNS-320

Code:

apt-get install openjdk-6-jre libjna-java

» 3. Download modified Crashplan files to work on an ARM machine (DNS-320, Rasperry Pi, etc.)
(more info here: http://www.jonrogers.co.uk/2012/05/cras … pberry-pi/ )

Code:

wget http://www.opticality.com/blog/wp-content/uploads/files/libjtux.so
wget http://www.jonrogers.co.uk/wp-content/uploads/2012/05/libmd5.so

» 4. Install Crashplan and copy the files we download to the Crashplan folder.

Code:

wget http://download.crashplan.com/installs/linux/install/CrashPlan/CrashPlan_3.5.3_Linux.tgz
 tar -xf CrashPlan_3.5.3_Linux.tgz
cd CrashPlan-install/
./install.sh

cd /usr/local/crashplan
mv libjtux.so libjtux.so-ORIGINAL
cp ~/libjtux.so .
mv libmd5.so libmd5.so-ORIGINAL
cp ~/libmd5.so .

» 5. Change Crashplan configuration to be able to be configured from any IP
(more info here: http://www.schwer.us/journal/2011/04/29 … n-desktop/)

Code:

nano /usr/local/crashplan/conf/my.service.xml

(find servicehost and change it to 0.0.0.0)



» 6. Change desktop/laptop configuration to be able to connect to the DNS-320 Crashplan engine
(more info here: http://www.schwer.us/journal/2011/04/29 … n-desktop/)

Edit C:\Program Files\CrashPlan\conf\ui.properties file and and change this line:

#serviceHost=127.0.0.1
to:
serviceHost=10.0.0.5

where “10.0.0.5″ is the IP address of the DNS-320.



» 7. Execute/Start Crashplan engine on DSN-320

Code:

/usr/local/crashplan/bin/CrashPlanEngine start

» 8. Check if Crashplan is running
(more info here: http://support.crashplan.com/doku.php/h … 5D%3Dlinux)

Code:

netstat -na | grep LISTEN | grep 42

(you should see two lines after execution the command. It take some minutes from starting the Crashplan Engine, so run this command after a few minutes you started the engine)



» 9. Change the Crashplan DNS-320 configuration
(more info here: http://support.crashplan.com/doku.php/h … 5D%3Dlinux)

Open the Crashplan program on your PC/laptop and configure it like you would in your PC. Then check the backup progression on it too.


» 10. If you have two hard drives on the DNS-320 and want to backup both of them you have to mount the other one. For me this command worked.

Code:

mkdir /HD2
mount /dev/sdb2 /HD2

And that's it!! smile


If you have any doubts please read the Sources bellow.


Sources:
http://www.nasdestruction.com/tutorial- … 0-dns-325/
http://www.schwer.us/journal/2011/04/29 … n-desktop/
http://www.bionoren.com/blog/2013/02/ra … crashplan/
http://www.jonrogers.co.uk/2012/05/cras … pberry-pi/
http://support.crashplan.com/doku.php/h … 5D%3Dlinux

Last edited by tiago.trindade (2013-05-28 13:39:44)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB