Netatalk, Linux and the Macintosh
Now for the fun part—go to the Macintosh Chooser and select AppleShare as shown in Figure 4. The Linux system host name will appear on the desktop just like any other Appletalk-compatible machine on the network. There is an 8-character password limit on the Mac, so if your Linux password is more than 8 characters, change it.
Technically speaking, Netatalk is an implementation of the AppleTalk Protocol Suite. It contains support for EtherTalk Phase I and II, DDP, RTMP, NBP, ZIP, AEP, ATP, PAP, ASP and AFP, as shown in Figure 5. DDP is now provided by the new Linux 2.x kernel. The atalkd daemon implements RTMP, NBP, ZIP and AEP, which is the AppleTalk equivalent of Unix routed (route daemon). ATP and ASP are implemented as libraries. The papd daemon allows Macs to spool to lpd (line printer daemon), while pap allows Unix machines to print to AppleTalk connected printers. Also provided in the suite is psf, which is a PostScript printer filter for lpd designed to use pap. A PostScript reverser, psorder, is called by psf to reverse pages printed to face-up stacking printers. Last and perhaps most important is the afpd daemon that provides Macs with an interface to the Unix file system.
There are extensive and well-written man pages that accompany Netatalk, such as aecho.1, afpd.8, atalk.4, atalkd.8, atalk_aton.3, getzones.1, hqx2bin.1, macbinary.1, megatron.1, nbp.1, nbplkup.1, nbprgstr.1, nbp_name.3, pap.1, papd.8, papstatus.1, psf.8, psorder.1, single2bin.1, unbin.1, unhex.1 and unsingle.1.
Netatalk is a stable program that makes moving files between the Mac and Linux as easy as drag-and-drop. In fact, you can install Netatalk on almost any Unix-like platform and take advantage of the power it provides. Now you really can have the “power to be your best” by using both the Mac and Linux.
Special Reports: DevOps
Have projects in development that need help? Have a great development operation in place that can ALWAYS be better? Regardless of where you are in your DevOps process, Linux Journal can help!
With deep focus on Collaborative Development, Continuous Testing and Release & Deployment, we offer here the DEFINITIVE DevOps for Dummies, a mobile Application Development Primer, advice & help from the experts, plus a host of other books, videos, podcasts and more. All free with a quick, one-time registration. Start browsing now...
- The Ubuntu Conspiracy
- Science on Android
- A First Look at IBM's New Linux Servers
- Vigilante Malware
- Disney's Linux Light Bulbs (Not a "Luxo Jr." Reboot)
- Vagrant Simplified
- Bluetooth Hacks
- System Status as SMS Text Messages
- Libreboot on an X60, Part I: the Setup
- October 2015 Issue of Linux Journal: Raspberry Pi