It contains the executables and a patched (unnecessary binaries removed) addons.tar which you can copy into your acp_commander directory. The excutable "su" is still part of this, in case you already used the addons.tar from acp_commander (via automatic download). It also contains the optware bootstrap file for the Marvell Kirkwood feed.

+

+

Copy these files to your share "share". The directory structure should look like this on "share":

+

xhl/usr/...

+

xhl/bin/...

=How to get telnet working in 1.20 or higher=

=How to get telnet working in 1.20 or higher=

Line 81:

Line 103:

Now you should have telnet access to your XHL. Have fun!

Now you should have telnet access to your XHL. Have fun!

−

−

=How to get the executables from release 1.10 if you already upgraded to 1.20?=

−

Get the firmware release 1.10 from Buffalo: http://www.buffalo-technology.com/support/getfile/?lsxhl-110.zip

It contains the executables and a patched (unnecessary binaries removed) addons.tar which you can copy into your acp_commander directory. The excutable "su" is still part of this, in case you already used the addons.tar from acp_commander (via automatic download). It also contains the optware bootstrap file for the Marvell Kirkwood feed.

You will have to copy some files to your LS onto a share named "share".

You have to get access to the LS via acp_commander in interactive mode.

You will have to use some Unix commands to copy files and to set file mode bits.

Why a new page for the XHL?

Unfortunately to open the firmware of a XHL depends on the release of the firmware currently running on the machine.

The XHL firmware above release 1.10 do NOT contain telnetd or sshd anymore. So acp_commander can not enable telnet access due to the lack of the executable.

If you have firmware 1.10 or lower, you should be able to follow the hints in Open_Stock_Firmware to get telnet access, except that you should not use the addons.tar, because the executables within will NOT work on the LS-XHL. You do not need the addons.tar for enabling telnet access. But with firmware 1.20 or above luck is not on your side.

Attention: What ever you do, you do it on your own risk

Is this working for the CHLv2 also?

The LS-CHLv2 has the same CPU as the LS-XHL. It differs in CPU frequency and amount of memory. So the executables should be interchangeable (the GPL source from Buffalo for the XHL and CHLv2 is identical -> it is the same directory at their server).

There are already several success stories for following this guide to "open" the LS-CHLv2.

What to do first in case of upgrading from 1.10?

If you want to upgrade the firmware from 1.10 to something newer, you should take care of some things before, or you will loose the ability to get telnet access to your XHL.

The assumption is, that you have a share called share and you already opened the LS for telnet access using Open_Stock_Firmware.

It contains the executables and a patched (unnecessary binaries removed) addons.tar which you can copy into your acp_commander directory. The excutable "su" is still part of this, in case you already used the addons.tar from acp_commander (via automatic download). It also contains the optware bootstrap file for the Marvell Kirkwood feed.

Copy these files to your share "share". The directory structure should look like this on "share":

xhl/usr/...
xhl/bin/...

How to get telnet working in 1.20 or higher

The assumption is, that your XHL is already running firmware 1.20 or higher and that you are aware of handling command line executables and stuff like this, if you are used to a Unix flavor.
For the windows noobs I will add some windows hints also.

Disable the XP/Vista/7 firewall or you will get sockettimeout errors.

Start a command line via "Start" - "Run" - "cmd.exe". Everything else is done within the command line window.

Ensure you have a valid java installation by checking the version:

java --version

Change to the place where you placed acp_commander.jar (I assumed it is on c:\tmp\xhl\) via:

cd \tmp\xhl

Get into an interactive acp_commander session (all commands will be executed as root in interactive mode):

Now your XHL should reboot. After a minute or so, you should be able to telnet to your XHL using the user admin (the same admin you use to access the web configuration of your XHL).

I haven't found a way to let root login via telnet, but you can simply call

su -

after logged in as user admin, to switch to user root.

The installation of the addons.tar is identical to the non-XHL LS-PRO except that /bin/su will get overridden by a version within the addon.tar which is not working properly. So you have to get into the acp_commander interactive mode again after the installation of addon.tar. Do the following:

How to convert the data partition from XFS to EXT3?

At least with firmware release 1.20, the firmware can handle a ext3 formatted root filesystem as well as a ext3 formatted data partition without "patching" anything serious.

The information of the format of the root filesystem and the data partition seems to be stored in non-volatile ram.
There are two applications handling the reading and writing to this storage, named dumpnf and setnf.

If one looks into the initrd.buffalo, he can find a dirctory /root/.nas_features which contains preconfigured information for different linkstation models.

For the following operations you should login as root (su -).

To ensure to take the right information we dump the current content of the storage to a file:

dumpnf > /etc/nas_feature

Now edit the file /etc/nas_feature and change the following setting:

USERLAND_FS=xfs

to:

USERLAND_FS=ext3

Now one can format the data partition (/dev/disk1_6 aka. /mnt/disk1), but do not forget to save the data before, because you will loose everything on this partition.