Archive for March, 2011

How-To Install or Update Mac OS X Snow Leopard 10.6.7 on the Asus Eee PC 1005HA Netbook

Wednesday, March 23rd, 2011

Few days ago Apple released the latest update for Mac OS X Snow Leopard 10.6.7 .
Here is the tutorial on how to install or update Mac OS X Snow Leopard 10.6.7 on the Asus Eee PC 1005HA Netbook.

Prerequisites

Yes, you have no alluciantions: the legacy kernel we gonna use is the same prepared for Mac OS X 10.6.6, I tried and it works fine with 10.6.7 on the Asus EeePC 1005HA. I don’t know if it works on other hackintosh systems and netbooks. Please comment about your experience.

Step 1

Follow the instruction of my previous post:

How-To install Mac OS X Snow Leopard 10.6.6 on the Asus Eee PC 1005HA Netbook

following that how-to you can skip the part that let you update from Mac OS X 10.6.0 to Mac OS X 10.6.6 an substituite it with the following content of Step 2.

Step 2 (Upgrade to Mac OS X Snow Leopard 10.6.7)

  1. Copy MacOSXUpdCombo10.6.7.dmg in the USB stick.
  2. Uncompress legacy_kernel-Mac_OS_X_10.6.6.tgz and to legacy_kernel-Mac_OS_X_10.6.6.pkg and copy it on the USB stick.
  3. Insert the USB Stick on the Netbook then mount and run the MacOSXUpdCombo10.6.6.dmg.
  4. When the installation is finished it will ask to restart:
    DO NOT RESTART THE SYSTEM YET!!
  5. Install ‘legacy_kernel-Mac_OS_X_10.6.6.pkg’.
    This install an older version of the kernel that is still compatible with the unficcial extensions we previously installed before the upgrade.
  6. Again, substitute the Extensions for the misbehaving devices:
    1. Copy ‘SleepEnabler.kext’ to ‘/Extra/Extensions/’.
      This fix the hibernation/sleep feature.
    2. Copy again ‘~/Desktop/SnowLeopardAsus/Extra/IO80211Family.kext’ to ‘/Extra/Extensions/’ folder.
      This makes the system to recognize and install the Wi-Fi card.
    3. Copy again ‘~/Desktop/SnowLeopardAsus/Kext/AppleIntelGMA950.kext’ to ‘/System/Library/Extensions/’.
    1. Copy again ‘~/Desktop/SnowLeopardAsus/Kext/AppleIntelIntegratedFramebuffer.kext’ to ‘/System/Library/Extensions/’.
      This fixes the video card and add the option to choose 1024×600 resolution.
  7. Now, most important, fire the command ‘fixkext’ with root privileges or using sudo:
    $ sudo fixkext
  8. VERY IMPORTANT: Run Disk Utility and Repair Disk Permisions
    Without this operation your system will reveal really unstable!!!
  9. Now you can reboot the system

Now go back to:

How-To install Mac OS X Snow Leopard 10.6.6 on the Asus Eee PC 1005HA Netbook

and read the last two sections: What still doesn’t work and Last Adjustments

Mac OS X Server 10.6 Open Directory Replica: “Kerberos is: Stopped”

Friday, March 18th, 2011

It is common that the configuration process of a Mac OS X Snow Leopard Server 10.6 as an Open Directory Replica for your Open Directory Master comes with some problematic issues: it’s very common that the Kerberos service is not initialized properly and will appear in the ‘Server Admin’ Open Directory’s Overview panel as ‘Kerberos is: Stopped‘.

Googoling about this problem I found that is a fault in the DNS name resolution the most common reason that breaks the configuration of the kerberos service preventing the Open Directory Replica server to be recognized and associated with the proper FQDN (Fully Qualified Domain Name).

The fix to this problem is not complicated but will force us to carefully perform these operations:

  1. First things first, although this is a recommended option for local domain naming, make sure that your domain name  is NOT ending in ‘.local.
    In Mac OS X by default the ‘.local’ domains are resolved by the Bonjour service, with priority over the DNS service.
    I recommend to choose a non public domain name like ‘.private’, ‘.lcl’, ‘.my’, ‘.office’…. and so on.
  2. After that, make sure your DNS is PERFECTLY configured to serve FQDN names (i.e. replica.mynetwork.private.) and that one of this name is fully matching to the replica’s hostname(with the exception of the tail ‘.’ ).
  3. Also check the DHCP service, if activated, to be delivering the correct search domain and the IP address of the DNS server able to resolve the name of your Open Directory Master and Replica servers.
  4. Adjust the Replica server’s hostname accordingly to the DNS settings.You can modify the hostname of your replica server with the ‘scutil’ command:
    # scutil --set HostName replica.mynetwork.private
  5. Now decommission the replica server to a standalone directory using the Open Directory Assistant to change the server’s role.

Now the most important operations are done.
Now I recommend a reboot of the system and a double-check of the DNS and hostname configuration using the following commands:

# hostname

The ‘hostname’ command will show the hostname that should appear like the FQDN configured in the DNS service.

# changeip --checkhostname

The ‘changeip’ command will perform a more accurate check on the hostname, using the system calls used by the other system processes and application.

# nslookup replica.mynetwork.private

The ‘nslookup’ command will check that the DNS server is returning the appropriate IP for the requested domain name.

Now it’s time to re-configure the server as a Open Directory Replica, you can use again the Open Directory Assistant. Provide the requested information and when the process is terminated, if you’re lucky enough, the problem will be fixed and the ‘Server Admin’ will show ‘Kerberos is: running.

Unfortunately I’ve not been so lucky when I encountered this problem my first time: for my replica server the Kerberos service was still in ‘Stopped’ status.

After a couple of headaches and a lot of wasted time I figured out that one of the main Kerberos’ configuration files ‘/Library/Preferences/edu.mit.Kerberos’ was missing. This was proof that for some reason the ‘kdcsetup’ process hasn’t been executed.

To fix this issue it is necessary to perform the manual procedure to configure and initialize the kerberos process that actually is the last portion of the manual procedure to join a Replica to an existing Open Directory domain, consisting of:

# /usr/sbin/kdcsetup -c /LDAPv3/127.0.0.1 -a diradmin -p -v 1

This command will create the file /Library/Preferences/edu.mit.Kerberos.

# /usr/sbin/kdb5_util -r

The ‘kdb5_util’ will load information from the initial.dump file from the previous step into the REALM.

# kdcsetup -e

The ‘kdcsetup’ command will enable kdcmond and kadmind in the configuration for launchd.

Now the Kerberos services should have been started on the replica server.

Reboot the system to make sure it’s started automatically at the system initialization.

How-To create an Apple ID and purchase software on the Mac App Store (optionally with use of a GiftCard)

Tuesday, March 8th, 2011

Purchasing software on the Mac App Store is meant to be a straigt-forward process, and it is! Apple’s Magic?!
Said so it’s true that the App Store licensing change the rules we are used to follow (supposedly) .
If facts now we can buy an application on the App Store and install it in as many Macs as we own without extra charge… but what if we are running a company? ..read to know!

Basic Concepts

  1. The App Store purchases are tight to an Apple ID and only one!
  2. Every Apple ID is tight to a specific CreditCard/Peyment Method
    1. By The Way we can create multiple accounts using the same credit card.
    2. We can top-up/recharg the credit on an Apple ID with single or multiple iTunes GiftCards instead of any other peyment method or credit card.
  3. The App Store license allows the owner of the account to install as many copies of the purchased software on as many computers he owns on his EXCLUSIVE/FAMILIY use (it’s not imposed the limit of 5 devices unlike the iOS App Store)

Best practice to avoid liceses issues: HOW-TO STAY LEGAL

  1. For a company’s purposes it’s recomended (I would say nmecesary) to create an Apple ID for each user (employee) that need to buy softwatre from the App Store.
  2. The Apple IDs created must NOT be too tight to the users to avoid problems when an employee would depart (leave the company).
  3. It may be more practical to associate an Apple ID to the machine in use by a user that need the software:
    1. if the user leaves the company we just need to change the password and few personal information associated with the Apple ID.
    2. if the user change computer can login to the new computer and download again the software previously purchased, and remove the copies of the software from the old computer.
    3. if the user has more then one computer he can legally use the same Apple ID on all the computers he uses as far as he is the only user of those computers.
  4. The Apple ID will usually match the email address used to register it, so I suggest to use impersonal emails such [email protected] and those email addresses will be aliases (nick names) for a unique email address that will receive the iTunes invoices issued from the App Store.
  5. When a user needs to buy some applications it’s enough to top-up his Apple ID with an iTunes GiftCard without need to use a Credit Card.
    In case of a domestic use this is a good practice if we want your son/daughter to buy some apps/games without giving them your credit card details, you will feel safe that they won’t drain your account
    .The GitCard can be bought by amny means like via internet from or from the Apple Store user when needed to top-up his account.

Create an Apple ID

  1. Make sure that an appropriate nickname/alias email address, such [email protected], exists and points to [email protected] .
  2. Follow this linkhttps://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/117/wa/createAppleId?wosid=RHjigjcIiKYNMaFbf3xj30&localang=en_UKto create a new Apple ID.
  3. Use the nickname/alias email address ([email protected]) as ‘Apple ID’.
  4. You may consider to use the same password for all the created Apple IDs only if NO Credit Card will be associated to it, because the risk due to a stolen password would be limited to drain all the iTunes GiftCard (leftover) credit and nothing more.
  5. I suggest to use the user’s real full name but a fake birthday date and for the ‘primary address’ to provide the company address.
  6. Confirm the information to create the Apple ID

Add Credit to the Apple ID (Redeem a GiftCard)

If you decided not to use a credit card:

  1. Buy, by any mean, an iTunes GiftCard (aka voucher).
  2. Open the ‘App Store’ application on the Mac where you are going to buy and install the desidered software.
  3. From the application’s menu choose ‘Store -> View My Account‘ and SignIn with the newly created Apple ID credential that will “stick” with this computer.
  4. Edit the ‘Payment Information’.
  5. If you decided to go for iTunes GiftCards (instead of Credit Cards):
    1. Choose ‘NONE’ as payment method and then click on ‘To redeem a code, click here‘.
    2. Enter the Gift Card or other iTunes code to add credit to the Apple ID

Purchase Software in the App Store

  1. Make sure you are signed in with the right Apple ID credential.
  2. Locate the software you want to buy.
  3. Click on the price label below the App’s name.
  4. Provide the Apple ID’s password if required.

The app will be downloaded and installed directly into the Application folder of the Mac.

Mac OS X Lion 10.7 Compatibility List of Applications

Wednesday, March 2nd, 2011

I just discovered that RoaringApps  has started a collaborative wiki community to track, discuss and dissect application compatibility for Mac OS X Lion 10.7.

If you’re lucky enough to have access to the developer pre-realease of Mac OS X Lion 10.7 (build 11A390) you may want to consult this compatibility list to know if you can safely install the brand new system without losing access to any of your applications:

http://roaringapps.com/apps:table