Archive

Archive for the ‘Mac OSX’ Category

How to Flush DNS Cache in Mac OS X

November 12, 2013 Leave a comment

For OS X 10.3 and 10.4
lookupd -flushcache

For OS X 10.5 and 10.6
dscacheutil -flushcache

For OS X Lion (10.7) and OS X Mountain Lion (10.8)
sudo killall -HUP mDNSResponder
Note: dscacheutil still exists in 10.7 and 10.8, but the official method to clear out DNS caches is by killing mDNSResponder.

For OS X Mavericks (10.9)
dscacheutil -flushcache;sudo killall -HUP mDNSResponder

How to Create a Mac OSX Mavericks USB Installation Drive

October 30, 2013 7 comments
  1. Insert a USB drive that is 8GB or larger and open Disk Utility.
  2. Select your drive in the sidebar and click on the Erase tab.
    Format the drive as “Mac OS Extended (Journaled)” and name
    the drive “Untitled.”
  3. Click the Erase button and wait for Disk Utility to finish.
  4. Once it has finished, close Disk Utility and open up a Terminal
    window. Copy and paste the following command into the Terminal and press enter:
  5. sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia -volume /Volumes/Untitled -applicationpath /Applications/Install\ OS\ X\ Mavericks.app -nointeraction

    The process should take approximately 20 minutes. Do not cancel it or eject your USB drive during this process. Once it has finished, you should receive a message stating the process is finished. You now have a Mac OSX Mavericks USB installation drive that you can use for clean installations or troubleshooting.

Synergy Fatal Error in Mac OSX Mavericks

October 23, 2013 6 comments

Last night I upgraded my iMac at work to Mac OSX 10.9 Mavericks and this morning when I logged in to the machine and launched Synergy, I received an error:

FATAL: Init failed: system setting not enabled: "Enable access for assistive devices"

Apple changed the location for enabling access for assistive devices from “Accessibility” to “Security & Privacy” in Mavericks. In “Security & Privacy”, under the “Privacy” tab, click “Accessibility.” Apple now allows you to grant individual applications control of your computer whereas before it was one checkbox that allowed any program control.

In order to get the application to show in the list for you to enable, you must first try to run the program that requires the access for assistive devices.

Once I enabled access for Synergy, I still continued to receive the same error. I was able to get Synergy to work with Mavericks by doing the following:

  1. Open Terminal
  2. Execute Synergy from the Terminal by typing “/Applications/Synergy.app/Content/MacOS/Synergy” You should receive the same error about enabling access for assistive devices.
  3. Go to “Security & Privacy” and enable access for the Terminal under “Accessibility.”
  4. Now launch Synergy again from the Terminal using the command “/Applications/Synergy.app/Contents/MacOS/Synergy&”

The ampersand at the end of the command will run the command in the background and give you back the prompt right away.

Note: Closing the Terminal closes Synergy.

This is not a problem for me as I use the Terminal all day but for others it may. I believe Apple is allowing Synergy but not synergys to access privacy accessibility settings and hence why we are getting this message. Hopefully this will be fixed soon.