That's it! Now you can access the drive from any Mac on your network after logging in as the pi user. Lastly, restart netatalk: sudo systemctl restart netatalk In the file, add a single line for your drive, like this: /mnt/drive1 "Time Machine Drive 1" options:tm Remember, the hostname can be set with ‘sudo raspi-config’ and selecting Network Options - Hostname. A speaker that can plug into the Raspberry Pi (I use a simple portable and rechargeable Hamburger-style speaker in this tutorial. I use a Raspberry Pi 3 A+ in this tutorial, but it should work with other Pis, as well. Installing Netatalk sudo apt install netatalk Exposing the Drive on the NetworkĬreate a file in the home directory of your pi user called AppleVolumes, e.g. Now, on macOS, if you mount with ‘Go - Connect To Server’ and enter afp://IP where IP is the IP address of your Buster Pi, the Pi will mount on your desktop with its hostname. A Raspberry Pi computer (not a microcontroller, like the Raspberry Pi Pico), with a microSD card, configured as mentioned above. You can get the PARTUUID for your drive and partition from the blkid command. GitHub - mingcheng/raspberry-pi3-netatalk: A docker container that compiles the lastest Netatalk for Raspberry Pi. ![]() Ext 4 works just fine.Īdd an entry to your /etc/fstab as usual, and be sure to add the user_xattr, acl, and nofail options, like this: PARTUUID=10f6be6e-25f4-4118-aee7-f4a913701bb8 /mnt/drive1 ext4 defaults,user_xattr,acl,noatime,nofail 0 1 netatalk /etc/netatalk/afp.conf Global max connections 20 mac charset MACROMAN unix charset LOCALE guest account nobody uam list uamsdhx.so,uamsdhx2. To install Netatalk, execute the following command. Step 2: Install Netatalk on Raspberry Pi Next, we need to install a package called Netatalk, which is a free and open-source implementation of AFP and it makes your device act as an AFP server. You can format your drive in any way you like-it doesn't need to be Apple HFS+ formatted. sudo systemctl restart netatalk on the mac end connect server at afp://. The above command successfully updates the missing packages on your Raspberry Pi device. Of course, you'll want an external hard drive or SSD connected to your Pi via USB. ![]() So I decided to document my own process here for you! I re-read the tutorial and realised that I didn't do the first step, because the drive is already HFS+. I found most of the tutorials outdated and confusing. netatalk 3.1.12 macOS 10.14.5 Raspberian 4.19.50-v7+ Issues and findings After reaching the last part of the tutorial, and able to connect over afp://, I realised that the volume is read-only. I recently followed some tutorials on the web about setting up Netatalk to mimic an Apple Time Capsule. Turn a Raspberry Pi into an Apple Time Capsule Die Kombination von Netatalk und Avahi erlaubt es auch, die am Raspberry Pi angeschlossenen Platten als Ziel für das Backup mit Time Machine zu nutzen. Turn a Raspberry Pi into an Apple Time Capsule
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |