This is needed because the hard drive on your Ubuntu box is formatted as ext3 or Reiserfs and not the native Mac format HFS+. Time Machine will create a sparsebundle disk image inside the volume and mounts that too. Now just mount the “TimeMachine” Volume first and choose it as a backup disk in the Time Machine system preferences. Thanks to FoolsRun and tsanga for pointing this out in the comments This is a hidden option not accessible via the graphical user interface so you have to copy & paste this in Terminal (it’s one line): Without it your freshly shared and advertised network volume won’t show up in the disk selection dialogue in Time Machine. Update : On the Mac side you have to enable the option to use network volumes as Time Machine drives first. Update: If you’ve followed the revised version of this article your Linux box should now be represented by a Xserve icon in Finder: ![]() Here you see my Ubuntu server showing up in Finder as Rockhopper: Enter your username and password (the ones you’re using on your Ubuntu machine) and you should see the Volumes we defined earlier with the fault file:Īnother side effect of using AFP is that your Ubuntu box will show up as a nice Apple Cinema Display icon instead of the BSOD windows icon. Check if everything works as intended by clicking on your Ubuntu server in Finder and clicking on the “Connect As” button. Now you’re done with setting up AFP file sharing on your Ubuntu box and advertising it across the network for Finder’s sidebar. In Mac OS X 10.4 Tiger your Ubuntu server should now be visible under Network. Now you have configured the Avahi daemon to advertise AFP sharing across your network which will cause your Ubuntu box to show up in Finder’s sidebar in Mac OS X Leopard. You have to type Y for yes when Terminal asks you if it should continue: Now fire up your Terminal under Applications > Accessories and execute the following lines (separately). If the install package works for you just skip the following self compiling process and head over to the Configure Netatalk section. Although written in italian you can follow the necessary code snippets for installing this package in his blog post. Check the Source Code Box, click Close and choose Reload in the next dialogue.Īlessandro has built a nice. So we have to build our own netatalk package from the sources with the encryption feature enabled.įirst you have to enable the Source Code repositories via System > Administration > Software Sources under the Ubuntu Software tab. Mac OS X requires encryption to work properly but the standard package of netatalk provided in the Ubuntu repositories doesn’t include this feature. Netatalk is the Open Source implementation of AFP. Here are the steps involved in setting up your Ubuntu box as a Mac file server: 1. So be sure to check the latest comments on this article when the 10.5.6 update is out to see if this rumor is true and if there are problems caused by that. ![]() Rumors are Apple will add some undocumented AFP commands with the Mac OS X 10.5.6 update which therefor won’t be supported by the current Netatalk package (and maybe never will). On my Ubuntu boxes there’s no other file sharing protocol like samba (Windows sharing) or NFS activated. Personally I use a fresh installation of Ubuntu 8.04 Hardy Heron Desktop version (32bit on one machine, 64bit on the other) and Mac OS X Leopard (10.5.3 and later) to connect to them. At the end of the article you can download my Server Displays icon pack quickly made by me with custom icons for a Mac, Ubuntu and Windows server. I have tried to explain all steps and Terminal commands so you may learn a bit about the Terminal too. To be perfectly integrated with Mac OS X we’re going to use Apple’s Filing Protocol (AFP) for network and file sharing.Īlthough this Tutorial involves using the Terminal in Ubuntu and looks a bit geeky it’s very easy even for beginners. At the end of this tutorial you will have a server which shows up in the Finder sidebar and behaves just like a Mac server when accessing it from your Macs. So here’s my little Tutorial for connecting Mac OS X Leopard with Ubuntu and using your Ubuntu machine as a backup volume for Time Machine but all steps can be reproduced on every Linux box and they work with Mac OS X 10.4 Tiger too. or you are absolutely sure you want to use AFP for file sharing. You should follow the steps in the following article only if you want to setup a Mac with an OS X version below 10.9. ![]() On Ubuntu, the Samba package can be easily installed and configured to provide connectivity between Ubuntu und Mac OS X out of the box. Apple uses v2 of the Samba protocol, dubbed SMB2 for file sharing by default now, which includes many technical advantages over AFP. This article is very old and has been rendered obsolete for OS X 10.9 Mavericks and above.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |