I am replying to my own post as I found a workaround to this issue that may be helpful for others. I couldn’t update the netatalk afp server on the EDmini but was able to run debian from a usb pen-drive and install netatalk 2.2 on it.
Started by following the following two guides on NAS Central wiki:
SSH daemon on the EdMini v2 http://lacie.nas-central.org/wiki/SSH_daemon_on_the_EdMini_v2
and Painless Debian http://lacie.nas-central.org/wiki/Painless_Debian
I used a Mac running virtualized Linux for the above installations. Then used the ssh shell for the remaining.
Next thing I did was to install Petr Malát's clock and btnd as described in http://malat.biz/cgi-bin/twiki/bin/view/Projects/LacieSystemSetup
None of the above is my work and I deeply thank the authors for their excellent work!
I had to configure btnd with no decimal values for the button to work properly on my installation. Did the following:
Replace the “0 0.5 halt” line by:# Shut down Edmini after short press (0 to 1 sec)
0 1 /sbin/poweroff.sh
Now follows the netatalk 2.2 installation.
1) add sources repository for apt
Add a new line: deb-src http://ftp.us.debian.org/debian/ lenny main
2) install the required packages for source compilation
apt-get install gcc make
3) Install netatalk required libraries and build dependencies
apt-get install cracklib2-dev libssl-dev libdb-dev
apt-get build-dep netatalk
4) dowload netatalk 2.2 sources and cd into source dir
mkdir -p /usr/src
wget --output-document=/usr/src/netatalk-2.2.0.tgz http://sourceforge.net/projects/netatalk/files/netatalk/2.2/netatalk-2.2.0.tar.gz/download
tar -xzf ./netatalk-2.2.0.tgz
5) configure netatalk. I got best results with faster cdb backend than suggested (more secure) dbd. Refer to netatalk manuals at sourceforge for cnid backend options.
./configure --enable-debian --with-cnid-cdb-backend --enable-zeroconf --with-ssl-dir=/usr/include
6) build and install
The above commands will take a lot of time to complete. Be patient.
7) Setup user account and password for afp access. Change the user name as you like.
usermod -a -g users afp_user
8) Configure Apple volumes. I used nano for editing but you may use vi or something else.
Your original shares are mounted in /home. Take a note of their name.
Add one line like the following for each share at the end of the file:/home/your_share_name allow: afp_user cnidscheme:cdb options:usedots,upriv,tm
9) Configure afpd
Add the following line at the end, after # default:- -transall -noddp -uamlist uams_randnum.so,uams_dhx.so,uams_dhx2.so -nosavepassword
10) Configure netatalk.
Make sure that the following lines are identical in your config file, without leading # char:ATALK_NAME=EDMini
opt: AFPD_UAMLIST="-U uams_randnum.so,uams_dhx.so,uams_dhx2.so"
11) start netatalk and setup automatic startup.
update-rc.d netatalk defaults
Next install and setup Avahi for your server to be advertised on the network.
For this follow another great guide (jump to step 5). http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/
Sorry for the long post and hope you too can enjoy this old box still serving for Time machine.