{"id":292,"date":"2013-03-09T12:44:00","date_gmt":"2013-03-09T11:44:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2013\/03\/09\/rsync-over-ssh-to-a-synology-nas-ipkg-opkg\/"},"modified":"2013-03-09T12:44:00","modified_gmt":"2013-03-09T11:44:00","slug":"rsync-over-ssh-to-a-synology-nas-ipkg-opkg","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2013\/03\/09\/rsync-over-ssh-to-a-synology-nas-ipkg-opkg\/","title":{"rendered":"&#8220;rsync over ssh&#8221; to a Synology NAS \u2013 IPKG, opkg"},"content":{"rendered":"<p>\t\t\t\tNota Bene \/ before:<\/p>\n<ul>\n<li>This is the text, that helps me personally re-installing rsync, whenever it magically disappears, maybe caused by an DSM update.<\/li>\n<li>True, I should bring a little structure into this article.<\/li>\n<li>I never ever care about\u00a0<b>rsyncd<\/b>, as I am doing &#8220;rsync over ssh&#8221;; \u00a0any activity suggested regarding rsyncd does not concern me. (But then sometimes I am misled, and I erroneously do invest time in false paths,\u00a0and I do get into problems that are actually rsyncd-related.)<\/li>\n<li>I have my own ways of backing up data.<\/li>\n<li>I have my own ideas of keeping data long term outside my computer&#8217;s built-in disks.<\/li>\n<\/ul>\n<p>The Synology system provided rsync is not for me. It&#8217;s somehow modified and spoilt.<\/p>\n<ul>\n<li><a href=\"http:\/\/serverfault.com\/questions\/425589\/rsync-over-ssh-error-module-is-read-only-suddenly-appeared\">http:\/\/serverfault.com\/questions\/425589\/rsync-over-ssh-error-module-is-read-only-suddenly-appeared<\/a><\/li>\n<\/ul>\n<p>Well, it&#8217;s not only me experiencing weird effects with the &#8220;built-in&#8221; rsync. And I think, quite a few of the answers to that forum article do not quite fit at all.<\/p>\n<p>The details of the case:<\/p>\n<ul>\n<li>&#8220;rsync over ssh&#8221; does not use the remote rsync daemon at all, i.e. no rsyncd.conf applies<\/li>\n<li>it&#8217;s not unlikely, that these rsync problems have to do with a Synology special version of rsync<\/li>\n<li>after this: &#8220;DiskStation&gt; \/usr\/syno\/etc.defaults\/rc.d\/S84rsyncd.sh stop&#8221;, the error message does not change, so it&#8217;s really not an &#8220;rsync daemon&#8221; issue, as that one is no longer running<\/li>\n<li>\u2026<\/li>\n<\/ul>\n<div>I fixed this problem by installing an rsync package provided on an Unslung Project repository for the CPU used within my Synology NAS. This brings dependencies on the Unslung Project, their IPKG installer, their Optware, their specific Synology repository. This kills me a little, to be honest.<\/div>\n<p>I mainly followed the &#8220;German Synology wiki&#8221; on <a href=\"http:\/\/www.synology-wiki.de\/index.php\/IPKG\">IPKG<\/a>. (As anxious as I am, I do keep a backup of that article at \u2026\/com\/synology-wiki.de\/ . Yes, I do have an idea, that this step alone is rather in vain.)<br \/>\nSo, well 1st I had to install IPKG itself.<br \/>\n<strong>My CPU on the DS213+ is an e500 (actually: e500v2), so I went the e500 way in their description.<\/strong><br \/>\n<strong> My CPU on the DS112+ is a &#8220;Feroceon 88FR131 <a href=\"https:\/\/www.bibleserver.com\/text\/ESV\/Revelation1\" class=\"bibleserver extern\" target=\"_blank\" rel=\"noopener noreferrer\">rev 1<\/a> (v5l)&#8221;, there is a note on how to deal with the DS112+, pls follow that one.<br \/>\nMy CPU on the DS115j is a &#8220;<span style=\"text-decoration: underline\">Marvell<\/span> PJ4Bv7 Processor <a href=\"https:\/\/www.bibleserver.com\/text\/ESV\/Revelation1\" class=\"bibleserver extern\" target=\"_blank\" rel=\"noopener noreferrer\">rev 1<\/a> (v7l)&#8221;, still a Feroceon, but a little hidden; the Feroceon check should be changed to check for Marvell instead; \u2026<\/strong><\/p>\n<p>Then I installed the rsync package provided by IPKG.<\/p>\n<p>An entry for \/etc\/rc.optware got created in \/etc\/rc.local, and they suggest to remove it, and I did that.<br \/>\nI am not sure, it concerns me at all, as I mention &#8220;my&#8221; rsync on the NAS by full path on my command lines outside the NAS.<\/p>\n<p>Now my only minor problem with the &#8220;alternative rsync&#8221; is, that I have to specify the remote rsync on my local rsync command lines like this: &#8220;&#8211;rsync-path=\/opt\/bin\/rsync&#8221;. That&#8217;s a PITA, but that&#8217;s not too hard.<\/p>\n<p>Update 2013-08-31:\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Ipkg\">en.wikipedia.org\/wiki\/Ipkg<\/a>\u00a0says IPKG was discontinued. <a href=\"https:\/\/en.wikipedia.org\/wiki\/Opkg\">en.wikipedia.org\/wiki\/Opkg<\/a>\u00a0is the follower,\u00a0<a href=\"http:\/\/code.google.com\/p\/opkg\/\">code.google.com\/p\/opkg\/<\/a>, but it hasn&#8217;t really taken off.\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nota Bene \/ before: This is the text, that helps me personally re-installing rsync, whenever it magically disappears, maybe caused by an DSM update. True, I should bring a little structure into this article. I never ever care about\u00a0rsyncd, as I am doing &#8220;rsync over ssh&#8221;; \u00a0any activity suggested regarding rsyncd does not concern me. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[255,397,575],"tags":[1177],"class_list":["post-292","post","type-post","status-publish","format-standard","hentry","category-ipkg","category-opkg","category-synology","tag-my_most_important_article_on_ipkg_for_synology"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-4I","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=292"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/292\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}