Linux and Apple File Sharing

I tried to setup NFS to access files in my Linux from my PowerBook, but didn’t succeed yet.

With NetTalk (Apple protocol, guess they have better client than for NFS …), it was much easier :

  • Configure /etc/atalk/netatalk.conf
  • Specified the shares in /etc/atalk/AppleVolumes.default
  • Then you can manage to have your Linux share automatically seen in MacOS with the Avahi Zeroconf daemon :
  • Just add the file /etc/avahi/services/afp.service :
    <?xml version="1.0" standalone='no'?><!--*-nxml-*-->
    <!DOCTYPE service-group SYSTEM "avahi-service.dtd">
    <!-- See avahi.service(5) for more information about this configuration file -->
    <service-group>
    <name replace-wildcards="yes">AFP file share from Linux</name>
    <service>
    <type>_afpovertcp._tcp</type>
    <port>548</port>
    </service>
    </service-group>

Then you just have to double clic on “AFP file share from Linux” as it appears in the Finder.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: