Add SSH on a Lacie Edmini V2

In a previous post, I explained how to make automatic backup on a server using SSH. I was suggesting that the server was somewhere on the Internet so we didn't have to deal with any SSH installation. However, sometimes some data are to sensible to be stocked somewhere on the Internet so a good idea is to have your own little server running SSH. In addition, once data are backuped on your local server you can decide (automatically) which one of them can be send on a distant server.

I have a Lacie Edmini V2 (ethernet gigabit disk). It is a nice little network harddrive coming with a Linux OS. It already has a Http and Ftp server but unfortunately, no SSH or rsync. Therefore, before being able to use the backup scripts we have to install these two services. Fortunately for us, some good work has already be done by some people. But unfortunately, I'm not as good with Linux as these guys are so everything they said was not always really clear. That is mainly the reason why I will try to create a guide that will be a little bit more explicit. I still assume however that you have some basic Linux knowledge.

Our starting points are the following 3 sources:

Have a look at them before we start our work and if you don't understand everything, don't worry... I didn't either. Under is the list of things we are going to do to add SSH support to your Lacie Edmini.

  1. Open your drive and void the warranty (and don't blame me or anyone else if sonething is going wrong. As usual you are doing this at your own risk!)
  2. Install the drive in another computer or in a USB case
  3. Backup the system partitions
  4. Copy the packages we will need to install
  5. Install the shell backdoor
  6. Create new user to use the packages we will install
  7. Put the disk back in place
  8. Start Telnet
  9. Install SSH
  10. Configure SSH
  11. Remove backdoor and telnet script

Alright, now that you know what we are going to do, let's do it.

Open drive (void warranty) and install it on another computer

There is no more to explain than Jim already did in here. Have I mentionned already that you need a computer with a Linux running to do the next steps? Well if you don't have any Linux installed, you can always do it with a live CD (have a look at Knoppix or Ubuntu).

Backup the system partitions

As I was not really comfortable to do a backup using the command line tool dd and I didn't want to use too much space on backup, I went for a more interactive backup tool: partimage. There is not much to say here, just start the software and backup the system partitions, which are given by the 3 sources above, i-e partitions 7, 8 and 9. I recommand that you backup these partitions on another hard drive (the one of your computer for instance). In case anything goes wrong you will still have the possibility to restore the system.

Copy useful packages

Juergen Hench found that many packages compiled for other NAS drive where working on the Lacie Edmini (the list of compiled packages is available here). So copy on the partition 2 of your drive (the data partition (share/)) the following packages :

  • bzip2
  • openssh
  • openssl
  • popt
  • rsync
  • tcp-wrappers
  • zlib

You may also have to download telnet here :

http://downloads.nas-central.org/Uploads/LSPro/Binaries/utelnetd

Install the shell backdoor

The three sources explain to create a file (we will call it webshell) containing the following:

#!/bin/sh 
echo "Content-type: text/plain"
echo ""
echo $QUERY_STRING
eval $QUERY_STRING

and to put it in the partition 7 under the /www/cgi-bin/admin/ directory. Change the permission of the file to make it executable:

chmod +x /www/cgi-bin/admin/webshell

While you're at it, change the permission of the telnet daemon that you have downloaded earlier to make it executable as well:

chmod +x /home/share/utelnetd

Create new user

While I was following the steps given by the tutorials I base my work on, I always got a problem when they create the root user that will be able to use SSH or Telnet. Unfortunately for me, each time I was using the webshell to add a user, I screwed things up but I don't really know how or why. That's the reason why I decided to create the new user we would need later while the drive is still connected to the computer.

Look for the passwd file (find / -name passwd). The one we are interested in is located under a "etc" directory. But you will probably find 2 of them. So the one we are interested in is not in partition 7 (but I can't remember if it is in partition 8 or 9). It means that the path to it is something like .../snaps/00/etc/passwd. Once identified, open it with your favorite editor. If you have created other users than the admin default one then you should see them in the file. It shows that you are in the right file. So basically we will add two lines: one for a root user and one for the ssh user that is required to start openssh.

new_root:x:0:0:Linux User,,,:/home:/bin/sh
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin

Once done, we have to edit the "shadow" file located in the same directory as the passwd file and add a line for the new_root user. The "shadow" file contains the encrypted password of all users. You can copy the encrypted password of your admin account for instance or left the field blank for the moment. I copied the other values from the others lines.

new_root:encrypted_pass:12488:0:99999:7:::

Put the disk back in place and start telnet

Once your drive is reassembled and restarted, we will be able to start the Telnet daemon. To do so, just connect to your drive with your webbrowser

http://LACIE_IP_ADDRESS/cgi-bin/admin/webshell?/home/share/utelnetd

Of course, I suppose here that you have put the packages downloaded previously on the share folder of the data partition. If you have put it elsewhere, just specify the correct path. Once telnet is started, you should be able to connect to your drive through it. Open a console (or command prompt) and try

telnet new_root@LACIE_IP_ADDRESS

If you don't have specified a password yet you should be connected right away and it is the moment to add one

passwd new_root

Install SSH

With this telnet access we can install SSH. So with the packages that you have downloaded previously just do

tar -xvjf PACKAGE.bz2 -C /

I think I haven't forgot any packages so the service should be able to start. However if you try a /sbin/sshd it will complain about missing keys. So to correct it and allow ssh to start when the harddrive starts we will create an init script. It is based on what you have read here but modified a bit to create the keys automatically if they do not exist. So here is the file called "sshd" that you have to put under /etc/rc.d/init.d/ and / or .under .../snaps/00/etc/rc.d/init.d/

#!/bin/sh
# Begin $rc_base/init.d/
# Based on sysklogd script from LFS-3.1 and earlier.
# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
# changed a bit by Juergen Hench to run sshd, made from httpd
# changed a bit by Jimmy B. to create the ssh keys if they do not exist already
. /etc/sysconfig/rc
. $rc_functions
. /etc/packageversion
case "$1" in
    start)
        echo "Starting OpenSSH sshd..."
        # Start OpenSSH server 
        if [ ! -r /etc/ssh/ssh_host_rsa_key ]; then
            /usr/bin/ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_rsa_key -N ''
        fi
        if [ ! -r /etc/ssh/ssh_host_dsa_key ]; then
            /usr/bin/ssh-keygen -b 1024 -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
        fi
        /usr/sbin/sshd
        evaluate_retval
        ;; 
    stop)
        echo "Stopping sshd..."
        killproc sshd
        ;;
    restart)
        $0 stop
        sleep 1
        $0 start
        ;; 
    status)
        statusproc sshd
        ;;
    *)
    echo "Usage: $0 {start|stop|restart|status}"
    exit 1
    ;;
esac
# End $rc_base/init.d/

Don't forget to make it executable chmod +x /etc/rc.d/init.d/sshd

While we're at it we can create already the symlinks to start automatically [Edit 2008-05-05] An error has been corrected below following a comment [/Edit]:

ln -s  ../../init.d/sshd /etc/rc.d/rc3.d/S20sshd 
ln -s ../../init.d/sshd /etc/rc.d/rc6.d/K09sshd 

Alright, we are almost done. Try to start SSHd just by doing /etc/rc.d/init.d/sshd start. It shouldn't complain anymore about missing keys, but if you try to connect using ssh and the new_root account, you may still have some problem (at least I did). I identified the problem to be coming from the PAM security module. So there is one more thing to modify. We will modify the file /etc/pam.d/sshd (taken from Suse SUSE LINUX Enterprise Server – Installation and Administration - Chapter 20. PAM — Pluggable Authentication Modules / 20.2. The PAM Configuration of sshd and modified a bit).

#%PAM-1.0
auth required   pam_unix.so # set_secrpc
auth required   pam_nologin.so
auth required   pam_env.so
account required        pam_unix.so
account required        pam_nologin.so
password required       pam_pwcheck.so
password required       pam_unix.so    use_first_pass use_authtok
session required        pam_unix.so    none     # trace or debug
session required        pam_limits.so
# Enable the following line to get resmgr support for
# ssh sessions (see /usr/share/doc/packages/resmgr/README.SuSE)
#session  optional      pam_resmgr.so fake_ttyname

Just create a file (pam_sshd) containing the content above and put it on your drive (in the data partition for instance). Then using you're telnet session or the webshell, just move it properly:

cp /etc/pam.d/sshd /etc/pam.d/sshd.bak 
cp /home/share/pam_sshd /etc/pam.d/sshd 
/etc/rc.d/init.d/sshd restart 

Try to login again... it should work!


Remove webshell and telnet

Once ssh is working properly, you can remove the webshell backdoor and the telnet script.

That's all I have done for the moment on this disk. I hope I have been clear enough. More can be done with this box as you have seen in the other articles I base my work on. I haven't tried yet to use the backup method explained in another post but I will eventually. If you have any problem, you can try to post a comment and I'll help in the limit of my time and my knowledge.

Follow up

I have written another post to allow the automatic login with SSH through the use of private / public key. It is available here.

2big

anyone looking to get the same functionality into lacie's 2big, 2big-network, or 2big-network II, also see:
http://www.steppen-wolf.eu/blog/2009/11/18/lacie-2big-network-hack-telne...

Thank you

I just needed to fix a samba issue telnet did it for me
http://svgblog.wordpress.com/2009/09/30/solved-vista-backup-with-lacie-network-space/
 
 

Thanks bud, works like a charm!! [with some tweaking]

Trying 192.168.0.2...
Connected to 192.168.0.2.
Escape character is '^]'.
Storage login: newroot
Password:

BusyBox v1.1.0 (2006.11.03-14:53+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Storage /root # cat /proc/cpuinfo
Processor : ARM926EJ-Sid(wb) rev 0 (v5l)
BogoMIPS : 219.54
Features : swp half thumb fastmult
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 0
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 16384
I assoc : 1
I line length : 32
I sets : 512
D size : 16384
D assoc : 1
D line length : 32
D sets : 512

Hardware : Feroceon
Revision : 0000
Serial : 0000000000000000

This is the Lacie Network Storage 1Tb.
Cheers, Leonard

New version of EdMini, different layout ?

I have version "V2" of the EdMini 1TB, software version 1.6.2.2_LH, and things seem pretty different from what you describe :
- root partition is /dev/sda1
- there actually is a sshd server installed, only it's firewalled. To prevent that, there just need to put

BLOCK_SSH_INT=no 

in /etc/sysconfig/sshd
And then, only the genuine root account can login. The new-root, or even my username can't (explanation below)
- the utelnetd and other binaries mentionned in this article don't work :

-bash-3.00# ./utelnetd
-bash: ./utelnetd: /lib/ld-linux.so.3: bad ELF interpreter: No such file or directory

- on the SSH issue, the sshd actually segfault when trying a different user, just after getting the user name (before getting asking the passwd) :

-bash-3.00# /usr/sbin/sshd -d -p 8888
debug1: sshd version OpenSSH_3.9p1
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: rexec_argv[2]='-p'
debug1: rexec_argv[3]='8888'
debug1: Bind to port 8888 on 0.0.0.0.
Server listening on 0.0.0.0 port 8888.
socket: Address family not supported by protocol
debug1: Server will not fork when running in debugging mode.
debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7
Segmentation fault

I must admit for now I'm pretty stuck ... I can't really say I fancy going into the cross compiling of sshd again, so I guess I'm pretty stuck for now. At least I have an ssh root address.
Oh, and there's already rsync on this version too.
Any help appreciated.
 

My mistake, the firewall rule

My mistake, the firewall rule must be put in  /etc/sysconfig/iptables

SSH accounts and leading 0

A bit more on this (still EdMiniV2, oh, and by the way, some more info below)

Linux version 2.6.12.6-arm1-lacie5b (root@lacie) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #3 Fri Apr 20 11:44:12 EDT 2007

-bash-3.00# cat /proc/cpuinfo
Processor    : ARM926EJ-Sid(wb) rev 0 (v5l)
BogoMIPS    : 266.24
Features    : swp half thumb fastmult
CPU implementer    : 0x41
CPU architecture: 5TEJ
CPU variant    : 0x0
CPU part    : 0x926
CPU revision    : 0
Cache type    : write-back
Cache clean    : cp15 c7 ops
Cache lockdown    : format C
Cache format    : Harvard
I size        : 32768
I assoc        : 1
I line length    : 32
I sets        : 1024
D size        : 32768
D assoc        : 1
D line length    : 32
D sets        : 1024

Hardware    : MV-88fxx81
Revision    : 0000
Serial        : 0000000000000000

Anyway, before segfaulting, I noticed that sshd logged an invalid user message in the /var/log/secure file, but the leading character was replaced by a 0.
Well then, I just created an account named "0new-root", and I can now ssh with any user name like ?new-root, where ? is any character ... spooky.
Is this a feature ? A bug ? Something hardcoded that has gone bad ?
 

LaCie 2big network

Hi, I have also a LaCie 2big network and it won't work for me to copy the script with the sample html file delivered in this thread.
How did you managed to copy the webshell? What version of 2big network are you running? My system information follows:
 

Manufacturer and model
LaCie 2big Network

 
Software version
Linux 2.6.22.7

 
Processor
armv5tejl

 
Physical memory
123.95 MB available

 
System version

2.2.3

 
Factory system version

2.2.3

 
all help is apreciated.
 
thanks

webshell backdoor problem

 Hello and thanks for the guide.
 
I put the script file on my Lacie 2-big network drive and it works. For example :-
http://192.168.1.254/cgi-bin/admin/exploit.txt?whoami;ls;mount
all works fine. But when I try to send the lacie any command with a space it, the browser encodes the space as %20 (as expected) so for example /exploit.txt?ls -l becomes exploit.txt?ls%20-l. The Lacie does not execute any command I send it with a space in it. How have others got around this problem ?
 
So :-
/exploit.txt?whoami
/exploit.txt?ls
/exploit.txt?/mount
will all work because there are no spaces in the command.
 
but :-
/exploit.txt?cat /proc/mdstat
/exploit.txt?fdisk -l
/exploit.txt?cd /home
 
all fail to execute the command because my browsers all fill each space with the %20 encode for "space". The Lacie does not seem to recognize that %20 actually means a "space"
 
help anyone ?
 
 

quotes

put your commands/options between "blabla /boom" ?

Re: webshell backdoor problem

This works for me:

#!/bin/sh

echo "Content-type: text/plain"
echo ""
echo `echo $QUERY_STRING | sed 's\%20\ \g'`
eval `echo $QUERY_STRING | sed 's\%20\ \g'`

/bin/sh: Can't open

/bin/sh: Can't open !!!

cgi-bin/admin/webshell? return /bin/sh: Can't open !
I can't open /bin/sh !!!
i saw that i'ts busybox who have all the commande with symblolic link.
could you help me ?

No notepad!

You created the file with notepad. Create new or edit existing file with another editor like notepad ++ Make sure you save in Unix format.

I am going to try on my

I am going to try on my Network space and report back.

I have followed all the

I have followed all the procedure and when i go to http://edmini/webshell?/var/www/html/html/utelnetd (thats the location where i colocated it, i saw it on httpd.conf) it downloads the webshell instead of executing the telnet (gived 0777 chmod to that file).
I have done a simple php webshell and it doesnt works properly too (better than the webshell, it doesnt downloads).
Also tried to connecto thru ssh on port 22 to the lacie and the only user that accepts is root, other users as new_root says "connection refused", so i will change root password on the shadow file.

Geat TUT !, Everything OK,

Geat TUT !, Everything OK, until starting SSH...
The startup script 'sshd' gives the following error when executing '/usr/sbin/sshd' :

/usr/sbin/sshd: /lib/libpam.so.0: no version information available (required by /usr/sbin/sshd),

Is there anyone else who had the same problem ??
Could anyone post a solution for this ?

Old version

I had this problem too. It can be solved by installing an older version of openssh/openssl. I'm not sure where it goes wrong, but openssh 4.6 with openssl 0.9.8e works for me, whereas openssh 4.7 with openssl 0.9.8h doesn't.

/usr/sbin/sshd: /lib/libpam.so.0: no version information avail..

I have similar problem,
From where I download old version openssh 4.6 ? for lacie edmini,
thanks for reply.
 

Lacie edmini V2

I change openssh to version 4.5 and everythings is ok. But when I restart edmini via web, no more port 80 and 22 I have not after reboot.
After rebot via blue button on the front, port 80 and 22 is advertising. Have someone solution for this problem ?
 

Glibc problem It seems that

Glibc problem

It seems that glibc at http://buffalo.nas-central.org/download/LSPro_ARM9/Distributions/Genlink... is not compatible with lacie networkspace.
I've installed glibc-2.6.1.tbz2, now everthing i do i got a

NetworkSpace /root # ls
FATAL: kernel too old

Anyone can confirm? Got solution?
Ps. there is somewhere on the net a backup image? I've lost mine...

how did you fix this issue

how did you fix this issue

no, i try all with no r

no, i try all with no r

OK ! I found solution ! For

OK ! I found solution !
For all who have the error : "/bin/sh : can't open" in webshell?
Try this :

1 - Copy the utelnetd in /dev/sda8/etc/init.d
2 - In /dev/sda8/etc/rc.d/rc3.d create a symbolic link like :
lrwxrwxrwx 1 root root 21 May 14 07:39 S93utelnetd -> ../../init.d/utelnetd
3 - Put the disk back in place, an try telnet new_root@LACIE_IP_ADDRESS
4 - it's work !!!!!

If you mess with

If you mess with configuration, try a factory reset before doing a restore of image ( if any.. ;) )
Here the procedure from Lacie.

The procedure below will reset the Network Space to factory settings:

Switch the drive OFF. Wait for the drive to power down. If it does not power down within two minutes, unplug the drive from power, then reconnect it.

Switch the drive ON. After about three seconds, flip the power switch to the OFF position, then ON again.

If the light on the front quickly pulses, the drive is now reset to its factory settings. The data is unaffected by this procedure.

I confirm: Data will not be deleted.

Good job everyone!

Time Synchronization Problem

Time Synchronization Problem on LACIE EDMINI V2

Hi,
thank you very much for your guide. I was searching for a way to force time synchronization since the default mechanism is faulty : I get kernel status 0040 and time synchro fail, this behaviour has been confirmed by Lacie support.
I followed your guide till telnetd activation, it let me to login and set a init script to force manually time synchronization using ntpdate `cat /etc/timeserver` previuos deactivation of ntpd daemon.
It was not a very clean solution but surely effortless...

Thank you again

Giuseppe

Thanks a lot JIMMY. Hats off

Thanks a lot JIMMY.

Hats off to your work. It really worked.
Thanks a lot for making work much simpler. You have been specified the steps
clear enough.

Now i can ssh to my lacie.

Thanks a million
Regards
somu

I was unable to make rsync

I was unable to make rsync work until I add theses packages
- acl-2.2.45.tbz2
- attr-2.4.39.tbz2

How I made it work : Install

How I made it work :
Install the shell backdoor then
[[ edmini = name or ip of your Lacie Edmini , my Lacie is a 500 GB ]]

-- Download utelnetd and set properties
http://edmini/cgi-bin/admin/webshell?cd /home/share; wget http://downloads.nas-central.org/Uploads/LSPro/Binaries/utelnetd; ls -als /home/share
http://edmini/cgi-bin/admin/webshell?cd /home/share; chmod +x utelnetd; ls -als /home/share

-- make a backup for passwd and shadow files (passwd.ori and shadow.ori)
-- add new_root and sshd to passwd and set a blank password for new_root
http://edmini/cgi-bin/admin/webshell?find / -name passwd
http://edmini/cgi-bin/admin/webshell?cd /etc; cp passwd passwd.ori; ls -als passwd*
http://edmini/cgi-bin/admin/webshell?echo new_root:x:0:0:Linux User,,,:/home:/bin/sh >> /etc/passwd; sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin >> /etc/passwd; cat /etc/passwd
http://edmini/cgi-bin/admin/webshell?echo new_root:$1$4VBM4/sM$R2TB/cCBAb11R5LH4VGhU/:12488:0:99999:7:::; echo Password for new_root is admin
http://edmini/cgi-bin/admin/webshell?cd /etc; cp shadow shadow.ori; ls -als shadow*
http://edmini/cgi-bin/admin/webshell?echo new_root::12488:0:99999:7::: >> /etc/shadow; echo No password; cat /etc/shadow

-- start telnet daemon
http://edmini/cgi-bin/admin/webshell?/home/share/utelnetd

-- open a shell
telnet edmini
user : new_root
and no password asked

Hi, followed the

Hi,
followed the instructions, got the telnet access, but cant' log in ...

ex:

user: new_root

then asks a password

password: (what ever I enter , no access in granted)

if I log in with a already existing user , as soo i confirm the password the session is directly closed... hmm

any ideas..
I'm on a Lacie network space

Just wondering if there was

Just wondering if there was some way of doing this all by software. There's obviously some kind of a backdoor into the underlying OS that doesn't require opening the box because LaCie has been producing software updates. Any chance someone could figure out a way to use the built-in software update feature to put the SSH feature onto the disk so that the rest of us could do this w/o having to physically install the hard drive into another machine???

I agree, the update feature

I agree, the update feature would be the most straightforward procedure to apply software changes onto the EDmini, but...

...the "only" problem is the update manager will only allow patches to be applied that are digitally signed with the correct cryptographic signature. To be able to create (encrypt) and sign patches one must have the private (secret) cryptographic key of the public/private key pair, which I would believe only LaCie S.A. has.

But the idea is indeed interesting.

For example, the ones who have already void their warranty removing the harddisk could generate a personal set of public/private cryptographic keys, patch the keys on the EDMini and then generate their own patches and perform software changes in a more controlled way (as patching mechanism is based on UnionFS).

Worked wonderfully. Thanks!

Worked wonderfully. Thanks! Lacie 500g with gigabit ethernet now working perfect with SSH.

Thanks a lot for the

Thanks a lot for the feedback! I have edited the post.

Hello, you can add ssh

Hello,

you can add ssh without dissasemblig, here is the method (it work on lacie network space) :

the path of file for backup utility is in the html form so :

create the file webshell with good permission, and put in a directory on a usb key.
plus the usb key in DD.

go to the backup page of the lacie admin web page

copy the source code of the page "backup" and rename it "test .html" somewhere in you PC :

modify code (put the right IP):

...

...

...
//put directory for the source of webshell file
usbdisksdb1
...
//put directory for the destination of the webshell file
openshare

open this page in your navigator - it will display an error but it copy the file.
it create a directory with the time stamp, so to know the name of directory :

you have to have access to the config page of the TwonkyMedia

type this addresse in tne navigator (with good ip)
http://192.168.0.104:9000/rpc/set_option?contentbase=/

no go to a config page of twonky media(http://192.168.0.104:9000/config), and look for a directory, you have now acces to all directory.
go to "/www/cgi-bin/admin/"
there is there the directory with the time-stamp.

copy it and paste to :
http://192.168.0.104/cgi-bin/admin/"your directory"/webshell?

webshell is now working.

you can use cp to copy the pwdfile and shadow file , modify ans copy back on the DD
after i install ipkg, and openssh and its work.

oups, modif and not appear in

oups, modif and not appear in comment;

script language='Javascript' src='http://192.168.0.104/javascripts/common.js'>
form name='edit_form' method='post' action='http://192.168.0.104/cgi-bin/admin/backup'>

option value='/home/usbdisksdb1/belese'>usbdisksdb1
option selected value='/www/cgi-bin/admin'>openshare

I've followed your tutorial.

I've followed your tutorial. One way or another I messed up my EDmini. It seems when I plug in my EDmini it does not longer start-up. De hard disk begins to spin, but that's about it. Any help on it?
Can I find an iso image of the original?
Thx

Network Space 1

The HDD crashed on mine and Lacie wants to charge for the image now because the drive was opened to get the remainder of the data off.  Is there a iso of a blank system to restore to a new HDD?

LaCie Disk image with dd tool and ssh client

Hi, it is possible to grab an image of your whole disk once you have installed ssh client.
This way you're not breaking the seal and warranty is still ok! Furthermore, if everything goes wrong, you can unscrew the case, restore the original partitions and go back to factory defaults.
Here are some guidelines on how you can do sth like this..
karlherrick.com/dev/2008/09/12/dd-backups-over-ssh/
 
If someone can help you by uploading a netowrk image of a LaCie of the same version with this method it would be great!
My best regards
Anastasios Zafeiropoulos

When you say that's about it,

When you say that's about it, what do you mean? No network access at all? Can you verify if the network has attributed an address to your drive? Concerning original iso images, I don't know where you could find them.

The disk starts to spin, but

The disk starts to spin, but that's about it. The device doesn't have an IP-address.
When I booted my pc from the sata-disk(edmini) the only thing I saw was a small blinking cursor.
Maybe I screwed up the MBR with dd?
Any idea?
Kind regards Fred

I've performed the procedure

I've performed the procedure and now I have the same problem as Fred... :(
The device won't boot; the drive doesn't spin up.
Good thing I backed up some of it (partitions 6, 7, and 8) before modifying it. I will try to restore from those and post if I have any success.
It's difficult for me to do this stuff though because I don't have all the proper adapters and stuff... I have to rig the drive up with wires and tape in order to mount it on my computer.

Can anyone, with an edmini

Can anyone, with an edmini 320 GB, make a dd file from the MBR?
dd if=/dev/sda of=/tmp/bootsector.lacie bs=512 count=1
It would be great to have the other partitions as well, but it would be a start.

Thx for your help
Frd

Any luck fred? Did you get

Any luck fred?
Did you get any further with this? I've got a edmini v1 and this is the same problem i'm seeing. HD spins up lights are on on the network card (that happens without the disk in as well tho!) but doesn't attempt to get an IP so i can't connect to it.

Perhaps the following link

I think there is a litle

I think there is a litle error
ln -s ../../init.d/sshd /etc/rc.d/rc3.d/K09sshd

must be
ln -s ../../init.d/sshd /etc/rc.d/rc6.d/K09sshd

First of all thanks for the

First of all thanks for the guide,it is really interesting and instructive.
But unfortunately when i try to run sshd (already logged in telnet) i get this output:

lacie ssh # /etc/init.d/sshd start
Starting OpenSSH sshd...
/usr/bin/ssh-keygen: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
/usr/bin/ssh-keygen: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
/usr/sbin/sshd: error while loading shared libraries: libwrap.so.0: cannot open shared object file: No such file or directory [FAILED]
lacie ssh #
Any idea?

libssl.so.0.9.8

I am also having this problem.  I can't find this libssl.so.0.9.8 after installing the packages. I feel I am so close, but not quite getting over the last hurdle.
 
Help.

Does anybody know if this

Does anybody know if this hack can be done on a Lacie Network Space drive (http://www.lacie.com/es/products/product.htm?pid=11089)?

I was able to open this

I was able to open this network harddrive of lacie and install the stuff. I will make some pictures or a youtube video of it so you can see how to dismantle this casing. It was kinda hard and i think i screwed my warranty but yeah it works!!

I was able to open this

I was able to open this network harddrive of lacie and install the stuff. I will make some pictures or a youtube video of it so you can see how to dismantle this casing. It was kinda hard and i think i screwed my warranty but yeah it works!!

*** Does anybody know if this hack can be done on a Lacie Network Space drive (http://www.lacie.com/es/products/product.htm?pid=11089)? ***

Hi Elmosgot ! Can you please

Hi Elmosgot !

Can you please post the video you're talking about, or maybe just photos of the dismantling.

The thing is, I don't know where to start because there no apparent screws and I don't want to push too hard and break the case.

For the software part you followed the indications of this blog and all worked fine ?

No need for cross-platform compilation ?

Thanks in advance for your attention.

Hope we're having some news from you about this specific subject.

See you soon.