To exit the editor, press +x then y to save. This will take us into an editor to add notes, feel free to add a comment stating that this is a custom package compiled to add SSL support. In my case, it showed netatalk (2.0.3-11+lenny1) Your version numbers may differ, but please increment, and use +SSL in order to differentiate your custom package from the standard Debian one…the head command will output the current package version for you. The first thing we need to do is change the version number on the package, then we can build the package with encryption enabled. Now that we have source we can move into the netatalk directory. Sudo apt-get install cracklib2-dev fakeroot libssl-dev ![]() Then ensure we install the dependencies for encryption support, and finally grab the source for netatalk. To start, we’re going to download install dependencies for netatalk. So we are going to build our own netatalk package from source with encryption enabled. Since Mac OS X requires encryption to work properly, and the standard netatalk package doesn’t include this feature. Netatalk is the Open Source implementation of AFP. I’m also going to show you how to create a TimeMachine backup location on your file server, and get your Mac to recognize / use it. In the following tutorial, we’re going to install and configure, Netatalk and Avahi. You may need to start and enable rvice if it is not running yet.Got a Mac ? Got a Linux box that you use as a file server on your home network? Sick of problems with samba? So was I, until today when I decided to figure out how to setup Apple Filing Protocol (AFP) and Bonjour under Linux, debian in my case. ![]() 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: Warning: Avoid using symbolic links in afp.conf Guest access ![]() 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. It allows Unix-like operating systems to serve as file servers for Macintosh computers.īesides 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. Netatalk is a free, open-source implementation of the Apple Filing Protocol (AFP).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |