Archive for October, 2012

fix OSX Mountian Lion sleep connectivity problem

October 21, 2012 Comments off

If your imac or other osx device has no network connectivity after entering the sleep mode, you can fix it by entering the su mode and editing this file:


Locate the two lines containing PrioritizeNetworkReachabilityOverSleep

and change the value in the next line from <integer>0</integer> to <integer>1</integer>

Now your ethernet connection should remain active even while the computer is in the sleep mode.

Categories: sysadmin

Update — Airprint for IOS6

October 15, 2012 Comments off

IOS6 requires these additions to my previous instructions to work with airprint.

Create the following files


##contents of airprint.types##

image/urf urf string(0,UNIRAST<00>)


##contents of airprint.convs###

image/urf application/pdf 100 pdftoraster

recreate /etc/avahi/services with


chmod +x

./ -d /etc/avahi/services/

service restart cups

service restart avahi-daemon

Printing should now work!


Categories: sysadmin