MakeTechEasier
  • Home
  •  
  • About
  •  
  • Archives
  •  
  • Jobs
  •  
  • Advertise
  •  
  • Contact Us
  • Windows
  • Linux
  • Mac
  • Internet
  • WordPress
  • iPhone
  • Android
  • All Categories
    • Android RSS
    • Firefox RSS
    • Gaming RSS
    • Google RSS
    • google chrome RSS
    • Internet RSS
    • iPhone/iPod Touch RSS
    • Linux RSS
    • Mac RSS
    • Mobile RSS
    • OpenOffice RSS
    • PC Hardware RSS
    • Review RSS
    • Roundup RSS
    • Windows RSS
    • Windows Mobile RSS
    • WordPress RSS
    • WordPress Plugins RSS
  • rss icon
  • email icon
  • facebook icon
  • twitter icon

[Ubuntu Intrepid] How to Share Files With Mac OS X via Netatalk

Posted by: Damien on November 5th, 2008
  • 17 Comments
  • Share

Netatalk is a kernel level implementation of the AppleTalk Protocol Suite that allows any Unix/BSD system to run as a file, print and time server for any Mac machine.

While the Netatalk package is included in the Ubuntu Intrepid’s repository, the package is broken and does not work in the way it is intended to. The following instructions can help you to build, install and configure Netatalk to work in your Ubuntu Intrepid (It works in Ubuntu Hardy too).

In your terminal,

mkdir -p ~/src/netatalk
cd ~/src/netatalk
sudo apt-get install devscripts cracklib2-dev dpkg-dev libssl-dev build-essential
sudo apt-get build-dep netatalk
apt-get source netatalk
cd netatalk-2.0.3
DEB_BUILD_OPTIONS=ssl dpkg-buildpackage -us -uc
sudo debi

That’s it. Netatalk should now be installed and started.

You will have to start everytime you log in.

To start Netatalk,

sudo /etc/init.d/netatalk start

To restart Netatalk

sudo /etc/init.d/netatalk restart

To Connect to Ubuntu From Mac OS X

In your Mac OS X, open the Finder. On the menu, click Go -> Connect to server.

finder

Enter the IP address of your Ubuntu machine and click Connect.

finder

It should ask you for verification. Enter your login name and password.

finder

You should now see your Ubuntu Home folder on the left pane of Finder.

finder

Enjoy!

[Reference: Ubuntu Forum]

Damien Oh is the owner and chief editor of Make Tech Easier

Tags: Intrepid, Linux, Mac, netatalk, Ubuntu
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Share and Enjoy!

  • Rss feed
  • StumbleUpon It!
  • Del.icio.us
  • reddit

Related Posts

  • Installing (K)Ubuntu In Ubuntu With VMware Server
  • How To Install Windows Vista In Ubuntu Gutsy Using VMware
  • How to Backup And Install Your Linux Applications With AptOnCD
  • How to Install VMware server 2.0 in Ubuntu Intrepid
  • Installing VMware Server in Hardy Heron

Popular Posts

  • Turn Your Ubuntu Hardy to Mac OSX Leopard 498 comment(s)
  • Turn Your Ubuntu Intrepid Into Mac OSX Leopard 311 comment(s)
  • Download EASEUS Partition Master For Free – 24 Hours Only 174 comment(s)
  • 28 Coolest Firefox About:Config Tricks 122 comment(s)
  • How To Boot And Install Windows 7 From USB Flash Drive 122 comment(s)

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

3 pingbacks/trackbacks (Click to open)

  • BrotherSoft Editor's Blog » Blog Archive » Ubuntu Intrepid - How to Share Files With Mac OS X via Netatalk
  • How to Share Files With Mac OS X via Netatalk | I-Tek
  • jean philippe gousse » Blog Archive » Unlock Hidden Mac OS X Settings With Secrets
[Click to close]

17 Responses

  • cybrsrce says:
    November 11, 2008 at 6:12 pm

    Doesn’t build properly as an amd64 deb. I’ll check the build log and see where it went wrong later…

    Install error:

    Starting Netatalk services (this will take a while): nbp_rgstr: Connection timed out
    Can’t register localhost:Workstation@*
    invoke-rc.d: initscript netatalk, action “start” failed.
    dpkg: error processing netatalk (–install):
    subprocess post-installation script returned error exit status 1
    Processing triggers for man-db …
    Errors were encountered while processing:
    netatalk
    debi: debpkg -i failed

    Reply
    • cengek says:
      December 3, 2008 at 6:58 am

      I have tried and succeeded, but will be out in a folder that Mac OS is the home user.
      what if I add a directory, for example, /mnt/data to share in the mac os.

      thanks

      Reply
  • Damien says:
    November 12, 2008 at 1:25 am

    @cybrsrce: Do you have VMware installed in your system? That could probably be the cause of the problem. If yes, go to /etc/netatalk/atalkd.conf and add the line eth0

    Reply
    • cybrsrce says:
      December 21, 2008 at 6:42 pm

      That was it, Thanks. It is a lot simpler and smoother than nfs from the osx side.

      Reply
  • bigdawgte says:
    November 19, 2008 at 1:38 pm

    I have been trying to use to get the xo to use the usb drive attached to my Apple Airport Extreme with little success so far. I finallly got shared folders (gnome network tools) properly installed and running fom the sd card, only to find that the AAE apparently will onlly support CIFS, not the generic Samba support offered therein. Using the instructions detailed here, I’ve been trying to install netatalk to communicate w/the AAE disk using AFP, but can’t get it to install. When I ‘apt-get source netatalk’, here is what happens:

    olpc@OLPC:~/src/netatalk$ apt-get source netatalk
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    NOTICE: ‘netatalk’ packaging is maintained in the ‘Git’ version control system at:
    git://git.debian.org/git/collab-maint/netatalk.git
    Need to get 2021kB of source archives.
    Err http://us.archive.ubuntu.com hardy/universe netatalk 2.0.3-9 (dsc)
    Could not open file netatalk_2.0.3-9.dsc – open (13 Permission denied) [IP: xx.xxx.xx.xx xx]
    Err http://us.archive.ubuntu.com hardy/universe netatalk 2.0.3-9 (tar)
    Could not open file netatalk_2.0.3.orig.tar.gz – open (13 Permission denied) [IP: xx.xxx.xx.xx xx]
    Err http://us.archive.ubuntu.com hardy/universe netatalk 2.0.3-9 (diff)
    Could not open file netatalk_2.0.3-9.diff.gz – open (13 Permission denied) [IP: xx.xxx.xx.xx xx]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/n/netatalk/netatalk_2.0.3-9.dsc Could not open file netatalk_2.0.3-9.dsc – open (13 Permission denied) [IP: xx.xxx.xx.xx xx]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/n/netatalk/netatalk_2.0.3.orig.tar.gz Could not open file netatalk_2.0.3.orig.tar.gz – open (13 Permission denied) [IP: xx.xxx.xx.xx xx]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/n/netatalk/netatalk_2.0.3-9.diff.gz Could not open file netatalk_2.0.3-9.diff.gz – open (13 Permission denied) [IP: xx.xxx.xx.xx xx]
    E: Failed to fetch some archives.

    Can you tell why I am getting the Permission denied errors?

    Reply
  • linked says:
    December 21, 2008 at 5:38 pm

    Hello.
    I really need help with this: it goes all fine until the moment I try to connect from OSX to my ubuntu box: It prompts for a password, I write it in the corresponding text box, but It just won’t connect… there’s no way I can log in.
    How should I configure the netatalk password?
    I’m about to hit my head against the wall already.. please, help!!!

    Reply
    • Damien says:
      December 22, 2008 at 12:28 am

      The netatalk password is the same password you used to login to your Ubuntu, not the OSX password. Restart netatalk and try again.

      Reply
  • Seano says:
    December 29, 2008 at 8:04 am

    Is there any way to make netatalk start automatically every timeit boots?

    Reply
    • melanopsis says:
      January 4, 2009 at 9:55 pm

      For that, edit your sudoers list first. To do that;

      sudo visudo

      and add

      %yourusername ALL=NOPASSWD:/etc/init.d/netatalk

      save and quit

      then in session preferences (system > preferences > sessions) create new startup program and add the following command

      sudo /etc/init.d/netatalk start

      that should do the trick

      Reply
  • Sudarshan says:
    February 21, 2009 at 4:30 pm

    Hi,

    I tried following your instructions but when I type sudo apt-get build-dep netatalk on my Ubuntu box I keep getting:
    E: Unable to find a source package for netatalk.

    I am using Ubuntu Hardy Heron and trying to share files with Mac OS X Leopard 10.5.6.

    Thanks.

    Reply
  • ANDY says:
    June 4, 2009 at 7:16 pm

    UBUNTU 9.04
    MAC OS NOT YET KNOWN

    Ran the commands with no errors mentioned in terminal [it did require install/choices with PostFix; I chose No Configuration. it created /etc/aliases that did not previously exist] Stuck at following:

    sudo /etc/init.d/netatalk start
    sudo: /etc/init.d/netatalk: command not found

    —

    Reply
  • David says:
    August 28, 2009 at 11:15 am

    Great article but…. in Jaunty Jackelope this is not required. The repo version of netatalk works correctly.

    sudo apt-get install netatalk

    Just thought I would drop an update….

    Reply
    • Damien says:
      August 29, 2009 at 5:16 am

      Thanks for the update.

      Reply
  • Mike says:
    October 7, 2009 at 11:06 am

    I tried this and my user name and password is refused everytime. I can telnet into the Ubuntu box just fine, it accepts my name and password. Is there another location that I have to set up access control?

    Reply
Cancel reply

Leave a Comment




Comment

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again

write for MTE

Latest Posts

  • OfficeMedium – A Social Collaboration Platform For The Small Business + Free Promotions
  • MakeTechEasier Is Now Hosted On KnownHost
  • KTorrent: KDE’s BitTorrent client
  • How to Create a Customized Toolbar for Your Browser
  • 13 Ways To Customize Ubuntu Netbook Remix For Better Usability

Our Writers

  • Damien Oh - Chief Editor
  • Sharninder - Geeky Ninja
  • Joshua Price
  • Tavis J. Hampton - Lantern Torch
  • Shevonne Polastre - FreeAgentWriter
  • Trevor Dobrygoski
  • Soumen Halder - Ampercent
  • Tanmay Ahmed - Tech-Tips-Geek
Make Tech Easier on Facebook
Jobs by SimplyHired
Job Widgets

Copyright

All the articles (including the text, images and tutorials) are properties of MakeTechEasier.

You cannot copy whole tutorials, either in English or translate to another language without our permission.

Write for us

Writing a tutorial or article for MakeTechEasier is a great way to get exposure and give back to the community.

Read More Details

Suggestions

We need your help to help us serve you better! This is YOUR site, so if you have suggestions/feedbacks on how we can improve it for you, please let us know! We do our best to make this place better!

Make a Suggestion

Navigation

  • Home
  • About Us
  • Advertise
  • Archives
  • Contact Us

Copyright © 2007-2010 Make Tech Easier | All Right Reserved.