Buffalo Linkstation Pro Duo

My Linkstation Pro Duo arrived yesterday. So what is this thing? Basically it is a NAS, that meens storage provided via a computer network. It has two harddrives that can be configured as software RAID, either 0 or 1. The operating system is Linux(is there a device linux is not capable of running on?^^), what makes it flexible like hell, at least after you gained shell access. In the following lines I will describe the things I struggled with and how I configured the device. I’m planning to use it for:

  • Backups via the network
  • share storage in a heterogeneous network (WinXP, Vista and Ubuntu machines in it)
  • store data
  • downloading things without being forced to turn a “real” machine on, e.g. the DVD of the distribution of my choice during the night
  • I probably can’t resist running a web server on it accessible via dyndns

On other NAS from buffalo you can use a debian-like linux called freelink, though this is not yet ready for the Duo version of the Linkstation pro. Therefore I used the stock version and customized it.

The Web Interface is quite good, there are many things you can do via it, though having shell access invaluable. Therefore the first thing to do is gaining access via the shell. A good guide to do so can be found here. installing the addons.tar is not a bad idea, it will give you the executable of wget, which will be needed a lot. I prefer logging in via public key authentication over the old password method. To enabled it you have to uncomment the following lines in /etc/sshd_config:

PubkeyAuthentication yes
AuthorizedKeysFile      .ssh/authorized_keys

Now copy the key of the client to the server, if you have not yet created one you can do this with:

ssh-keygen -t dsa

now copy it to the machine

ssh-copy-id -i ~/.ssh/id_dsa.pub root@192.168.1.123

The permissions of the dir /root where odd, which caused failures with the pub key auth. therefore I changed them with

chown root:root /root

From your favorite linux distribution you know that thing called “package manager” which eases the management of software on your computer. There is a package manager designed especially for embedded devices called ipkg. You can install it with some bootstrapping script. How to do so is described here.

There is a default samba share called info, this can be disabled by adding those lines:

cp /etc/samba/smb.conf /etc/samba/smb.orig
sed '/^\[info\]/,/guest ok = yes/d ; /^###info###/d' /etc/samba/smb.orig > /etc/samba/smb.conf

at the end of the configure() method in /etc/init.d/smb.sh

ok enough for now,

Ressources:

About these ads

Tags: , , ,

2 Responses to “Buffalo Linkstation Pro Duo”

  1. Marius Gedminas Says:

    Are you happy with it now that you’ve used it for a while?

    I’m looking into getting one myself.

  2. tdomhan Says:

    I’m happy with it, though I can’t compare the NAS to another one.
    I mainly use it for doing backups, with duplicity. Booting it on demand is quite nice concerning this.

    having SSH access and a package manager available is quite cool, too.(though this stuff isn’t there out of the box)

    this site kind of migrated to:
    http://devnull.tdomhan.de/?p=39
    please post comments there

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: