None of that has anything to do with getting an AFP share running, so, moving on.  The instructions below don’t cover the creation of your sparce file for the AFP share, which Time Machine uses.  Once you get to the Sixth step below, you’ll need to create that sparce bundle and copy it to your share. I used the script located on this post to generate my sparce bundle and copy it over to my server share. Anyway, to get your Mac talking to your Linux box, setup Netatalk like below. Go get the latest Netatalk source code from Sourceforge.  ĭownload and un-tar that code into a directory of your choice. But before we configure and compile this…  we need some supporting software. Get the supporting software packages for Avahi and other items. 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. Install the above items, then we can move on to the compile and install of afpd/Netatalk. Now, “cd” to the directory where you un-tar’d the netatalk download code. 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. Notice the section on “UAMS” containing “DHX” and “DHX2”?  You must have those listed, or your Mac OSx Lion system wont work on it.  If you don’t see those listed, you are missing some libraries on your system. Run the above command, while still in that source directory. Netatalk will install binaries for you under: /usr/local/sbin  and config under: /usr/local/etc/netatalk. It also installs a basic startup script under your /etc/init.d directory called, easy enough, “netatalk.” #Linux netatalk server install#  I’ll attach my configs for your reference, but here’s a couple basics.ġ. nf  – comment out anything else, and add this line: -udp -noddp -uamlist uams_randnum.so,uams_dhx.so,uams_dhx2.so -nosavepasswordĢ. fault – also comment out others, and add these. These are just an example, based on my config. 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. mpool/Shares/AppleShare AppleShare allow:greg cnidscheme:dbd options:usedots,uprivģ. # 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. # 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.Įxport the charsets, read form ENV by apps #Linux netatalk server mac os# # papd, timelord and a2boot are dependent upon atalkd.Ī2BOOT_RUN=no # Control whether the daemons are started in the background.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |