Alternate Setup with AFP (Apple Filing Protocol)
I've found that Time Machine backups work much better over AFP. They run much faster and appear to be a little more reliable and tolerant to interruptions (like putting the computer to sleep). So if you have an unslung box, I'd recommend going this route. For my setup, I don't configure any user security. Some forums mention difficulties with getting user security to work with the NSLU2 and since my setup doesn't require it, I didn't try it. These instructions are for Unslung 6.10, but I'd imagine they apply to most distributions other than the stock linksys firmware.
- Install the netatalk package
ipkg install netatalk
- Edit the /opt/etc/netatalk/AppleVolumes.default file and add the following line at the bottom. You may need to adjust the line to point to the directory you want to share out as your Time Machine backup drive.
/share/flash/data/public "Time Machine"
- Edit the /opt/etc/netatalk/afpd.conf file and add the following line at the bottom.
"Time Capsule" -uamlist uams_guest.so
- You need to implement some way to start the AFP daemon on startup. I do this by launching it from an /unslung/rc.local script. Here are instructions on how to do this:
* Create or edit /unslung/rc.local in your favorite editor
* At a minimum have the following lines in your file: #!/bin/sh
# Start afpd
/opt/sbin/afpd
return 1
* Make the file executable by running chmod 755 /unslung/rc.local
Reboot, and AFP should be running.