NetAtalk setup: Difference between revisions

From wiki
Jump to navigation Jump to search
imported>Jawadmin
No edit summary
imported>Jawadmin
No edit summary
Line 1: Line 1:
<hr><p align=left>
<hr><p style="text align:left;">
Previous [[OpenSSL Certificate Authority]]
<span style="float:right;">
Return [[Freebsd Knowledge Base]]
Return [[Freebsd Knowledge Base]]
</p><hr>
</span></p>


The actions required to setup NetAtalk 3.1 on FreeBSD 10.2
The actions required to setup NetAtalk 3.1 on FreeBSD 10.2
Line 43: Line 45:


<hr><p style="text align:left;">
<hr><p style="text align:left;">
Previous [[Main Page]]
Previous [[OpenSSL Certificate Authority]]
<span style="float:right;">
<span style="float:right;">
Return [[Freebsd Knowledge Base]]
Return [[Freebsd Knowledge Base]]
</span></p>
</span></p>

Revision as of 15:35, 23 December 2018


Previous OpenSSL Certificate Authority Return Freebsd Knowledge Base

The actions required to setup NetAtalk 3.1 on FreeBSD 10.2

Preparations:

Create user(s) and group(s) for AFP and Time Machine shares

When using zfs

# zfs create zroot/usr/home/shares
# zfs set compression=lz4 zroot/usr/home/shares
# zfs set refquota=800G zroot/usr/home/shares

Create share points for AFP and Time Machine shares

# mkdir /usr/home/shares/afp
# mkdir /usr/home/shares/tm

Adjust access

# chmod 770 /usr/home/shares/afp
# chmod 770 /usr/home/shares/tm

Modify share point ownership

# chgrp afp /usr/home/shares/afp
# chgrp tm /usr/home/shares/tm

Install netltalk

# pkg install netatalk3

Configure

Create /usr/local/etc/afp.conf

Example file

Modify /etc/nssswitch.conf

Change: 'hosts: files dns', to: 'hosts: files dns mdns'

Modify /etc/rc.conf

# Add : 
netatalk_enabled="YES"
avahi_daemon_enable="YES"

Previous OpenSSL Certificate Authority Return Freebsd Knowledge Base