Email Notification

You may set up email alerts for the following occurrences:.
– HD Status Report
– Fan errors
– Disk errors
– Backup Complete

SMTP Server
Enter the IP address and port number of your SMTP mail server. If no port number is entered, the default port 25 will be used.

POP3 Server
Many types of SMTP mail servers and authentication may be used with the LinkStation. Consult your IT department or ISP for any necessary login information to use your SMTP server.

Specify a subject line for the email notifications, such as “LinkStation Status Report”.

Recipient Mail Address
Notification emails can be sent to up to 5 email addresses.





Update: 12 Nov 2015
For those having failed sending test email message, please check that you’re entering the correct password. Secondly, during my investigation I found this log in the NAS:

Nov 12 22:39:49 NAS sSMTP[9663]: Unable to set portno="465"
Nov 12 22:39:49 NAS sSMTP[9663]: Unable to set AuthType="SSL"
Nov 12 22:39:49 NAS sSMTP[9663]: Creating SSL connection to host
Nov 12 22:39:49 NAS sSMTP[9663]: SSL connection using AES128-SHA
Nov 12 22:39:50 NAS sSMTP[9663]: Authorization failed (534 5.7.14 fp2sm15179963pbb.34 - gsmtp)

Follow this link and set “Access for less secure apps” to “Turn on”


Incoming search terms:

  • LinkStation Status Report smtp
  • buffalo email
  • buffalo linkstation gmail
  • buffalo nas email benachrichtigung
  • buffalo NAS email notification error
  • buffalo nas windows storage server 2012 email notification error
  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1836 LLe1GzACWNpitXDVLjzSlZNYax0q7z9SkjZ6P35PpKvp1n0SJ-qFdne--vmJbByt caa824a4a76ebd50bda644aa5e703c60fd14b090&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme
  • smtp mail configuration in buffalo ws4500 NAS
  • terrastation e-mail benachrichtigung gmail
Posted in NAS.

This is not a complete step-by-step data recovery guide. Here I just listed all software needed during my successful recovery.

1. To fix GPT record, use TestDisk.
2. To read and reconstruct RAID, use UFS Explorer Professional Recovery.

1. Linkstation filesystem is XFS
2. Linkstation not using legacy MBR, instead it’s using GPT for partition table record

Some guide:

Posted in NAS.

I stumbled upon a website where the author is generous enough to program a GUI for the acp commander. I haven’t tried yet since my NAS already rooted. I, without his permission “mirror’ his page for my future reference.

Original link:

ACP Commander GUI is a Graphical User Interface using acp_commander developed by Georg from NAS-Central. ACP Commander GUI is based on the code of acp_commander with some modifications for better integration into the GUI.

Thanks to Georg for his nice work!

ACP Commander GUI can be used to remotely control your arm9-based LS Pro/LS Live/Tera Pro v2/Tera Live devices. I only tested it with an LS Live, but the others should work to.

This is a Java application. Please download Java for your System here.
Mac OS X Mountain Lion users: Download Java directly from Apple if not already installed.


  • Automatically detects LinkStations™ available in your network, just select the desired one from the pulldown box.
  • Execute Linux commands directly on the LinkStation™ and get the output in the log window.
  • Set the door password of the LinkStation™.
  • Enable SSH (sshd). It will also add a startup entry so that SSH is also available after each reboot.
  • Tested on Firmware versions 1.560 and 1.570.

Simply enter the admin password in the “Admin password” field and you are done. That is the one you do also use to login to the Web Interface of the LinkStation™. After that, simply click on one of the buttons to execute the desired action.

For more LinkStation™ information visit Buffalo Technology.

Note: The data that can be returned from the LinkStation™ is limited by the protocol. That means if you manually execute a command (like “ls”) on the device it could be possible that you don’t get the full result back. Just keep that in mind.

Warning: This is experimental software that might damage your LinkStation™.

Version History:

  • 1.5.6 (08.04.2012)
    Initial release.

Download 1.5.6 (DMG file for Mac OS X 10.6+)
Download 1.5.6 (JAR file for all platforms)
Download 1.5.6 (ZIP for Microsoft Windows)
Download 1.5.6 (EXE for Microsoft Windows)

Incoming search terms:

  • acp commander gui
  • acp_commander
  • acp_commander_gui
  • acp commander time out
  • buffalo remote acp commander
  • DCE8
  • buffalo linkstation ssh aktivieren
  • buffalo linkstation 220 ssh
  • apc commander
  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1835 WDZ_izFSy_UIcFPPqgIvEbff-ICqGx-ID0iJLdKzfwxfaRjiGppGaWGI_CcHNFiL b1e6daf571ff19a8cc059ad5a963cf4bc9953193&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme
Posted in NAS.

I have an external HDD that being partitioned with ext3 and ntfs. Ext3 is for ubuntu boot from usb, while ntfs is mainly to store my data.

I can’t see my ntfs partition when i plugged in my external HDD into Buffalo NAS. However, ext3 is visible and mounted in /mnt/usbdisk1 also from samba.

Manual mount. Latest Linkstation firmware support ntfs by default, it just don’t mount all filesystem from the same usb port.

Identify partitions with ntfs

fdisk -l


fdisk -l | grep NTFS

Create mount point

mkdir /mnt/ntfs

Mount ntfs with read write access

mount -t ntfs-3g /dev/sdb3 /mnt/ntfs/

Unmount ntfs

umount /mnt/ntfs/

Incoming search terms:

  • configurelogin jar
  • buffalo console nas mount ntfs usb hard disk
  • linkstation manual parition

Goal 2: Installing optware

mkdir /mnt/disk1/tmp 
cd /mnt/disk1/tmp
chmod +x ls-mvkw-bootstrap_1.2-7_arm.xsh
sh ./ls-mvkw-bootstrap_1.2-7_arm.xsh
mv /etc/init.d/optware /etc/init.d/rc.optware
ipkg update

Updating package – ipkg update

Upgrading package – ipkg upgrade
Installing package – ipkg install <package name>

Sometime when you reboot the NAS, optware will be gone. Refer to this thread for further detail.
To solve this, edit /etc/init.d/rc.optware file using vi or nano. Add this line of command

#! /bin/sh
mount --bind /mnt/disk1/.optware /opt


Posted in NAS.

With stock firmware, there’s no ssh/telnet capability in the box. We are going to “open” it.

Goal 1: Open the Stock Firmware

Get ACP Commander from here. This is the most useful tools ever created by the community to gain root access. You will need a Java JRE to be installed in your machine.

Verify that current admin password is work.

java -jar acp_commander.jar -t NAS_IP -ip NAS_IP -pw Youradminpassword -c "ls /"

Let’s the fun begin. First we’ll issue a new SSH password for root user

java -jar acp_commander.jar -t NAS_IP -ip NAS_IP -pw Youradminpassword -c "(echo newrootpass;echo newrootpass)¦passwd"

Then we’ll allow root to login using plaintext

java -jar acp_commander.jar -t NAS_IP -ip NAS_IP -pw Youradminpassword -c "sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config"

After that, we’ll need to allow root to SSH

java -jar acp_commander.jar -t NAS_IP -ip NAS_IP  -pw adminpasswordhere -c "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config"

Restart SSH service

java -jar acp_commander.jar -t NAS_IP -ip NAS_IP -pw Youradminpassword -c "/etc/init.d/ restart"

Now you will be able to SSH to your NAS box.


  1. NAS_IP is your Linkstation IP address
  2. Youradminpassword is your Linkstation Web UI password
  3. Newrootpass is your new root account password (for ssh)
  4. Still works with the latest firmware (1.63)
  5. Or you can try the easy way 😛

Another way of doing this (to prevent error during copying above command) is to execute this bash script from your Linkstation.
1. Copy this file, to your computer.
2. From your computer, browse to your NAS shared folder.
3. Copy and paste file to /share folder.
4. Execute this command from your computer (replace $DISK with disk1 or array1):

java -jar acp_commander.jar -t NAS_IP -ip NAS_IP -pw Youradminpassword -c "sh -x /mnt/$DISK/share/open-ls.txt"

SSH to your NAS and type below commands:

1. Installing package dependencies

ipkg install python py25-crypto py25-curl libcurl py25-openssl py25-django tesseract-ocr unzip sqlite wget-ssl py25-pil unrar ossp-js



2. Make working folder for pyload

[email protected]:/# mkdir /mnt/disk1/pyload/

3. Download latest version of pyLoad:

[email protected]:/# wget

4. Unzip it
[email protected]:/#unzip

5. Install it
[email protected]:/#./ –s

6. Run it
[email protected]:/mnt/disk1/pyload# ./ -s

Choose your Language / Wähle deine Sprache ([en], de, fr, it, es, ru, pl, cs, pt_BR): [ENTER]
## System Check ##

Python Version: OK
pycurl: OK
sqlite3: OK
pycrypto: OK
py-OpenSSL: OK
py-imaging: OK
tesseract: OK
PyQt4: missing
jinja2: OK
beaker: OK
JS engine: OK

System check finished, hit enter to see your status report.

## Status ##
Features available: container decrypting, ssl connection, automatic captcha decryption, Webinterface, extended Click’N’Load
Continue with setup? ([y]/n): [ENTER]
Do you want to change the config path? Change config path? (y/n):y /root/.pyload
Do you want to configure login data and basic settings? This is recommend for first run. Make basic setup? ([y]/n): [ENTER]
## Basic Setup ##
The following logindata is valid for CLI, GUI and webinterface.
Username [User]: username
Password (again):

Language ([en], de, fr, it, es, ru, pl, cs, pt_BR):
Downloadfolder [Downloads]: /mnt/disk1/share/download
Max parallel downloads [3]:
Use Reconnect? (y/[n]):
Do you want to configure ssl? Configure ssl? (y/[n]):
Do you want to configure webinterface? Configure webinterface? ([y]/n):
## Webinterface Setup ##
Activate webinterface? ([y]/n):
Listen address, if you use or localhost, the webinterface will only accessible locally.
Address []:
Port [8000]: 8000

To start pyLoad as service (daemon)
[email protected]:/mnt/disk1/pyload# ./ –daemon

To kill pyLoad service
[email protected]: ps | grep pyLoad
[email protected]: kill <pyLoad Process ID>

Web Interface: TCP 8000
RPC (remote client): TCP 7227

Update 21/2/2013
Pre-compiled package for IPKG is available now!

ipkg install wget tesseract-ocr tesseract-ocr-lang-eng ossp-js unrar
ipkg install pyload-v0.4.9-noarch.ipk
pyLoadCore -s
Posted in NAS.