Tag Archives: Macintosh

Mac – Set NTP time server from command line

Active Directory login, Keyserver access, SafeConnect, etc all require the connecting client to have a time setting that is within 5 minutes or so of the server’s time setting.  It is therefore useful to use a “network time protocol” server … Continue reading

Posted in Labs | Tagged , , , | Comments Off on Mac – Set NTP time server from command line

Mac – Using Install command line to install packages

Some software can not be installed on the master image computer because it needs to be uniquely installed on each clone.  So rather then have to copy packages to each clone after imaging, why not put the packages in a … Continue reading

Posted in Articles, Labs | Tagged , , | Comments Off on Mac – Using Install command line to install packages

Mac – Apple Remote Desktop Hangs – Kill the process

Sometimes Apple Remote Desktop hangs on the remote computer and/or you get disconnected.  When that happens you can get the message “can not control remote computer because it is running Apple Remote Desktop or another administrative application”.  To “fix” this … Continue reading

Posted in Labs | Tagged , | Comments Off on Mac – Apple Remote Desktop Hangs – Kill the process

Mac – Removing printers with command line

I use lpadmin -x to remove printers when needed as in: lpadmin -x Spencer-116-Color lpadmin can be used for a bunch of other chores.  See: https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man8/lpadmin.8.html Interestingly, the -x option isn’t listed in the man page! See also: http://hints.macworld.com/article.php?story=20061203221317612 For … Continue reading

Posted in Labs | Tagged , | Comments Off on Mac – Removing printers with command line

Mac – Mt Lion – Disable Notification Center

With Mt Lion, Apple introduced a unified notification center application that alerts you to a number of things like email, etc.  Unfortunately, it also alerts you to recommended system updates. All of this is unwanted on lab/classroom computers. I have … Continue reading

Posted in Articles, Labs | Tagged , | Comments Off on Mac – Mt Lion – Disable Notification Center

Mac – Turn wireless on or off via command line

To control the network settings with the command line try: networksetup -listnetworkserviceorder Then: To display current state of wireless: networksetup -getairportpower <device name> Or to turn wireless off or on: networksetup -setairportpower <device name> <on off> For a longer description … Continue reading

Posted in Labs | Tagged , , | Comments Off on Mac – Turn wireless on or off via command line

Software – VectorWorks nethasp.ini network license file locations

For VectorWorks we use a “dongle” attached to a network license server.  To configure this on the clients use the “nethasp.ini” file pointed to our license server. That file needs to live in /etc on Macs and in the program … Continue reading

Posted in Software | Tagged , , , | Comments Off on Software – VectorWorks nethasp.ini network license file locations

Mac – Startup – GUI to create and edit plist startup files for launchdeamons

Using Lingo version 2.1.1 I am able to use a GUI to create a plist file to allow something to run at a specified time on a Mac.  I tested this on Mac OS 10.8.4 to great a plist file … Continue reading

Posted in Articles | Tagged , | Comments Off on Mac – Startup – GUI to create and edit plist startup files for launchdeamons

Mac – Adding/Changing an icon for a file or folder

This is so easy that I forget how to do it !!! Cut and paste your image onto the icon in the top left hand corner of the “Get Info” window for a file or folder. For an example and … Continue reading

Posted in Labs, Software | Tagged , | Comments Off on Mac – Adding/Changing an icon for a file or folder