Mac OS 9 Lives
Mac OS 9 Discussion => Software => Topic started by: Bastet on February 09, 2025, 10:32:26 AM
-
In short, can anyone provide me with an example config (/etc/netatalk/afp.conf) that should work with OS9 out of the box.
I try to have a netatalk daemon running on my main system, Ubuntu 24.04, so that i can get files to and from my OS9 box but for whatever reason i can't connect.
On the Linux side i see that the OS9 side tries but the only line i see is the AFP statistics:
Feb 09 19:21:36 LionsDeck afpd[44822]: AFP statistics: 0.08 KB read, 0.06 KB written
I already enabled the older auth protocol, restarted the daemon but, well, no changes.
My config:
;
; Netatalk 3.x configuration file
;
; Global server settings
[Global]
uam list = uams_randum.so uams_dhx.so uams_dhx2.so
; [Homes]
; basedir regex = /xxxx
[NetTalkPostkorb]
path = /media/bastet/LionsDeckSD/NetTalkPostkorb
; [My Time Machine Volume]
; path = /path/to/backup
; time machine = yes
Any ideas? :-\
-
Addendum, i gave myself a password with afppasswd, so that should be sorted out.
-
You know that Netatalk sadly removed AppleTalk support years ago (what makes "out of the box" usage for Mac OS 9 quite impossible), with version 3?
Either go back to Netatalk 2.something, or upgrade to the latest 4 which brought back AppleTalk a few months ago.
-
For whatever it's worth, I recently went through this exercise myself. I confirm that both of you are correct: Netatalk 2 seems to work better, and setting up credentials with `afppasswd` is necessary.
https://dressupgeekout.com/classic-macos/netatalk_macos9/
My tutorial is written assuming a NetBSD host, not Linux, but I expose some of the potential pitfalls which would affect anyone who wants to enable OS 9 <--> Netatalk communication.
-
I have such a configuration, Netatalk is install from brew on macOS
% cat /opt/homebrew/Cellar/netatalk/4.2.1/etc/afp.conf
#Netatalk 3.x configuration file
[Global]
#Global server settings
log file = /var/log/afpd.log
#loglevels: severe, error, warn, note, info, debug, debug6, debug7, debug8, debug9, maxdebug
log level = default:maxdebug,afpdaemon:maxdebug,logger:maxdebug,uamsdaemon:maxdebug
#save password = no
mac charset = MAC_ROMAN
#UAMs
#uams_dhx.so uams_dhx2.so uams_randnum.so uams_clrtxt.so uams_guest.so
uam list = uams_dhx.so uams_dhx2.so uams_clrtxt.so
[AFP Share]
path = /Users/vyakob/Shares/AFPShare
file perm = 0666
directory perm = 0777
cnid scheme = dbd
#Uncomment the following line to restrict access to specific users
#valid users =
[Mac Soft]
path = /Users/vyakob/Library/Mobile Documents/com~apple~CloudDocs/Applications/Mac
file perm = 0444
directory perm = 0444
cnid scheme = dbd
[Mac OSs]
path = /Users/vyakob/Library/Mobile Documents/com~apple~CloudDocs/OSs
file perm = 0444
directory perm = 0444
cnid scheme = dbd
Instructions for installation and configuration can be taken here (https://github.com/Netatalk/netatalk/wiki/Installing-Netatalk-on-Ubuntu).