OS X Mavericks Won't Connect To Ubuntu Server (Netatalk, Avahi)

26,682

Solution 1

In the end, I could never get Netatalk to work with OS X Mavericks. With AFP being deprecated and all, I decided to setup my file server using SMB instead.

It worked wonderfully. Here's the tutorial I wrote:

http://www.andyibanez.com/260-linux-file-server-os-x-mavericks

DISCLAIMER: While I am the author of that article, I really want people to find it helpful. Please don't take this as personal advertising. Thank you!

Solution 2

This worked for me on Fedora 20.

  • Edit /etc/netatalk/afpd.conf. At the end of the file are the default parameters:

    -tcp -noddp -uamlist uams_dhx.so,uams_dhx2.so
    

    Notice it is commented out. Uncomment the line and change it to:

    -tcp -noddp -uamlist uams_dhx_passwd.so,uams_dhx2_passwd.so
    
  • I don't know if the leading space is important,so leave it in. Restart netatalk:

    systemctl stop netatalk
    

    Wait for about 20 seconds or so.

    systemctl start netatalk
    
  • Adjust path names and restart commands for Ubuntu. It should work.

Share:
26,682

Related videos on Youtube

Andy Ibanez
Author by

Andy Ibanez

Updated on September 18, 2022

Comments

  • Andy Ibanez
    Andy Ibanez over 1 year

    I'm really sorry for posting this. I know it may have been asked a thousand times. I have googled like crazy and I'm on the verge of desperation here.

    Basically, I followed this guide:

    http://motionsoundfx.com/2012/05/ubuntu-vnc-afp-macosx/

    To create a small personal file server. When I installed it, I was able to connect to it just fine, I connected with my Ubuntu username and password and I was able to see the home directory. But later, I had to restart the file server so I could prepare a couple of other hard drives to put in.

    When the server restarted, I tried to connect to it, but I got an error message on my Mac:

    "The version of the server you're trying to connect to is not supported. Please contact your system administrator to solve this problem."

    Again, I have googled like crazy for this, and everybody says it is a problem with OS X Lion and up (assuming it affects Mavericks too). I have tried all the fixes mentioned for Lion and Mountain Lion and I haven't had any luck. That's the reason I'm posting this here: I suspect the problem is with my Ubuntu server. This happened after I restarted the server. Before restarting the server, I just put in my credentials and saw my home directory. Something when I restarted the server must have been messed up.

    I have found some other solutions, including to use "SHX2" in the conf file, but it hasn't worked for me.

    I ask for your help to solve this issue.

    Also please understand I'm completely illiterate when it comes to Linux. This is a nice chance to me to learn the OS so please give me detailed steps to do things if you deem it necessary. Thank you!

    I'm using Ubuntu Server 13.10 (the latest one as of today).

  • skywinder
    skywinder over 10 years
    so, what about Time Machine backups? Is it possible to setup TM backup trough smb?
  • Andy Ibanez
    Andy Ibanez over 10 years
    To be honest I have no idea, as I don't use my server as a Time Machine backup, but if it was possible with AFP, I don't see why it would be any different with SMB.