The necessary hardware changes are beyond the scope of this tweak though. Other devices, like real RS-232 devices, will require a decent level converter. Remember that the Raspberry Pi can only talk to 3.3V logic devices. Youd simply go into your Macs finder, click 'Network', see your Raspberry Pi, and hit Connect. The UART, or serial port, of your Raspberry Pi can now be used for communication to whatever serial device you want to use. That's it! Now you can access the drive from any Mac on your network after logging in as the pi user. sudo apt-get install netatalk It used to be that these two commands were enough to get Netatalk working. 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 You can set up a Raspberry Pi as a Time Machine server, but its not exactly easy and youre bound to run into glitches. Mac Time Machine on a Raspberry Pi Requirements First of all, you need the following: a raspberry pi installed with 1 USB port available, 1 external USB drive (I’ve used a 3TB external USB drive), pre-formatted under your Mac in HSF+, labelled as TimeMachine internet connection and some time to perform all the steps and the initial backup. Its quite a bit overkill in overhead and cost considering you can do the same with even an old Raspberry Pi and Netatalk open source project for far less and with far less overhead. 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. You can get the PARTUUID for your drive and partition from the blkid command. 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 Enter the IP address of the Time Machine server. You can format your drive in any way you like-it doesn't need to be Apple HFS+ formatted. From macOS clients, add the drive and configure Time Machine. Of course, you'll want an external hard drive or SSD connected to your Pi via USB. My big issue was setting up netatalk correctly so that Mac OS X would recognize my mounted USB drive on my raspberry pi as a time machine network capsule. So I decided to document my own process here for you! I found most of the tutorials outdated and confusing. I recently followed some tutorials on the web about setting up Netatalk to mimic an Apple Time Capsule. Newer Samba distributions have incorporated the required functionality to act as a TimeMachine target disk. 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 |