Upgrade Netatalk

At last I have a chance to upgrade new updates of Netatalk 2.2.2 that already released two months ago.  The Time Machine and my shared folders work great with no issues. I use Ubuntu 11.04 and my Mac use latest version OSX Lion 10.7.3.

I see that new features are not really for Ubuntu, but there are some updates and bugs fixes that are useful to users. So it is recommended to upgrade for users who uses version 2.2.1.

This article is for you who already used Netatalk 2.2.1 and follow this post. If you are new to Netatalk, please follow the steps in that article.

To upgrade Netatalk you can follow Netatalk part in the article, just change the version 2.2.1 to 2.2.2. Or you can just follow the steps below.

Download the latest version 2.2.2 here.  Stop Netatalk service if it is running. Open terminal then type:

$ sudo service netatalk stop

To make sure you have clean installation remove the previous version.

$ sudo apt-get remove netatalk

Extract and setup Netatalk.

$ tar xzf netatalk-2.2.1.tar.gz
$ cd netatalk-2.2.1
$ sudo apt-get build-dep netatalk

Compile Netatalk

$ ./configure --enable-debian
$ make
$ sudo make install

You don’t have to change or recreate your configuration files. But you can check your afpd.conf and AppleVolumes.default files if you like. Restart Netatalk service.

$ sudo service netatalk start

Check AFPD version running:

$ afpd -d

You will see something like this:

afpd 2.2.2 - Apple Filing Protocol (AFP) daemon of Netatalk

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version. Please see the file COPYING for further information and details.

afpd has been compiled with support for these features:

AFP versions: 2.2 3.0 3.1 3.2 3.3
DDP(AppleTalk) Support: No
CNID backends: dbd last tdb

afpd.conf: /usr/local/etc/netatalk/afpd.conf
AppleVolumes.system: /usr/local/etc/netatalk/AppleVolumes.system
AppleVolumes.default: /usr/local/etc/netatalk/AppleVolumes.default
afp_signature.conf: /usr/local/etc/netatalk/afp_signature.conf
afp_voluuid.conf: /usr/local/etc/netatalk/afp_voluuid.conf
afp_ldap.conf: not supported
UAM search path: /usr/local/etc/netatalk/uams/
Server messages path: /usr/local/etc/netatalk/msg/
lockfile: /var/lock/afpd

You have to reconnect connection to the server via Finder, make sure you select to remember the password. Then you have to reconnect the shared folder in Time Machine. The last step is to test if Time Machine works.

Advertisements

One Response to Upgrade Netatalk

  1. bhursey says:

    Thankyou so much I was banging my head against the wall after upgrading to OSX 10.7.3 and Ubuntu 11.10. You had the only solution that worked.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: