Posts with the category Mac OS X 10.8 Mountain Lion

Mounting NFS on Mac OS X 10.8 and 10.9

showmount -e 192.168.12.162
sudo mkdir /private/nfs

sudo mount -o rw,resvport -t nfs 192.168.12.162:/NASdata /private/nfs
#or
sudo mount -o rw -t nfs 192.168.12.144:/mnt/md1 /private/nfs

open /private/nfs

If you cannot write to the share, your numeric user ID may not match a user on the target machine and thus you may not have permission to...

Read on

Disable spotlight indexing on Mac OS X

Here are my notes on disabling spotlight indexing (temporarily). I need this sometimes, for example when copying large contents of a disk to a different volume. When that disk is connected to the Mac, it directly starts indexing and that is really annoying because it slows down the file transfer...

Read on

Determining Local IPv4 and IPv6 Addresses On Mac OS X Via The Command Line

Getting IPv4 and IPv6 addresses of your local machine on Mac OS X 10.8 Mountain Lion is quite easy. Here is how it works:

IF='en0' # ← restrict to wired connection or do  IF=""  to get all
# Get local IPv4 addresses (without...

Read on

Digitus DA-70156 USB-to-Serial Adapter on Mac OS X 10.8

I downloaded the latest driver v. 2.2.18 from http://www.ftdichip.com/Drivers/VCP.htm.

After installation of the driver, the Console application in Mac OS X 10.8 shows a new log entry:

2012-10-02 2:52:55.000 PM kernel[0]: FTDIUSBSerialDriver:        0  4036001 start - ok

The System Information App...

Read on

Be Able To Watch DVDs With An External DVD Drive On Mac OS X

To solve such a problem:

Valid DVD Drive could not be found -70012

use the app DVD Drive Switcher (it simply runs step 2 of the following commands) or run these commands in the command line (Terminal App):

# Step 1 - Create a backup of DVDPlayback.framework
sudo cp /System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback /System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback.bak
<span...

Read on

VLAN – on Ubuntu, Arch Linux and Mac OS X

Ubuntu

Installation

sudo apt-get install vlan
sudo su -c 'echo "8021q" >> /etc/modules'
sudo modprobe 8021q

Usage and Configuration

# adding a vlan to a network interface:
ip link add link eth0 name eth0.10 type vlan id 10
# configuring the vlan:
ip addr add 10.0.0.1/24 brd 10.0.0.255 dev...

Read on

Changing The MAC Address of a NIC in OS X Mountain Lion

This process is also known as spoofing.

# generating a random mac:
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'
# ↑ although this doesn't take care of bit 0 and 1 of byte 0 which should be 0.
#   ( http://en.wikipedia.org/wiki/MAC_address#Address_details )
#...

Read on

Setup an NTP Server in Mac OS X 10.8

The How-To: Setup an NTP Server in Mac OS X still works for OS X 10.8. Here are the steps once again:

Here is how to set up an NTP Server in Mac OS X

Open the "Date & Time" system preferences. Disable "Set date & time automatically".

Edit the file /etc/ntp.conf...

Read on

ROOT CERN Mirror

As the ROOT website root.cern.ch is currently not reachable, I uploaded the latest source release (which I downloaded a couple of days ago from the ROOT site):

...

Read on

Installing ROOT CERN on Mac OS X 10.8 Mountain Lion

This is a follow up post for the older one on installing an older ROOT version on 10.7 Lion.

Prerequisites

First, you need to install XCode 4.4 which can be found in the Mac App Store (rather in the Mac Dev program as long as it's not released). Then open it...

Read on