![]() ![]() Go to your Mac Finder you should see your Raspberry Pi there.Ĭlick on Connect as and insert your credentials (user: timemachine). Go to your router and assign a static IP to your Pi. $ sudo passwd timemachine # don't use this pw! Create a time machine user $ sudo adduser timemachine Launch network services $ sudo service avahi-daemon startĨ. $ sudo vi /etc/netatalk/faultĪnd add to the end of the file /media/time_machine "Time Machine" options:tm Set up afp.conf $ sudo vi /usr/local/etc/afp.confĪt last set fault (might not be necessary)! I did it anyway. ![]() Next edit rvice $ sudo vi /etc/avahi/services/rvice This means your Time Machine drive will show up in Finder’s sidebar. Hosts: files mdns4_minimal dns mdns4 mdns # `info libc "Name Service Switch"' for information about this file. # If you have the `glibc-doc-reference' and `info' packages installed, try: # Example configuration of GNU Name Service Switch functionality. If you don't see any error messages $ sudo make installĬheck if netatalk is installed $ netatalk -Vįirst let's set up nf by adding to the end of hosts: files mdns4_minimal dns line mdns4 mdns. If so, run: $ sudo apt-get install libcrack2 libcrack2-dev cracklib-runtimeĪssuming you don’t see any error messages, move on to make (note: it can take some time) $ make I've bump into some issues with crablib not being present. with-dbus-sysconf-dir=/etc/dbus-1/system.d \Ĭheck the configure output. In my case I've got the latest version 3.1.11 $ wget Ĭonfigure Netatalk settings before compiling $ cd netatalk-3.1.10 Install dependencies sudo aptitude install build-essential libevent-dev libssl-dev libgcrypt11-dev libkrb5-dev libpam0g-dev libwrap0-dev libdb-dev libtdb-dev avahi-daemon libavahi-client-dev libacl1-dev libldap2-dev libcrack2-dev systemtap-sdt-dev libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libio-socket-inet6-perl tracker libtracker-sparql-1.0-dev libtracker-miner-1.0-dev Netatalk simulates AFP, the network protocol Apple currently users for Time Machine backups. dev/sda2 on /media/time_machine type hfsplus (rw,nosuid,nodev,noexec,relatime,umask=22,uid=0,gid=0,nls=utf8,user) mount drive using your editor of choice:Īdd to the end of the file: /dev/sda2 /media/time_machine hfsplus force,rw,user,auto 0 0Ĭheck if it's mounted by finding the line like the bellow: $ sudo mount.In my case I didn't want to have it mounted on /media/pi/Time\ Machine so I un-mounted it: $ sudo umount /dev/sda2 If it's mounted, you need to un-mount it or give it write permissions. Check if Pi already auto-mounted your drive:.A good hint is the fs type Apple HFS/HFS or on other tools hfsx. In my case my HD is connected to USB and the device is /dev/sda2. $ sudo apt-get -assume-yes install hfsprogs hfsplusĭevice Boot Start End Sectors Size Id Type Go to Pi (ssh'ed it!) and run: $ sudo apt-get update and give Read
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |