It has been difficult to find folks in the same situation because usually it's a question of having Time Machine backup to Ubuntu, or use samba to keep files in Ubuntu. I will share my progress and hope it is helpful.
I have had luck with Alex's afpfs-ng. I run Intrepid Server on a Dell desktop, and also a test environment using Parallels in OS X Leopard. My Time Capsule is on the LAN, and is also my router. The Dell connects via ethernet cable, and the Mac connects wirelessly. The purpose for mounting my Time Capsule in Ubuntu is not to park files so much as it is for running scheduled backup scripts via a command-line utility (rsync or dirvish). I can mount it in Ubuntu using either CIFS or afpfs-ng. I have recently decided to give AFP another shot after getting stuck on some permission and write issues with CIFS.
With AFP, I can mount the drive using the following command:
Code:
mount_afp afp://username:password@host/timecapsulevolume /mountpoint
Or in fstab:
Code:
afpfs#afp://username:password@host/timecapsule volume /mountpoint fuse user=adrick,group=fuse 0 0
Where your username and password are for the Time Capsule disk, depending on whether or not you allow disk access with accounts, the Time Capsule password or a disk password. You host is either what you choose when setting up time capsule (i.e. Bill Bixby's Time Capsule.local), your local IP address for the TIme Capsule, or if you allow WAN access you can use your domain name or IP address. Your Time Capsule Volume would be the name of the Time Capsule disk. The user and group in the fstab entry are for the Ubuntu user mounting the share.
More information about this can be found on Alex's page:
http://alexthepuffin.googlepages.com/
I have tried both CIFS and AFP, and AFP thus far has required less intimate time with configuration files and mount procedures than CIFS. Once setup mounting and unmounting is a breeze.
In your case I would recommend having a look at /etc/netatalk/afpd.conf to make sure you have a line at the end of the file looking something like:
Code:
- -transall -uamlist uams_randnum.so,uams_clrtxt.so,uams_dhx.so -nosavepassword -advertise_ssh
The important part is it pertains to mounting your Time Capsule to to make sure you have uams_dhx.so in that line.
By the way, once I started having success I decided to make the configuration more permanent by removing the Time Capsule drive, plugging it into my Mac, and then partitioning it to create a separate, non-journaled HFS file system for Ubuntu. That way I don't have Time Machine on my Mac fighting with Ubuntu for space. Here is an article to show you how if you end up going that route:
Teardown: a look inside Apple's Time Capsule backup appliance
Bookmarks