-
Notifications
You must be signed in to change notification settings - Fork 99
Installing Netatalk 2 on NetBSD
- Compile Netatalk from Source: NetBSD in the Manual
- INSTALL.md in the source tree
NetBSD is one out of a handful of distributions that still actively maintain an AppleTalk kernel module.
Additionally, it has an up-to-date Netatalk 2.x package in the pkgsrc repository that works out of the box.
Before starting, make sure you have a working pkgsrc environment.
Install the packages that netatalk22 depends on:
pkg_add \
git \
mozilla-rootcerts-openssl \
gcc13 \
autoconf \
libtool \
pkg-config \
db5 \
libgcrypt \
libressl \
gmake \
cups \
cracklib
Install netatalk22 itself:
pkg_add netatalk22
When building netatalk from source code, make sure to enable the NetBSD init script with --enable-netbsd
or equivalent.
Once installed, you can control the netatalk service as any other NetBSD service.
If needed, copy the installed netatalk initscripts to the /etc/rc.d
directory.
NetBSD comes with an AppleTalk kernel module (/sys/netatalk
) which Netatalk can use for DDP transport protocol out of the box.
In order to register with the AppleTalk protocols, the /etc/services
file must contain proper protocol definitions. These aren't always provided out of the box, so you may have to add these lines manually if atalkd and other AppleTalk apps are throwing unknown protocol errors:
rtmp 1/ddp # Routing Table Maintenance Protocol
nbp 2/ddp # Name Binding Protocol
echo 4/ddp # AppleTalk Echo Protocol
zip 6/ddp # Zone Information Protocol
afpovertcp 548/tcp # AFP over TCP
afpovertcp 548/udp
From: https://github.com/Netatalk/netatalk/blob/main/config/services.atalk
Resources
- Getting Started
- FAQ
- Troubleshooting
- Connect to AFP Server
- Webmin Module
- Benchmarks
- Interoperability with Samba
OS Specific Guides
- Installing Netatalk on Alpine Linux
- Installing Netatalk on Debian Linux
- Installing Netatalk on Fedora Linux
- Installing Netatalk on FreeBSD
- Installing Netatalk on macOS
- Installing Netatalk on NetBSD
- Installing Netatalk on OmniOS
- Installing Netatalk on OpenBSD
- Installing Netatalk on OpenIndiana
- Installing Netatalk on openSUSE
- Installing Netatalk on Solaris
- Installing Netatalk on Ubuntu
Tech Notes
- Capturing AFP network traffic
- Kerberos
- Special Files and Folders
- Spotlight
- MySQL CNID Backend
- Slow AFP read performance
- Limiting Time Machine volumes
- Netatalk and ZFS nbmand property
Retro AFP
Development