Install AFP (Time Machine) and Bonjour service on Raspberry PI
Raspbian Buster Lite (without desktop)
- Download Raspbian Buster Lite
- Install Raspbian with etcher to SD card
- Boot from SD card…
Basic configuration and Wifi connection
- Change User Password :-) (default user
pi
with passwordraspberry
) - Change Localisation Options… select
en_US.utf8
and whatever else - Enable SSH in Interfacing Options…
- Configure WiFi in Network Options and change Hostname (in my case to pi)
If you have Wifi with hidden SSID, you will need change sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
file
and add scan_ssid=1
:
If your language characters are still wrong (square), you have to reconfigure locales again:
Reboot (sudo reboot
) and then check with iwgetid
if you are connected to your Wifi!
Install AFP support: netatalk
Netatalk provide AppleTalk Filing Protocol (AFP) interface:
edit sudo nano /etc/netatalk/afp.conf
Install Bonjour support: avahi )
Config AFPD with /etc/avahi/services/afpd.service
PS: RackMac
is define icon that will be shown in Finder (there is plenty other options e.g. Windows
, Macintosh
, TimeCapsule
and so on)
Config SSH with /etc/avahi/services/ssh.service
For server less ssh you can copy your key to pi:
Configure avahi daemon
Then in /etc/avahi/avahi-daemon.conf
change two parametters host-name
and publish-workstation
:
Enable Avahi and Nettalk
Enable afp and avahi
and start them
now check if everything works well with