- #Linux netatalk server mac osx#
- #Linux netatalk server mac os#
- #Linux netatalk server install#
- #Linux netatalk server pro#
- #Linux netatalk server software#
# papd, timelord and a2boot are dependent upon atalkd.Ī2BOOT_RUN=no # Control whether the daemons are started in the background. # AppleTalk specific configuration (legacy) # Set the id of the guest user when using uams_guest.so # uams_clrtxt.so(legacy), uams_randnum.so(legacy)ĪFPD_UAMLIST="-U uams_dhx.so,uams_dhx2.so" # available options: uams_dhx.so, uams_dhx2.so, uams_guest.so, # maximum number of clients that can connect: # If you use AFP file server, run both cnid_metad and afpd.
export the charsets, read form ENV by apps
#Linux netatalk server mac os#
# server (unix) and legacy client (<= Mac OS 9) charsets nf – I didn’t have this file on one system, so I just created it and added the config below: # machine's AFPserver/AppleTalk name.ĪTALK_NAME=`echo $|cut -d. mpool/Shares/AppleShare AppleShare allow:greg cnidscheme:dbd options:usedots,uprivģ. dapool/bu/tm TimeMachine allow:greg cnidscheme:dbd options:usedots,upriv,tm (NOTICE the “tm” at the end of the time machine share below, you must have that for TM to work.)  You’ll need to adjust the names and paths. These are just an example, based on my config. fault – also comment out others, and add these. nf  – comment out anything else, and add this line: -udp -noddp -uamlist uams_randnum.so,uams_dhx.so,uams_dhx2.so -nosavepasswordĢ.  I’ll attach my configs for your reference, but here’s a couple basics.ġ. It also installs a basic startup script under your /etc/init.d directory called, easy enough, “netatalk.”
#Linux netatalk server install#
Netatalk will install binaries for you under: /usr/local/sbin  and config under: /usr/local/etc/netatalk. Run the above command, while still in that source directory.  If you don’t see those listed, you are missing some libraries on your system.
#Linux netatalk server mac osx#
Notice the section on “UAMS” containing “DHX” and “DHX2”?  You must have those listed, or your Mac OSx Lion system wont work on it. LIBS = -lpthread -L$(top_srcdir)/libatalkĬFLAGS = -I$(top_srcdir)/include -D_U_="_attribute_((unused))" -g -O2 -I$(top_srcdir)/sys Then, if that ran successfully, you should end up with some summary information as follows:  (may not be exact) Using libraries: configure -enable-debian -with-acls -enable-ddp  -enable-zeroconf  For example, mine was in this folder:Īssuming all the above packages installed successfully, let’s run. Now, “cd” to the directory where you un-tar’d the netatalk download code. Install the above items, then we can move on to the compile and install of afpd/Netatalk. Libssl-dev libacl1-dev libwrap0-dev libgcrypt11-dev libdb4.8 libdb4.8-dev Libavahi-compat-libdnssd1 libavahi-compat-libdnssd-dev \ I ran this apt-get command: apt-get install avahi-daemon mdns-scan \  We need Avahi for zeroconf and other libs for authentication purposes.
#Linux netatalk server software#
Get the supporting software packages for Avahi and other items. But before we configure and compile this… Â we need some supporting software. Â ĭownload and un-tar that code into a directory of your choice. Go get the latest Netatalk source code from Sourceforge. Anyway, to get your Mac talking to your Linux box, setup Netatalk like below. I used the script located on this post to generate my sparce bundle and copy it over to my server share. Â Once you get to the Sixth step below, you’ll need to create that sparce bundle and copy it to your share. Â The instructions below don’t cover the creation of your sparce file for the AFP share, which Time Machine uses. None of that has anything to do with getting an AFP share running, so, moving on. I don’t have to think about, “Well, should I plug in my USB drive and backup tonight?” Â It just runs all the time.Ĭ) I also have Crashplan running on that ZFS pool, to save all my local machines here as well. (back when drives were cheap, this makes a powerful and inexpensive NAS) Â (oh and I am running this using the zfs-native package on Ubuntu Lucid! Love it!)ī) I love having the network-based Time Machine running, because it just runs whenever I am on my home network. (located here:Â ) Â I had a hard time getting anything working otherwise, and that post mostly got things working for me.Ī) I am running a tiny ITX case with a 1.5TB ZFS mirror in it for data integrity.
 Last note, I owe a HUGE THANK YOU to post I found on the basic’s of this configuration.  Note that, 1) I am using the source code for Netatalk, compiled and installed, not the Ubuntu or Debian package, and 2) I am assuming you are comfortable with installing software from source.  I will attach my working config files for your reference as well.
#Linux netatalk server pro#
 Just a very quick how-to on what I did to get Time Machine on my Macbook Pro with OSX Lion 10.7 to save the backup data to my Linux server network share using AFP, rather than SMB (Windows Share), a Time Capsule, or and Apple Server. Novemin Backup / Linux / Mac / Networking / Ubuntu tagged AFP / Linux / Lion / Mac / Netatalk / Network Share / Networking / Time Machine / ubuntu by Greg