Trying to install Netatalk on NethServer

Few news in my Nethserver learning…

I have already compiling and installing Netatalk 3.1.7
Configuring shorewall to open few ports (548, 5354 )
From my Mac, I 'am able to see the microserver but not able to connect to it yet.

I think that Netatalk must be more finely tuned.
I must look deeper in the AFP and ACL.
I see dbus message in logs too

It’s seem that there’s little divergencess between the Netatalk documentation and other information on the web like this one:

There’s diferences between ports number (5353 /5354)
And perhaps more service to install like nsswitch.

So there’s investiguations to do for me yet.

For now, it’s the hard way, but I hope win this battle and in the future, to be able to make a netserver module to do tis the soft way… A Nethserver OS X friendly module :smile:

Good Jim! Go ahead and keep us in touch… you’re not alone :smiley:

1 Like

To be more concise.

I exclusively use this doc:
and this one
And sure, this one:

Because other doc on the web can be outdated with the V 3.1.7.

Do you want to make TIme Mashine ? or AIR_Print? Do not forget about avahi daemon that should be configured

I want the Time Machine feature.

Thank you to remember me about Avahi daemon…
Is this one I`ve talked about when I said netatalk must be more fined tuned in one side.
To define what and how to anounce, on the network.

In the other side, there’s AFP, with the afpd.conf.
To define the resource to share, and how to access if I`m well understand

hey how did you know that he is not alone? how did you know that i’m testing the same thing? are you spying us? :stuck_out_tongue_closed_eyes:

@Jim i’ve made the same tests, but on a vm with a “relaxed” shorewall config (all open)
i’ve installed also avahi and dbus-python and it work to me
in addition to firewall’s change i’ve only configured /etc/netatalk/afp.conf
as explained on links you posted
hope to test your netatalk contrib soon :slight_smile:
ah… i’ve seen a nethserver-avahi package… it’s not installed by default, you could take a look to it…

Avahi is used for Print server CUPS :slight_smile:

The volumes netatalk will make available are defined in /etc/netatalk/AppleVolumes.default. Add the line below to /etc/netatalk/AppleVolumes.default to create the AFP time machine share, commenting out all other lines.

/mnt/TimeMachine TimeMachine volsizelimit:150000 allow:@timemachine rwlist:@timemachine cnidscheme:dbd options:searchdb,usedots,invisibledots,tm

The first parameter specifies the location of the shared volume, while the second specifies the name. The Time Machine uses a CNID database to reference files on the shared volume. By default, this database will be located in the root directory of the shared volume. The size of the shared volume reported to time machine is set using the volsizelimit parameter. The size is given in MiB. Set this parameter to less than the full size of the disk to reserve space for the database. (If the database can’t be written to or is corrupted, the entire Time Machine repository may be lost) The allow and rwlist parameters specify which users can access and write to the time machine. Either specify a user name directly, or just use @timemachine to allow access for users in the timemachine group. Reference the AppleVolumes.default man page for further information on options.

Configure netatalk by adding the line below to /etc/netatalk/afpd.conf.

"TimeMachine" -uampath /usr/lib/uams -uamlist -nodebug -nouservol -icon -nosavepassword -mimicmodel RackMac 

Create the file /etc/avahi/services/afpd.service, with the following content:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<name replace-wildcards="yes">Time Capsule</name>

Automatically generate AirPrint Avahi service files for CUPS printers

generate Service file for your printer and put it on :
and run :
service avahi-daemon restart
1 Like

Don’t you see a new camera into your room? :smiley: :smiley:


I will do with this stuff this week-end.

Thank you.

I do all youy instructions… But It’s seems like the situation is worst.

Now, I can`t see anymore the Microserver in the Finder :weary:

What is your Netatalk version?

you should type your MAC addres for Service , and it is not a config from NS, dig the mans , I only give your examples. Only you need to know that avahi need services for translation.

1 Like

Today Champagne for everybody :smiley:
Look at this screenshot:

Netatalk is working !!!
I’m doing my first Time Machine backup…

You know what?.. I’m happy :laughing:


@Jim please make some short HOW-TO and maybe Dev Team could implement this usefull feature for Apple users.

I will do :wink:
When Ill go back at home.

That’s great!!!

Here the "How to"

I accept a least :smiley:

  • A badge “the member of the year,” ( gold of course ).
  • A sticker to put near the logo HP on the Microserver

Just a normal handshake isn’t enough? :raised_hand:
Eeheh don’t worry, I have already in my mind the award for you :wink:

1 Like