{"id":116,"date":"2008-03-17T20:58:03","date_gmt":"2008-03-18T04:58:03","guid":{"rendered":"http:\/\/www.curlybrace.com\/words\/?p=116"},"modified":"2008-10-15T22:39:33","modified_gmt":"2008-10-16T06:39:33","slug":"hacking-the-buffalo-terastation-live","status":"publish","type":"post","link":"https:\/\/www.curlybrace.com\/words\/2008\/03\/hacking-the-buffalo-terastation-live\/","title":{"rendered":"Hacking the Buffalo TeraStation Live"},"content":{"rendered":"<p>The Buffalo TeraStation Live is a NAS device which uses an embedded, ARM-based computer running a variant of Linux.  Originally, I wanted to enable NFS, though later I stuck with CIFS\/Samba.  However, enabling SSH access proved invaluable for performing backups without having to worry about whether or not my Mac was able to automount the CIFS\/Samba share.<\/p>\n<h3>Enable Telnet Logins<\/h3>\n<p>As <a href=\"http:\/\/buffalo.nas-central.org\/index.php\/Open_Stock_Firmware#Getting_Console_.28Telnet.29_Access_with_acp_commander\">this guide<\/a> details, <tt>acp_commander<\/tt> is used to enable telnet logins and deploy addons.tar to the TeraStation.  What the guide doesn&#8217;t mention is that <tt>acp_commander<\/tt> may fail, I had to run it several times before it succeeded.  Here is the output from my successful run:<\/p>\n<pre>macbook:~\/TeraStation jeff$ java -jar acp_commander.jar -t 192.168.1.9 -o -addons\r\nACP_commander out of the linkstationwiki.net project.\r\nUsed to send ACP-commands to Buffalo linkstation(R) LS-PRO.\r\n\r\nWARNING: This is experimental software that might brick your linkstation!\r\n\r\n\r\nUsing random connID value = 07CAA8F945F3\r\nUsing target:   raid\/192.168.1.9\r\nAuthenticate:   OK (ACP_STATE_FAILURE)\r\nInstalling addons.tar ...\r\ncreating directory...   OK\r\nDidn't find <addons.tar> locally, looking at\r\nhttp:\/\/downloads.linkstationwiki.net\/Uploads\/LSPro\/Binaries\/\r\njava.io.FileNotFoundException: \/192.168.1.9\/share\/acp_commander\/addons.tar (No such file or directory)\r\n        at java.io.FileOutputStream.open(Native Method)\r\n        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)\r\n        at java.io.FileOutputStream.<init>(FileOutputStream.java:70)\r\n        at acpcommander.FileSystem.copyFile(FileSystem.java:44)\r\n        at acpcommander.acp_commander.main(acp_commander.java:862)\r\nstart telnetd...        OK (ACP_STATE_OK)\r\nReset root pwd...       Password changed.\r\n\r\n\r\nYou can now telnet to your box as user 'root' providingno \/ an empty password.\r\nmacbook:~\/TeraStation jeff$ <\/pre>\n<p>Note that, in this run, addons.tar wasn&#8217;t successfully retrieved and deployed.  <tt>addons.tar<\/tt> provides <tt>wget<\/tt>, <tt>su<\/tt>, and <tt>joe<\/tt>.<\/p>\n<h3>Add Software<\/h3>\n<p>The TeraStation Live uses an ARM processor just like the Linksys NSLU2.  The NSLU2 has a great community, so there are a large number of pre-built modules available.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Buffalo TeraStation Live is a NAS device which uses an embedded, ARM-based computer running a variant of Linux. Originally, I wanted to enable NFS, though later I stuck with CIFS\/Samba. However, enabling SSH access proved invaluable for performing backups &hellip; <a href=\"https:\/\/www.curlybrace.com\/words\/2008\/03\/hacking-the-buffalo-terastation-live\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[200,15],"tags":[],"class_list":["post-116","post","type-post","status-publish","format-standard","hentry","category-linux","category-technology"],"_links":{"self":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":1,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/116\/revisions"}],"predecessor-version":[{"id":416,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/116\/revisions\/416"}],"wp:attachment":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/media?parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/categories?post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/tags?post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}