<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CE8ASX89fyp7ImA9WhBSGE4.&quot;"><id>tag:blogger.com,1999:blog-552736630635455340</id><updated>2013-02-25T23:54:08.167+01:00</updated><title>Kenneth Larsens blog</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://kennethlarsendk.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://kennethlarsendk.blogspot.com/" /><author><name>Kenneth Larsen</name><uri>http://www.blogger.com/profile/00564887939526959858</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/KennethLarsensBlog" /><feedburner:info uri="kennethlarsensblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;D0YHQH8-eip7ImA9WhZVEU4.&quot;"><id>tag:blogger.com,1999:blog-552736630635455340.post-7087575718265688424</id><published>2011-03-19T20:43:00.007+01:00</published><updated>2011-05-23T09:18:51.152+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-23T09:18:51.152+02:00</app:edited><title>HOW-TO: Using crashplan with Synology NAS</title><content type="html">&lt;style type="text/css"&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px}
span.s1 {text-decoration: underline ; color: #3902ee}
&lt;/style&gt;   &lt;br /&gt;
&lt;div class="p1"&gt;&lt;/div&gt;&lt;div&gt;This guide is intended for Atom based Synology NAS boxes. In the comments section you will find comments from users who has attempted to get it working on an ARM based as well. It appears that Java / JVM is the core issue, but it should be possible to get it working at ARM based NAS boxes as well.&lt;/div&gt;&lt;div&gt;The guide has been written based on a DS710+ and with DSM 3.1 and Linux headless client version 3.0.3. If you are using another version of the headless client line numbers may differ.... I have also tried it out on top of a DS1411+ DiskStation without any problems.&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Download the latest release of the Linux Crashplan Client from Crashplan website along with the client for your operating system if you use another operating system then Linux&lt;/li&gt;
&lt;li&gt;Upload the Linux client to the NAS and login to your NAS as root using SSH. Default password is synopass or the same password as your admin account. (if you are using windows you should download PuTTY or another SSH client for this)&lt;/li&gt;
&lt;li&gt;You will need to install a few extra packages at your NAS from the command line:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;ipkg update&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt; ipkg install nano&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt; ipkg install cpio&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt; ipkg install bash&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt; ipkg install coreutils&lt;/span&gt;&lt;br /&gt;
You need to installe ipkg in order to do so. If haven't done so already you can follow this guide:&lt;br /&gt;
&lt;a href="http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#What_is_a_Synology_Server"&gt;http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#What_is_a_Synology_Server&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Move the uploaded client package to /opt&lt;/li&gt;
&lt;li&gt;Unpack the crashplan client (tar -xvf name_of_downloaded_archive_file)&lt;/li&gt;
&lt;li&gt;Modify the install.sh script in the newly created directory to use bash as your shell. The first line in the script should be replaced with this one:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;#!/opt/bin/bash&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Install the crashplan using the options below. When asked about java allow it to be downloaded:&lt;/li&gt;
&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CrashPlan will install to: /opt/crashplan&lt;/span&gt; &lt;/span&gt;&lt;div class="p2"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;And put links to binaries in: /opt/bin&lt;/span&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;And store datas in: /opt/crashplan/manifest&lt;/span&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;Your init.d dir is: /etc/init.d&lt;/span&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;Your current runlevel directory is: /usr/syno/etc/rc.d&lt;/span&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;/div&gt;&lt;li&gt;Modify the installed crashplan client configuration:&lt;br /&gt;
Modify the /opt/crashplan/bin/run.conf by adding&amp;nbsp; &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-Djava.net.preferIPv4Stack=true&lt;/span&gt; as an additional option at the end of the two confiurations (I guess that you only need to do this for the SRV_JAVA_OPTS)&lt;/li&gt;
&lt;li&gt;remove commandline options for the ps process in the /opt/crashplan/bin/CrashPlanEngine file since ps doesnt accept parameters at the synology NAS. (sed -i 's/ps -eo /ps /' &amp;nbsp;CrashPlanEngine;sed -i 's/ps -p /ps /' &amp;nbsp;CrashPlanEngine)&lt;/li&gt;
&lt;li&gt;Modify the /usr/syno/etc/rc.d/S99crashplan file line 1 to :&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 10px;"&gt;#!/opt/bin/bash&lt;/span&gt;&lt;title&gt;&lt;/title&gt;&lt;style type="text/css"&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px 'Courier New'}
&lt;/style&gt;&lt;/li&gt;
&lt;li&gt;Modify the /opt/crashplan/bin/CrashPlanEngine file line 1 to:&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 10px;"&gt;#!/opt/bin/bash&lt;/span&gt;&lt;title&gt;&lt;/title&gt;&lt;style type="text/css"&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px 'Courier New'}
&lt;/style&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 10px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times; font-size: small;"&gt;Modify the /opt/crashplan/bin/CrashPlanEngine file line 14 with a full path for nice to:&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Times; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New'; font-size: 10px;"&gt;/opt/bin/nice&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Start your crashplan service /usr/syno/etc/rc.d/S99crashplan start&lt;/li&gt;
&lt;li&gt;Validate that your service is running:&amp;nbsp;netstat -an | grep ':424.' should give to listeners:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;tcp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 0.0.0.0:4242&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0.0.0:*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LISTEN &amp;nbsp; &lt;br /&gt;
tcp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 127.0.0.1:4243&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0.0.0:*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LISTEN&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;If your crashplan engine doesn't start up automatically you can add it to rc.local which works. If you edit /etc/rc.local and add "/usr/syno/etc/rc.d/S99crashplan start" without quotes, it seems to load after restart. (Thanks to "kungfu" for this comment / hint)&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;Install your desktop client and point it towards the headless service you just installed. Follow the instructions in the crashplan website for this (&lt;span class="s1"&gt;http://support.crashplan.com/doku.php/how_to/configure_a_headless_client&lt;/span&gt;)&lt;br /&gt;
Some has reported that using a 64 bit desktop client against a 32 bit headleass client doesn't work. You should go with the 32 Desktop client as well if you are having trouble connecting to the server.&lt;/li&gt;
&lt;/ol&gt;&lt;div class="p3"&gt;TIP: If you are using mac the ui.properties are located here:&amp;nbsp;~/Library/Application\ Support/CrashPlan/ui.properties&lt;/div&gt;&lt;div class="p3"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="p1"&gt;Congratiolations! You are done :-)&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KennethLarsensBlog/~4/7VT89btnSps" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kennethlarsendk.blogspot.com/feeds/7087575718265688424/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kennethlarsendk.blogspot.com/2011/03/how-to-using-crashplan-with-synology.html#comment-form" title="198 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/552736630635455340/posts/default/7087575718265688424?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/552736630635455340/posts/default/7087575718265688424?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KennethLarsensBlog/~3/7VT89btnSps/how-to-using-crashplan-with-synology.html" title="HOW-TO: Using crashplan with Synology NAS" /><author><name>Kenneth Larsen</name><uri>http://www.blogger.com/profile/00564887939526959858</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>198</thr:total><feedburner:origLink>http://kennethlarsendk.blogspot.com/2011/03/how-to-using-crashplan-with-synology.html</feedburner:origLink></entry></feed>
