Setting up samba,netatalk and avahi (bonjour) on raspberry pi

view story

http://unix.stackexchange.com – I'm trying to create a fileserver/timecapsule combo server out of my new raspberry pi (Raspbian), and it's not going as well as I'd like. netatalk, avahi and samba are the packages that I'm using and they're not playing nice with each other. I would like all shares, AFP and SMB to be accessible from a server icon in the finder navigation bar. This is what I know Netatalk has built-in bonjour support, so if you run netatalk, the afp shares show up nicely in Finder (great!). Samba does not have built-in bonjour support, but with the help of avahi, it's possible to advertise your smb shares thro (HowTos)