

- #Netatalk home directory how to
- #Netatalk home directory mac os x
- #Netatalk home directory mac os
- #Netatalk home directory install
- #Netatalk home directory software
After successfully logging into the Raspberry Pi's AFP share, you will now be asked which volumes you want to mount. After entering the user to connect, go ahead and click the 'Connect' button to continue. Since the article is only for the default user, the example uses "pi" as the name and "raspberry" as the password. When connecting to your Raspberry Pi, you will be greeted by a dialog box asking you to enter your username and password to connect to the Apple Filing Protocol server. Once entered, click the 'Connect' button to continue. In this dialog box, you will need to enter the Raspberry Pi's IP address after 'afp: //'.įor example, with the Raspberry Pi's IP address being '192.168.0.159', you need to type 'afp: //192.168.0.159' into the input box. Next, click on the option 'Connect to Server…'. Now go ahead and click 'Go' on the toolbar at the top of the screen.
#Netatalk home directory mac os
To connect to the AFP sharing process on Raspberry Pi, start by opening the Finder app available on Mac OS X.
#Netatalk home directory mac os x
sudo hostname -I Connect to Pi's AFP sharing process on Mac OS X Write this IP down as you will need it to connect to the shared drive. Make sure you have an active network connection using either WiFi or an Ethernet cable. Before connecting to the newly shared folders, you should retrieve the IP address assigned to the Raspberry Pi. Restart the service by running the following command. Since you have made changes to the Netatalk configuration, it is necessary to restart the service so that it can use the new configuration. Once changes to the configuration are complete, you can go ahead and save the file by pressing CTRL + X then pressing Y, and then pressing ENTER. More information on available options can be found by visiting the Netatalk configuration documentation at. You can specify the guest account to use for connections by setting "guest account = 'in the' 'header.

Set up a guest account guest account = pi This option is useful for sharing, such as sharing media library. If you want the share to be read-only, all you have to do is add 'read only = true' to it. Share read-only path = / path / to / directory read only = true You can specify any sharing as a shareable time machine, by simply adding the option 'time machine = true' below. Create a share as an Apple Time Machine path = / path / to / directory time machine = true The option 'path =' is the path to the folder you want to share over the AFP protocol. In square brackets () specifying when to start sharing is the name given to the sharing. Using something like above, you can share any folder you want. basedir regex = / home path = Add custom folders path = / path / to / directory If you want to lock users to a specific directory in their main path, you can add the following option.
#Netatalk home directory software
Identify 'basedir regex' so that the Netatalk software knows where to find the user's home directory. This block will allow any connected users to access their respective home directories.

This block identifies the home directories. In this file, add the following text at the end. To do this, you must modify the afp.conf file by running the command below.
#Netatalk home directory how to
After installing Netatalk software, now you have to continue configuring it to share different folders.įirst, let's look at how to add folders for sharing.
#Netatalk home directory install
Install the Netatalk application onto the Raspberry Pi by running the following command. Open source Netatalk is used to implement the free Apple Filing Protocol (AFP). The package you are installing is called Netatalk.
/AdvanceOptions-5a70c31d3037130036eae375-f4b5b730e7c84d4ab38c63bed7fbc67c.jpg)
With the Raspberry Pi now up to date, you can now go ahead and install the package that will take care of everything. To make sure everything is up to date, run the two commands below. Now, before you can set up AFP on your Raspberry Pi, you must ensure that the operating system is up to date. The software implements the AFP protocol at the server level, allowing the Raspberry Pi to distribute files through it. This is Apple's replacement for the Server Message Block (SMB) and Network File System (NFS) protocols.įollowing this guide, you will be able to share any folder on your Raspberry Pi using AFP and easily connect to them from your Mac OS X device.Īll of this is possible with the Netatalk software. Apple Filing Protocol is Apple's proprietary network protocol for distributing files over the network.
