I wrote an article a few months back about Time Machine over TCP to a Linux NAS. I linked to a few how-to’s that walked you through compilation and setting up your mac to accept remote volumes for backup devices.
I have little experience creating deb packages – but I figured I would release my working Ubuntu specific deb for others to test out and see how it goes. I have tested it on a fresh install :
Linux laptop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux
Here is what I had to do to install it :
wget http://geekhut.org/downloads/netatalk_2.0.4~beta2-5ubuntu1_i386.deb
sudo dpkg -i netatalk_2.0.4~beta2-5ubuntu1_i386.deb
sudo apt-get -f install
You can edit your shares in /etc/netatalk/AppleVolumes.default
For instance, the last two lines of mine look like :
/media/shared/Backups/ "Time Machine"
/media/shared/ "Shared"
You will also want to add the following to the bottom of /etc/netatalk/afpd.conf :
- -transall -uamlist uams_randnum.so,uams_dhx.so -nosavepassword -advertise_ssh
Once you have it all set up, you will probably want to advertise this service on the network as an Apple device. Copy this file into /etc/avahi/services/afpd.service.
Restart avahi : sudo /etc/init.d/avahi restart
Restart netatalkd : sudo /etc/init.d/netatalk restart
You should now see your new AFP server in your apple’s finder sidebar. If not click Finder => Go => Connect to Server and type afp://your-hostname.
Anyway I hope the file works for you, I can not guarantee anything and assume NO liability if it shits the bed. Give it a shot and let me know how it turns out for you.



