In addition, there is an outstanding bug that frequently causes it to fail to run on Linux with an error in setifaddr.Īs a matter of fact, in the 5 years since the release of Netatalk 2.2.6 an impressive number of forks and projects with their own downstream patchset to keep Netatalk running have emerged. Unfortunately, Netatalk 2.2.6 (which was the last one in the 2.x series) no longer compiles out of the box on modern systems. For us who want to use Netatalk with really quite old Macs (and Apple //e & //gs) Netatalk 2.2 is mandatory. For those who are unaware, Netatalk 3.x dropped support for the AppleTalk / DDP protocol in favor of TCP/IP. While researching Netatalk integration with RaSCSI it struck me just how painful it was to get Netatalk 2.2 working well on a modern Linux distro. Grab the latest stable release from GitHub. I may try a plain Ubuntu distro on the Pi instead and see how that goes.TL DR There is a new fork called Netatalk 2.x that integrates all the community patches since the 2.2.6 release, which works out of the box on modern distros.
I used the exact same source code and build steps as with the Ubuntu 20.04 VM running on a Xeon server. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)įeb 08 22:24:08 raspberrypi systemd: Dependency failed for AppleTalk print server daemon.įeb 08 22:24:09 raspberrypi systemd: rvice: Job rvice/start failed with result 'dependency'. It compiles and installs fine on the RasPi 3, and the afpd service is running, but atalkd, papd, etc all fail with errorsįeb 08 22:24:14 raspberrypi systemd: rvice: Scheduled restart job, restart counter is at 5.įeb 08 22:24:14 raspberrypi systemd: Stopped Netatalk AppleTalk daemon for AFP fileserver.įeb 08 22:24:14 raspberrypi systemd: rvice: Start request repeated too quickly.įeb 08 22:24:14 raspberrypi systemd: rvice: Failed with result 'exit-code'.įeb 08 22:24:14 raspberrypi systemd: Failed to start Netatalk AppleTalk daemon for AFP fileserver. I couldn't get netatalk to run correctly on a RasPi 3 so that's why I used a VM. I hope I didn't break any forum rules for encouraging violence against PCs. It was found on the original 20MB hard drive in this SE.
Pretty cool to find yet another piece of actively developed software that relies on Netatalk 2!Īs a bonus, here's a print-out, made with LaserWriter 7.0 drivers over a LocalTalk bridge, via a Power Mac 8600, through Netatalk papd on a RPi, spooled by CUPS over wifi to an HP Tango printer. Apparently, some extra safeguards against timeouts were needed for such a high-latency connection. I also learned that these two patches are for making Netatalk 2 coexist with a project called atalkvpn which is a tunnel for AppleTalk phase 1, which can be used over AppleTalk PPP for instance. Would you mind testing the latest branch-netatalk-2-2-x in your GS/OS environment to make sure everything is still well? I tested with LaserWriter 7 / System 6.0.7 and LaserWriter 8 / MacOS 8.6 on my end, and there were no observed ill effects from the changes.
The original patch author got back to me with a few extra tweaks on top of the changes that you and I suggested. I've reintroduced the papd spoolreply(), as well as session tickle disabling, code with some changes.