View Single Post
  #1   (View Single Post)  
Old 19th November 2015
srivo srivo is offline
Port Guard
 
Join Date: Nov 2015
Location: Canada
Posts: 19
Default OpenBSD 5.8 Netatalk and Timemachine

Installing netatalk and configuring it for volume share and Time machine is a very easy task on OpenBSD.

Install the following package :
Code:
pkg_add netatalk
Choose Netatatalk 3.1.7 when asked which version to install. All the needed dependency will be grab automatically.

Put the following in your /etc/rc.conf.local file:
Code:
pkg_scripts=messagebus avahi_daemon netatalk
Modify the /etc/netatalk/afp.conf file:
Code:
[Global]
vol preset = default_for_all_vol
hostname = openbsd
log file = /var/log/netatalk.log
mimic model = Xserver
keep sessions = yes
 
[default_for_all_vol]
file perm = 0664
directory perm = 0774
cnid scheme = dbd
 
[Homes]
basedir regex = /home
time machine = yes
Start the services:
Code:
/etc/rc.d/messagebus start
/etc/rc.d/avahi_daemon start
/etc/rc.d/netatalk start
In a few minute you should see the shared folder on your Mac. You can also force it by using cmd+K and typing the network address of your OpenBSD server.
afp://192.168.xxx.xxx

You will be able to backup you Mac using Time Machine in your personal folder on OpenBSD.

Conclusion
OpenBSD can transform any of your useless PC into a Timecapsule.
Reply With Quote