Netatalk

From 68kMLA Wiki
Revision as of 09:43, 3 March 2014 by ChristTrekker (talk | contribs) (categorization)
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 Saucy

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

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 -uamlist uams_guest.so

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)

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

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!

I still need to test if I can connect with Mac OS 8 and under. I will edit this when I have confirmed that it does.