Child pages
  • Netatalk
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Netatalk

Netatalk is an open source implementation of the Apple File sharing Protocol (AFP). It supports Time machine and advertising of services with multicast dns (Bonjour in Apple's jargon).

See the netatalk site for more details: http://netatalk.sourceforge.net/

There are currently no packages available for Open Indiana, so it must be built from source.

Installation Instructions for Open Indiana

Prerequisites

Open Indiana packages

The following packages are required to run netatalk:

# pkg install system/network/avahi service/network/dns/mdns

A build environment is required. You will need these packages installed if you don't already have them:

# pkg install developer/gcc/gcc-43 developer/gnu developer/gnu-binutils

Berkeley DB

Download Berkeley DB from Oracle (there doesn't seem : http://www.oracle.com/technetwork/database/berkeleydb/downloads/index-082944.html

$ cd build_unix
$ ../dist/configure --prefix=/usr/local
$ make
# make install

(Note, I chose to install bdb into /usr/local. it's default is "/usr/local/BerkeleyDB.4.7". If you use the default or another location, you will need to pass that to netatalk's configure below.)

Runtime Linking

Netatalk builds into /usr/local and requires /usr/local/lib to be in the run-time linking environment:

# crle -u -l /usr/local/lib

Netatalk requires Berkeley DB to be installed. (I have read a few issues with later versions of Berkeley DB, I use 4.7.25 and it works fine.)

Building netatalk

Download netatalk from: http://netatalk.sourceforge.net/

The current stable version is 2.1.5. Version 2.2 is in beta and is worth a look for those so inclined.

$ ./configure --without-ddp
$ make
# make install

You may need to add --with-dbd=/path/to/berkeleydb if configure can't find it.

Running Netatalk

For netatalk to publish it's services using Multicast DNS (Bonjour / ZeroConf / Avahi) you will need to enable these services:

# svcadm enable svc:/network/dns/multicast:default
# svcadm enable svc:/system/avahi-bridge-dsd:default

And start netatalk with this command

# /etc/init.d/netatalk start

For more information check out the Netatalk web site and mailing lists.

  • No labels