Mac OSX Mountain Lion 10.8.5 Just Released

image

Mountain Lion 10.8.5 just released and available for download. All users with 10.8.4 are recommended to upgrade.

I just upgraded my macs without any issues. All apps work fine including my Time Machine setup using shared folder in Ubuntu. No additional setting needed.

Advertisements

Upgrade Netatalk

At last I have a chance to upgrade new updates of Netatalk 2.2.2 that already released two months ago.  The Time Machine and my shared folders work great with no issues. I use Ubuntu 11.04 and my Mac use latest version OSX Lion 10.7.3.

I see that new features are not really for Ubuntu, but there are some updates and bugs fixes that are useful to users. So it is recommended to upgrade for users who uses version 2.2.1.

This article is for you who already used Netatalk 2.2.1 and follow this post. If you are new to Netatalk, please follow the steps in that article. Read more of this post

Connect to AFP Server Automatically

If you want to connect to server every time you logon, is very simple in Mac. We can utilize Apple Script to do the magic. In this tutorial is using example from my previous post, Share Folder in Ubuntu 11.04 for Mac OSX Lion, how to mount Time Machine disk in Ubuntu server.

Applescript is very useful and simple tool available in Mac OSX that can help us to do whatever we want.

Create the script

The logic for this task is first to check if the volume is exist, if not then the share server is not connected so tell Mac to connect to server. Second is add it to Login Items List to run it automatically.

Open the AppleScript Editor. From Finder open Applications - Utilities - AppleScript Editor. Then copy and paste the following code.

tell application "Finder"
if not (disk "TimeMachine" exists) then
mount volume "afp://username:password@192.168.1.10/TimeMachine"
end if
end tell

Change the username and password as whatever you have created in your server. You can also add more disks to the script for example mount share disk, DVD, etc. if you like.

Save it to whatever you want, for example connect_afp_server.

Testing

Let’s do the testing. Make sure you are not connected to the server. Disconnect it or unmount the disk from Finder if you are connected. Go back to AppleScript Editor, click Compile button. If you see no error then click Run button. You should see file: "TimeMachine" at the Result pane. Check from Finder to see if your mounted disk is there.

Run Automatically

To run it automatically we need to run the AppleScript every time you login. First we have to save the script as Application. From AppleScript Editor click Save As, Select File Format as Application. Click Save button.

Then add it to the Login Items List. Open System Preferences, click Users & Groups. Select the user or group that you usually use. Select the Login Items tab. Then click the + button to add the AppleScript. Find the script you just created. See the column Kind, make sure you select the one with Application kind.

One more test to check if the script works as what we want. Logout, then login again, wait a few seconds, we have to let Mac run the script and mounting the disk. If you see the Dock carefully you will see AppleScript icon popping up a second when the script is running. Then check from Finder if the TimeMachine disk is mounted.

That is it. Now your Time Machine Disk is automatically connected.

Share Folder in Ubuntu 11.04 for Mac OSX Lion

I just bought a MacMini with OSX Lion 10.7. I chose 2.3GHz Mac mini and added 8 GB RAM on it. I also bought the wireless keyboard and magic mouse. Everything works great with pretty easy setup. Then connect it to the network via wifi.

Many people have problems with the Time Machine setup and connect to shared folder in other server. Some others gave up and down graded back to OSX 10.6 Leopard. I would also do the same is to connect a shared folder in my Ubuntu 11.04. Like many others I found this is not an easy way for me. I have tried Samba with no luck. Samba is no longer supported in OSX Lion. So I choose using Netatalk with little adjustment in OSX Lion to force it able to see legacy AFP. Read more of this post