Enter your Raspberry Pi’s username and password (default username is “pi” with password “raspberry”).Enter “afp://” followed by your Raspberry Pi’s IP address.In Finder, open the Go menu and select “Connect to Server…” (⌘K).When apt-get has finished, you can connect from the Mac: My attempts at installing 2.2.3 failed though I’m sure it’s possible. This installs 2.1.2 of Netatalk which is not the latest ( 2.2.3 at time of writing) which may cause issues with using this for Time Machine and with Lion, although I have not experienced any issues on my two Lion machines. You should now be able to access your Raspberry Pi from the Finder side bar and under Network (shift + command + k).ĮDIT: The remainder of this post is now outdated and should not be required once you have installed netatalk. It will also cover setting it up to be easily accessible without the IP address. This post will guide you through setting this up using Netatalk. Create and/or initialize afppasswd file or specific user. AFP (Apple Filing Protocol) is the protocol Macs use to share files over a network. allows the maintenance of afppasswd files created by netatalk for use by the uamsrandnum.so. You may need to start and enable rvice if it is not running yet.This post will only interest you if you’re using a Mac. Make sure you set -mimicmodel to the desired string (see /System/Library/CoreServices/CoreTypes.bundle/Contents/ist on a Mac for a full list). No configuration is necessary, netatalk will register its own services using the dbus link. Iptables -I OUTPUT -p tcp -m multiport -dport at-rtmp,at-nbp,at-echo,at-zis -j ACCEPT Enable Bonjour/Zeroconfīonjour/Zeroconf is now a requirement of netatalk and is compiled by default. Iptables -I OUTPUT -p udp -dport slp -j ACCEPT AppleTalk iptables -I INPUT -p tcp -m multiport -dport at-rtmp,at-nbp,at-echo,at-zis -j ACCEPT Iptables -I INPUT -p udp -dport slp -j ACCEPT Iptables -I OUTPUT -p tcp -dport slp -j ACCEPT Iptables -I OUTPUT -p udp -dport mdns -d 224.0.0.251 -j ACCEPT AFP iptables -I INPUT -p tcp -dport afpovertcp -j ACCEPT SLP iptables -I INPUT -p tcp -dport slp -j ACCEPT If you use the iptables package for firewall services, consider adding the following: (replace -I with -A as necessary)īonjour/Zeroconf iptables -I INPUT -p udp -dport mdns -d 224.0.0.251 -j ACCEPT To allow guest read/write access, first, allow read-only access as in the previous example and then add following lines to a particular share section: In order to allow guest read-only access to your shared folders, add following line to the section: For example this time I was going to make a web-based file explorer on my local computer to access file shares on my network. Warning: Avoid using symbolic links in afp.conf Guest access KarlC When I get bored, I try various things. See afp.conf(5) and the following example (make sure processes have write access to afpd.log): Netatalk 3.x uses a single configuration file, /etc/afp.conf. These files may remain after package removal and should be kept in most cases to disambiguate the services broadcast over the local network. Besides the configuration files that are installed (and checked during upgrade), netatalk may generate two files /etc/netatalk/afp_nf or /var/state/netatalk/afp_nf which holds the system UUID, and /etc/netatalk/afp_nf or /var/state/netatalk/afp_nf which holds volume UUIDs for TimeMachine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |