Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Netatalk, can't connect and the documentation is for the devs themselves... ¬.¬  (Read 592 times)

Bastet

  • 4 MB
  • **
  • Posts: 7
    • Lionscade

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:
Code: [Select]
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:
Code: [Select]
;
; 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?  :-\
Logged

Bastet

  • 4 MB
  • **
  • Posts: 7
    • Lionscade

Addendum, i gave myself a password with afppasswd, so that should be sorted out.
Logged

Mat

  • 512 MB
  • *****
  • Posts: 726

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.
« Last Edit: February 10, 2025, 07:13:11 AM by Mat »
Logged

dressupgeekout

  • 4 MB
  • **
  • Posts: 6
    • dressupgeekout's Home Page

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.
Logged

V.Yakob

  • 64 MB
  • ****
  • Posts: 111
  • Mac User

I have such a configuration, Netatalk is install from brew on macOS

Code: [Select]
% 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.
« Last Edit: May 08, 2025, 03:02:12 PM by V.Yakob »
Logged
68k — Macintosh Quadra 950.
PPC — PM 8100/80, PM 9500/200, PM 9600/300, PM G3 Minitower (Rev. C), PM G3 B&W (Rev. B), PM G4 Quicksilver, PM G4 MDD, PM G5 (Dual-Core).
Intel — Mac mini (mid 2010), iMac 5k (2017), Mac mini (2018).
AppleSilicon — Mac mini (2020), Mac Studio (2023).
Pages: [1]   Go Up

Recent Topics