{"id":303,"date":"2013-03-02T22:56:00","date_gmt":"2013-03-02T21:56:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2013\/03\/02\/my-new-nas-and-so-much-more-synology-ds213\/"},"modified":"2013-03-02T22:56:00","modified_gmt":"2013-03-02T21:56:00","slug":"my-new-nas-and-so-much-more-synology-ds213","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2013\/03\/02\/my-new-nas-and-so-much-more-synology-ds213\/","title":{"rendered":"my new NAS (and so much more): Synology DS213+"},"content":{"rendered":"<p>\t\t\t\t<a href=\"http:\/\/www.synology.com\/products\/product.php?product_name=DS213%2B&amp;lang=enu\">DS213+ Products &#8211; Synology Inc. Network Attached Storage<\/a><\/p>\n<p>The box makes itself known as diskstation.local resp. DiskStation on my LAN. (Reliability \u2026)<\/p>\n<p>Of course it deserves a &#8220;1 Gbit\/s&#8221; on my FRITZ!Box.<\/p>\n<p>The box&#8217;s OS is BusyBox; here are a few more details:<\/p>\n<p><span>DiskStation&gt; uname -a<\/span><br \/><span>Linux DiskStation 2.6.32.12 #2668 SMP Tue Dec 11 13:01:16 CST 2012 ppc GNU\/Linux synology_qoriq_213+<\/span><\/p>\n<p>\nI enabled <b>SSH access<\/b> for my personal user account rather soon, but the SSH login was not instantly successful. I tried &#8220;ssh -v&#8221;, and from there the login seriously looked, as if it was almost successful. My web research wasn&#8217;t successful either. Rather desperately I enabled &#8220;telnet access&#8221;; I tried to log in, and this was the result:<\/p>\n<blockquote><p>\n<i>login: can&#8217;t run \/sbin\/nologin: No such file or directory<\/i><\/p><\/blockquote>\n<p>It was clear then, that the default shell in the \/etc\/passwd entry for my user account was in my way \/sbin\/nologin so far. I made \/bin\/ash the default shell and everything was fine. Of course, I disabled telnet access again thereafter. And of course, once I added &#8220;nologin&#8221; to my web query, I found a few articles describing the issue.<\/p>\n<p>SCP works; &#8220;rsync over ssh&#8221; (with my personal user account) does not work yet:<\/p>\n<blockquote><p>\n<span>$ rsync -va &#8211;rsh=&#8217;ssh -l root&#8217; \/etc\/motd diskstation:tmp\/ # works<\/span><span>$ rsync -va \/etc\/motd diskstation:tmp\/ # fails<br \/>\nsending incremental file list<br \/>\nERROR: module is read only<br \/>\nrsync error: syntax or usage error (code 1) at main.c(1034) [Receiver=3.0.8]<br \/>\nrsync: connection unexpectedly closed (9 bytes received so far) [sender]<br \/>\nrsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.8]<\/span><\/p><\/blockquote>\n<div>\nFiddling with\u00a0<span>\/etc\/ssh\/sshd_config<\/span> \u2013 I really don&#8217;t know, what to change in order to overcome this obstacle.<\/div>\n<p>Perl is not part of its standard equipment, but Python apparently is,<\/p>\n<p>Through their Download Center I found this FTP server <a href=\"http:\/\/ukdl.synology.com\/download\/DiskStation\/\"><span><\/span>link<span><\/span><\/a>. You can find various software for their boxes on their. There are also Perl installation packages, but the ones I tried are not for the current firmware release of &#8220;my&#8221; box, and in a way I am not up for an upgrade to beta software for my NAS.<\/p>\n<p>(For now I summarised here everything I have tried so far, so I will be able to procede from here.)<\/p>\n<p>A few more links:<\/p>\n<ul>\n<li><a href=\"http:\/\/forum.synology.com\/wiki\">http:\/\/forum.synology.com\/wiki<\/a><\/li>\n<li><a href=\"http:\/\/forum.synology.com\/wiki\/index.php\/What_kind_of_CPU_does_my_NAS_have\">http:\/\/forum.synology.com\/wiki\/index.php\/What_kind_of_CPU_does_my_NAS_have<\/a><\/li>\n<li><a href=\"http:\/\/www.synology-wiki.de\/index.php\/Welchen_Prozessortyp_besitzt_mein_System%3F\">http:\/\/www.synology-wiki.de\/index.php\/Welchen_Prozessortyp_besitzt_mein_System%3F<\/a>\u00a0(this article gives us an IPKG link for the DS213+)<\/li>\n<\/ul>\n<p>There are suggestions on the wiki(s) to install ipkg (yet another packaging system, not officially supported by Synology), and to install another rsync through ipkg. I may consider this, but I am not yet sure. I am quite able to use rsync (over ssh) as user root, but I am not with my personal account. I have no clue, what rights it needs, to allow my personal account to work as smoothly as user root. (To Be Solved!)<\/p>\n<p>To be continued \u2026\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DS213+ Products &#8211; Synology Inc. Network Attached Storage The box makes itself known as diskstation.local resp. DiskStation on my LAN. (Reliability \u2026) Of course it deserves a &#8220;1 Gbit\/s&#8221; on my FRITZ!Box. The box&#8217;s OS is BusyBox; here are a few more details: DiskStation&gt; uname -aLinux DiskStation 2.6.32.12 #2668 SMP Tue Dec 11 13:01:16 CST [&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":[],"class_list":["post-303","post","type-post","status-publish","format-standard","hentry","category-ipkg","category-opkg","category-synology"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-4T","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/303","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=303"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/303\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}