![]() ![]() You may need to start and enable rvice if it is not running yet. 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 Install Packages dnf install -y netatalk avahi Enable Services systemctl enable -now netatalk avahi-daemon Edit Netatalk Config vim /etc/netatalk/afp.conf Add a section for your Time Machine: NAS TimeMachine Target path /timemachine time machine yes Restart the netatalk and avahi-daemon services. 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. Just one thing to note, if the folder icon on the share has 3 little people in it, you can't drag that to your sidebar, that is why we have to put a secondary directory(folder) inside it so you can drag that to your sidebar.Netatalk is a free, open-source implementation of the Apple Filing Protocol (AFP). I don't need to have the servers bonjour'd to access them. That said I set up the same concept on my server lab project at home and it is quick to connect. We have to physically type in the connection, annoying at best so I find that by dragging the directories I use most to my side bar, makes it more convenient to get the files I need. I'd also like to point out that at our office (a world wide organization), they don't advertise the SMB shares. ![]() Im a MAC geek and Ubuntu Command Line Server enthusiast. It's essentially the same without all the messing around installing software you don't need to take up resources on your server. Then when you command-K smb://yourserver.local// the drive mounts and there is the folder(directory) sitting right there, just drag it to your sidebar and then any time you need to log in, just click it. Plop all your shares in that master directory and make sure your smb.conf file is also pointing to the shares. com if you have the luxury of pointing a domain name to your server. Name the master directory ( yourserver.local) or. I can still use Cmd+K to get to the smb shares, but I find this less preferable, because I want to make it easy to use for non technical people.Īvahi didn't work for me due to what I am running on my server and frankly whilst it is nice to see your network share pop up on the Finder Sidebar, a workaround to not installing avahi is to create a master share directory(Folder) then plop all your shares in it. When I click on the server icon in the navigation bar, I only see the afp shares, no smb to be seen. When netatalk and samba+avahi are both running, it seems like netatalk hides any other bonjour stuff on the same host. Samba does not have built-in bonjour support, but with the help of avahi, it's possible to advertise your smb shares through bonjour as well, and they show up in the Finder's navigation bar as well (awesome!). Netatalk has built-in bonjour support, so if you run netatalk, the afp shares show up nicely in Finder (great!). I would like all shares, AFP and SMB to be accessible from a server icon in the finder navigation bar. netatalk, avahi and samba are the packages that I'm using and they're not playing nice with each other. ![]() I'm trying to create a fileserver/timecapsule combo server out of my new raspberry pi (Raspbian), and it's not going as well as I'd like. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |