NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bishoptf
Feb 12, 2012Aspirant
Crashplan for Dummies, aka Step by Step :)
I have just went through this and have seen several folks post that they wish there was an all inclusive guide, I just bought a Pro 2 and so far I am pleased with what I see under the hood (looks like debian to me, kernel 2.6.37) I'm a *nix guy so I thought I would try to make an all inclusive step-by-step to help anyone that might want to try and install crashplan. So here goes, the normal warning goes here - There are no warranties implied or otherwise, DO THIS AT YOUR OWN RISK! If you find any thing that needs to be updated or doesn't make sense please post and let me know...
I am not the only one to post how to do this see here - http://www.readynas.com/forum/viewtopic.php?f=61&t=18139&start=15#p297737
and here http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
Steps for x86 ReadyNas Only:
Old way,still works but uses java 6, which is out of date:
Updated JAVA install, credit goes to InterClaw :)
The full instructions can be found here - http://minimserver.com/ejre-installer.html I will try to list just the steps for x86 ReadyNas:
1. Go to Oracle and down load the latest embeeded java version l@@k for this version - x86 Linux Small Footprint – Headless - http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html
*Note you will have to accept Oracles Terms and Conditions and create an account to download the file
2. Download file and copy the java file to /c/backup/ on your ReadyNas
3. Download the EJRE Readynas Addon see the link above for the full instructions, the addon can be found here - http://minimserver.com/downloads/EJREInstaller-0.10-readynas-x86.bin
4. Install EJRE Addon and this will install the java version that you placed in /c/backup/
5. Verify that java is working, time to jump to the command line to finish the installation. Install the Enable Root SSH addon - http://www.readynas.com/download/addons/x86/4.2/EnableRootSSH_1.0-x86.bin Complete installation by rebooting your readynas.
6. You will need to get a ssh client for your desktop/laptop, here is one for winblows (putty) - http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe, nothing to install, just download and place on your desktop or somewhere you can find it.
7. Open putty and SSH into your readynas, enter the IP address and when it prompts for username enter "root" and then your normal raidar/frontpage "password". Once logged in verify java operation by entering the following :
8. Now we can install Crashplan.
- Download the latest linux crashplan version
enter "wget the latest version that is listed on crashplan for linux, see below"
Here is the main download page, just make sure you get the latest version -
http://www.crashplan.com/consumer/download.html?os=Linux, this will download andplace this in your
root directory.
9. Once the diownload has completed lets extract the files which are tarred and zipped.
enter "tar -xvf CrashPlan_3.0.3_Linux.tgz" or whichever version you downloaded, this will extract all of the files
and place them in a folder called "CrashPlan-install".
enter "cd "CrashPlan-install" and then run the installer, enter "./install.sh", this will start the installer
ask for you to accept the terms and conditions and ask questions where to install etc..You can accept the defaults
for most, however when it prompts you for the default crashplan backup directory, you can go with the default or
provide a directory that you have already established for that purpose, e.g., "/crash-backup" whatever your share
that you created without any slashes, this actual is a pointer to "crash-backup -> /c/crashplan-backup"
Here are the questions, most you accept the defaults, in this case I chose to specify a different Directory -
Do you accept and agree to be bound by the EULA? (yes/no) yes
What directory do you wish to install CrashPlan to? [/usr/local/crashplan]
What directory do you wish to link the CrashPlan executable to? [/usr/local/bin]
What directory do you wish to store backups in? [/usr/local/var/crashplan] /crash-backup
What directory contains your SYSV init scripts? [/etc/init.d]
What directory contains your runlevel init links? [/etc/rc2.d]
Your selections:
CrashPlan will install to: /usr/local/crashplan
And put links to binaries in: /usr/local/bin
And store datas in: /crash-backup
Your init.d dir is: /etc/init.d
Your current runlevel directory is: /etc/rc2.d
Is this correct? (y/n) [y] y
10. Configure crashplan on the readynas, in order to do this you need to download and install crashplan on a local PC,
using linux, winblows or Mac - http://www.crashplan.com/consumer/download.html once that has been
done we need to tunnel from the PC to the readynas, the already have this detailed on the crashplan site
called a headless install - http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
*Note while configuring the Crashplan client -the client will show your shares twice - as links (with an arrow as part of the icon)
and under the "C" folder. It won't back up the links, you need to select the folders under the "C" folder. If you try the other way, the
backup "succeeds", but doesn't back anything up. Thanks to StephenB for this update!
Once the configuration is complete you should be good to go.. :)
I'm sure I have left something out or not fully explained something, if so let me knoiw and I will update the posting..
Good Luck :)
I am not the only one to post how to do this see here - http://www.readynas.com/forum/viewtopic.php?f=61&t=18139&start=15#p297737
and here http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
Steps for x86 ReadyNas Only:
Old way,still works but uses java 6, which is out of date:
1. See Step one below
2. See Step two below
3. See Step three below
4. Once logged onto your readynas as "root" your ready to get the the software setup. Keep in mind that when you are running as root, you have elevated priviliges and you can do anything you want, including messing things up, so go slow and take your time :)
- First thing we need to do is edit the sources.list, we are going to use vi which is not a friendly editor
but is installed on any base *nix system and in this case will get the job done. Lets edit the file, at
the prompt - vi /etc/apt/sources.list, arrow down to the last line and then arrow over to the
last letter and hit the "a" button for append and then hit "enter" to get a new line and then paste
"deb http://archive.debian.org/debian-backports etch-backports main non-free" .
- To get out of vi and save the file "shift:" will get you the colon prompt at the bottom, then to save
and exit enter "x", if you made a mistake and you do not want to save your work at the colon enter "q!"
and that will quit without saving any changes. Once you exit and save your sources list should look
like this, "more /etc/apt/sources.list" -
deb http://www.readynas.com/packages 4.2.19/
deb http://archive.debian.org/debian etch main
deb http://archive.debian.org/debian-backports etch-backports main non-free
5. Now we need to update our package list and install Java.
- enter "apt-get update"
- Now we need to modify configuration dialog selection so we can accept the java Terms and conditions.
- enter "dpkg-reconfigure debconf"
This will ask you to select a dialong frontend, select option 1 - Dialog, then it will ask you for
the level, select option 3 - Medium.
- Now lets install java, enter "apt-get install sun-java6-jre", it will download the package and start to
install it where it will ask for you to accept the terms and conditions, select yes and complete the
installation.
- Modify the deb configuration and change it back, enter "dpkg-reconfigure debconf"
This will ask you to select a dialong frontend, select option 6 - Noninteractive, then it will
ask you for the level, select option 3 - Medium (not sure if this was the default).
Updated JAVA install, credit goes to InterClaw :)
The full instructions can be found here - http://minimserver.com/ejre-installer.html I will try to list just the steps for x86 ReadyNas:
1. Go to Oracle and down load the latest embeeded java version l@@k for this version - x86 Linux Small Footprint – Headless - http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html
*Note you will have to accept Oracles Terms and Conditions and create an account to download the file
2. Download file and copy the java file to /c/backup/ on your ReadyNas
3. Download the EJRE Readynas Addon see the link above for the full instructions, the addon can be found here - http://minimserver.com/downloads/EJREInstaller-0.10-readynas-x86.bin
4. Install EJRE Addon and this will install the java version that you placed in /c/backup/
5. Verify that java is working, time to jump to the command line to finish the installation. Install the Enable Root SSH addon - http://www.readynas.com/download/addons/x86/4.2/EnableRootSSH_1.0-x86.bin Complete installation by rebooting your readynas.
6. You will need to get a ssh client for your desktop/laptop, here is one for winblows (putty) - http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe, nothing to install, just download and place on your desktop or somewhere you can find it.
7. Open putty and SSH into your readynas, enter the IP address and when it prompts for username enter "root" and then your normal raidar/frontpage "password". Once logged in verify java operation by entering the following :
java -version
8. Now we can install Crashplan.
- Download the latest linux crashplan version
enter "wget the latest version that is listed on crashplan for linux, see below"
Here is the main download page, just make sure you get the latest version -
http://www.crashplan.com/consumer/download.html?os=Linux, this will download andplace this in your
root directory.
9. Once the diownload has completed lets extract the files which are tarred and zipped.
enter "tar -xvf CrashPlan_3.0.3_Linux.tgz" or whichever version you downloaded, this will extract all of the files
and place them in a folder called "CrashPlan-install".
enter "cd "CrashPlan-install" and then run the installer, enter "./install.sh", this will start the installer
ask for you to accept the terms and conditions and ask questions where to install etc..You can accept the defaults
for most, however when it prompts you for the default crashplan backup directory, you can go with the default or
provide a directory that you have already established for that purpose, e.g., "/crash-backup" whatever your share
that you created without any slashes, this actual is a pointer to "crash-backup -> /c/crashplan-backup"
Here are the questions, most you accept the defaults, in this case I chose to specify a different Directory -
Do you accept and agree to be bound by the EULA? (yes/no) yes
What directory do you wish to install CrashPlan to? [/usr/local/crashplan]
What directory do you wish to link the CrashPlan executable to? [/usr/local/bin]
What directory do you wish to store backups in? [/usr/local/var/crashplan] /crash-backup
What directory contains your SYSV init scripts? [/etc/init.d]
What directory contains your runlevel init links? [/etc/rc2.d]
Your selections:
CrashPlan will install to: /usr/local/crashplan
And put links to binaries in: /usr/local/bin
And store datas in: /crash-backup
Your init.d dir is: /etc/init.d
Your current runlevel directory is: /etc/rc2.d
Is this correct? (y/n) [y] y
10. Configure crashplan on the readynas, in order to do this you need to download and install crashplan on a local PC,
using linux, winblows or Mac - http://www.crashplan.com/consumer/download.html once that has been
done we need to tunnel from the PC to the readynas, the already have this detailed on the crashplan site
called a headless install - http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
*Note while configuring the Crashplan client -the client will show your shares twice - as links (with an arrow as part of the icon)
and under the "C" folder. It won't back up the links, you need to select the folders under the "C" folder. If you try the other way, the
backup "succeeds", but doesn't back anything up. Thanks to StephenB for this update!
Once the configuration is complete you should be good to go.. :)
I'm sure I have left something out or not fully explained something, if so let me knoiw and I will update the posting..
Good Luck :)
306 Replies
Replies have been turned off for this discussion
- jamminontoastAspirantThanks StephenB,
I rebooted the NAS and it got rid of the rule (didn't quite think of that).
This also brings another issue: of why didn't this rule got saved; if rebooted next time - i'd have to go through the process again?
I entered the command again as per CrashPlan and have exactly the same result as previously?NAS:~# ssh -f -L 4200:localhost:4243 root@192.168.118.17 -N
root@192.168.118.17's password:
SmellyNAS:~# netstat -na | grep LISTEN | grep 42
tcp 0 0 127.0.0.1:4200 0.0.0.0:* LISTEN
tcp6 0 0 ::1:4200 :::* LISTEN
unix 2 [ ACC ] STREAM LISTENING 4206 /var/run/dbus/system_bus_socket
I am using OSX - having a hell of a time trying to install putty - jamminontoastAspirant
StephenB wrote: Another approach is to forward 4200 on the PC to 4243. On a PC this is done in the putty configuration.
So i used VMWare and fired up Windows and used Putty.
In the SSH > Tunnels> Added
Source port: 4200
Destination: localhost:4243
> Clicked Add
On the forwarded ports text box it showed:
'L4200 localhost:4243'
http://imgur.com/G842oqU
Then i clicked open and logged in normally.
I ran the 'netstat -na | grep LISTEN | grep 4' into the putty session again and no output showing port forwarded to 4243!!
In the Putty session i tried switch the local host to
i) my ip
Ii) the hostname
And each time i run the netstat command it doesn't show any port forwarded?
Should it show the port forwarded at all?
If i use the linux command as per CrashPlan - i seem to be the only doofus that shows a port 4200 instead of 4243 inthe netstat command output. Ugh! Hope this is clear to the geniuses out there! - StephenBGuru - Experienced User
jamminontoast wrote:
In the SSH > Tunnels> Added
Source port: 4200
Destination: localhost:4243
> Clicked Add
On the forwarded ports text box it showed:
'L4200 localhost:4243'
http://imgur.com/G842oqU
Then i clicked open and logged in normally.
At this point if you right click on the putty title bar and select event log you should also seeLocal port 4200 forwarding to localhost:4243
The local port is on the Windows PC, the localhost:4243 is on the linux system (the NAS).
This is not precisely a forwarded port, rather it is a tunneled connection. So it will not show up as a forwarded port in your netstat command. There are ways to see all open ssh tunnels, but the ones I see when googling all use lsof, which is not a command in the ultra.
Did you try launching crashplan on the client PC and see if it connects to the crashplan server when putty is launched/logged in? - jamminontoastAspirant
StephenB wrote:
Did you try launching crashplan on the client PC and see if it connects to the crashplan server when putty is launched/logged in?
Thanks for the tip re: not showing the ports forwarding when setting Putty
So i followed your instructions...
Using OSX, launch Putty and setting the port forwarding i can see it in the logs
2014-11-04 10:11:58 Initialised AES-256 SDCTR client->server encryption
2014-11-04 10:11:58 Initialised HMAC-SHA1 client->server MAC algorithm
2014-11-04 10:11:58 Initialised AES-256 SDCTR server->client encryption
2014-11-04 10:11:58 Initialised HMAC-SHA1 server->client MAC algorithm
2014-11-04 10:12:04 Sent password
2014-11-04 10:12:04 Access granted
2014-11-04 10:12:04 Opening session as main channel
2014-11-04 10:12:04 Opened main channel
2014-11-04 10:12:04 Local port 4200 forwarding to localhost:4243
2014-11-04 10:12:04 Allocated pty (ospeed 38400bps, ispeed 38400bps)
2014-11-04 10:12:04 Started a shell/command
Launching CrashPlan on PC - Says 'Unable to connect to backup engine'.
>>I'd assume this is probably NOT correct as the port *should* be forwarded?
- From here: if i run the linux command to port forward in putty... The netstat command still shows only 4200 and not 4243. And If i launch CrashPlan on PC - still says 'unable to connect to backup engine'.
Note: I used my NAS's IP or 'localhost' at timesSmellyNAS:~# ssh -L 4200:192.168.118.17:4243 root@192.168.118.17
root@192.168.118.17's password:
Last login: Tue Nov 4 10:46:32 2014 from 192.168.118.138
Last login: Tue Nov 4 10:47:28 2014 from smellynas on pts/2
Linux SmellyNAS 2.6.37.6.RNx86_64.2.4 #1 SMP Wed Aug 20 11:41:34 PDT 2014 x86_64 GNU/Linux
SmellyNAS:~# netstat -na | grep LISTEN | grep 4
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN
tcp 0 0 5.171.174.232:6887 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:4200 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:945 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:4700 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN
tcp6 0 0 :::548 :::* LISTEN
tcp6 0 0 ::1:4200 :::* LISTEN
tcp6 0 0 :::443 :::* LISTEN
unix 2 [ ACC ] STREAM LISTENING 7345 /var/run/avahi-daemon/socket
unix 2 [ ACC ] STREAM LISTENING 7474 /var/run/mysqld/mysqld.sock
From here if i launch up CrashPlan it still fails.. I am assuming this is correct as it seems on the NAS that that particular command is not quite correct (or at least on my NAS where it has inverted the ports!)
- I wouldn't have a clue why the command is not fowarding...
So what are my options here?
- i have Ultra 6 and can't move data anywhere as there is too much! - StephenBGuru - Experienced UserThe problem is that the NAS is listening on 4200 and it should be listening on 4243. I'm not sure how you did that though.
- jamminontoastAspirant
StephenB wrote: The problem is that the NAS is listening on 4200 and it should be listening on 4243. I'm not sure how you did that though.
Yes.. And neither do i as i 'seem' to be typing the same command as everybody else.... :cry:
I'd hate to do a factory reset and try to start over.. Will this delete all my data? - StephenBGuru - Experienced UserA factory reset will destroy your data.
- jamminontoastAspirantNuts!!! *sigh* 2nd time i've tried to do crashplan over a span of a year... May have to think about how i am going to do a reset.. Ugh.
Thanks for the help anyways Stephen.. One question i did have.. Why is it everytime you reset the rules disappear? Should they not be static? That means if your NAS turns off for any reason you'll need to 'port forward' again?
Or is this just because of my screwy configuration on my particular nas for some reason? - StephenBGuru - Experienced UserThere is no need to set up any forwarding rules on the NAS for crashplan. All that was needed is to set up putty properly, and to launch putty/log into the NAS before you launch the client on the PC.
- oshaeTutorI installed the latest CrashPlan on my ReadyNAS Pro 6 on 6.2 firmware.
During setup I chose the defaults, so for run level init links I chose /etc/rc5.d
When I reboot the NAS, CrashPlan does not seem to be starting up and I have to login and start it manually. I uninstalled and reinstalled it as well just in case. Anyone run into this?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!