Netatalk

From 68kMLA Wiki
Revision as of 04:01, 3 January 2015 by PowerPup (talk | contribs) (Configure AppleTalk Interface(s): /etc/netatalk/atalkd.conf)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a WIP, I'm also new to wikis... So... I'll work on the formatting. PowerPup (talk) 00:46, 3 March 2014 (UTC)

Netatalk is an Open Source implementation of Apple's AFP server. The 2.x series of Netatalk supports AFP over AppleTalk, which is useful for remote storage for aging vintage Macs. This page will eventually contain tutorials on how to setup Netatalk on different *nix distros as I test on each of them.

Setting up Netatalk (2.2.2) on Ubuntu 13.10/14.04

Since the AppleTalk protocol is already compiled as a kernel module in Ubuntu, there's no need to recompile the kernel. So we just install netatalk from the Ubuntu repositories:

sudo apt-get install netatalk

Enable AppleTalk: /etc/default/netatalk

Use a text editor to uncomment and change the line "ATALKD_RUN" from "no" to "yes"

ATALKD_RUN=yes

Also make sure to uncomment the "AFPD_UAMLIST" setting and add "uams_guest.so" to the list

AFPD_UAMLIST="-U uams_dhx2.so,uams_clrtxt.so,uams_guest.so"

Enable AFP Server: /etc/netatalk/afpd.conf

Using a text editor, add the following (or use it as a reference) to the end of the file:

"AppleTalkServer" -ddp -notcp

You can change -ddp -notcp to -transall for both tcp and ddp(AppleTalk) support.

Configure AppleTalk Interface(s): /etc/netatalk/atalkd.conf

Use a text editor to add at the end of the file the device you want to have AppleTalk use: (eg; eth0, wlan0, etc)

When netatalk starts for the first time, it'll automatically add the needed information (address, etc) to the file.

I'll add info about routing here when I know how to... Configuration info here

Adding shares for guest: /etc/netatalk/AppleVolumes.default

Create a directory with read/write permissions for everyone:

sudo mkdir /AppleShare -m 777

Add a line to "/etc/netatalk/AppleVolumes.default" pointing to the directory and allow guests:

/AppleShare "Shared Folder" allow:guest,@users,nobody

Reboot Netatalk service

sudo service netatalk restart

Now you should be able to find "AppleTalkServer" under Chooser, connect as guest, mount "Shared Folder" and copy away!


Mac OS Client versions tested

Using the setup above, I've successfully connected the following to the netatalk server:

  • Classic II, running Mac OS 6.0.8 (AppleWorkstation 3.5) and Mac OS 7.1.
  • PowerBook G4 Titanium running Mac OS 9.2.2 and Mac OS 10.4.11.