I recently purchased a used, Arm based, Buffalo TeraStation from ebay. The purchasing experience went well and the device arrive five days earlier than ebay predicted. This post covers my initial impressions and some early configuration modifications.
The TeraStation Pro is a 2U rack mountable NAS TS-RHTGL/R5 NAS system offered by Buffalo Technology. These units come configured as 2TB, 4TB, 6TB, or 8TB storage solutions capable of RAID-0, 1, 5, 1+0, and JBOD architectures. This product was pretty much phased out of use by 2010.
As Per Manufacturer
|General||Total Storage Capacity||1 TB|
|Storage||Total Storage Capacity||1 TB|
|Network Storage Type||NAS server|
|Storage Controller||Supported Devices||disk array (RAID), hard drive|
|Data Transfer Rate||150 MBps|
|RAID Level||JBOD, RAID 0, RAID 1, RAID 5|
|Interface Type||Serial ATA-150|
|Networking||Type||Network adapter - internal|
|Network / Transport Protocol||FTP, SMB, TCP/IP|
|Features||Jumbo Frames support|
|Data Link Protocol||Ethernet, Fast Ethernet, Gigabit Ethernet|
|Compliant Standards||IEEE 802.3, IEEE 802.3ab, IEEE 802.3u|
|Host Connectivity (for SD)||Gigabit Ethernet|
|Network Services Compatibility||FTP, Microsoft Active Directory (AD), Server Message Block (SMB)|
|Interface Provided||Qty||1, 2|
|Interface||Ethernet 1000Base-T, USB 2.0|
|Connector Type||RJ-45, Type A|
|Chassis||Installed Devices / Modules Qty||4|
|Supported Devices / Modules Qty||4|
|Built-in Devices||status LCD|
|Hard Drive||Interface Type||Serial ATA-150|
|Data Transfer Rate||150 MBps|
|Spindle Speed||7200 rpm|
|Environmental Parameters||Min Operating Temperature||32 °F|
|Max Operating Temperature||95 °F|
|Expansion Bays||Total Qty||4|
The View From Within
What, No Command Line Access?
Whilst over all I am happy with my purchase, I was both surprised and annoyed to discover that there seemed no way to access the machine via the command line. I am as much a fan of lame web interfaces as the next person, but sometimes I need to get work done, and for that there is the command line.
It did not take long searching the web to discover that I am not alone wanting command line access. Seems that this device is perfectly capable of running both telnetd and better yet, sshd.
Fortunately a Java based tool ACP Commander was created to solve this issue and many others. Unfortunately given the age of the device there are many sets of instructions out there with links to versions of ACP Commander that depend on older versions of Java, and while appearing to work, seem to do nothing to progress the enable met of sshd.
What Worked for Me
- Install latest version of Java JRE from Oracle. You may already have Java installed, but I try to live an Oracle free lifestyle, so I had to install it.
- Get this version of acp_commander.jar
- From a shell/terminal window run the command below. It will temporarily enable telnetd and set the device root password to be blank.
- Use a telnet
telnet <ip address of TeraStation>to connect to the NAS. User: root, empty password, and you should now be connected to the NAS device as root.
- Set a password for root using passwd, then type
exitand press ENTER key to close telnet session.
- I had to create the following entry in my .ssh/config file to enable the TeraStation’s deprecated key exchange algorithms to work with my up to date SSH client, and otherwise make my connection to the device easier.
- I then made an ssh connection to the device, providing the root password I had set earlier while in with telnet. Connection was a success, yay!
- I exited the ssh session then I used ssh-copy-id to move my public key onto the NAS.
- I established another ssh connection just using keys and was also successful.
- I disabled the ability of root to logon with a password to ssh by editing
- I disconnected, then reconnected with ssh to make sure everything was still fine, and it was.
- Finally I rebooted the TeraStation. When it came back up I could no longer connect using Telnet, but SSH worked like a charm. This is exactly the outcome I was looking for, so can again uninstall Java.
Useful Remote Commands
Reboot TeraStation Via SSH
This is useful for testing the persistence of changes made outside of the vendor provided web interface. I use this to restart the TeraStation.
Power Off TeraStation Via SSH
This command to shut down the TeraStation will be useful for reacting to extended power events which necessitate an orderly shutdown before UPS battery is drained.
An old NAS is what I expected, and is what I got. Now with SSH access, it fully meets my needs and I am satisfied for now, though I am already starting to feel the need to install a modern Linux OS on the device.
You can use your Mastodon account to reply to this post.