<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RedHatVN Network &#124; Ho Tro Linux &#124; Support Linux &#124; Linux VN &#187; MAC OS</title>
	<atom:link href="http://redhatvn.net/tag/mac-os-x/feed" rel="self" type="application/rss+xml" />
	<link>http://redhatvn.net</link>
	<description>Shared Linux problems</description>
	<lastBuildDate>Fri, 03 Sep 2010 08:03:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Mounting NFS shares on Mac OS X</title>
		<link>http://redhatvn.net/mounting-nfs-shares-on-mac-os-x</link>
		<comments>http://redhatvn.net/mounting-nfs-shares-on-mac-os-x#comments</comments>
		<pubDate>Thu, 08 Apr 2010 07:29:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MAC OS]]></category>

		<guid isPermaLink="false">http://redhatvn.net/?p=1147</guid>
		<description><![CDATA[I&#8217;ve recently decided to give Mac OS X a try. For the past week or so I&#8217;ve been spending a good few hours a day working in Snow Leopard installed on a MacBook Pro borrowed from a friend. While Mac OS is unlike any Unix-like operating system I&#8217;ve managed so far, there are certainly some [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently decided to give <strong>Mac OS X</strong> a try. For  the past week or so I&#8217;ve been spending a good few hours a day working in  <strong>Snow Leopard</strong> installed on a MacBook Pro borrowed from a  friend.</p>
<p>While <strong>Mac OS</strong> is unlike any Unix-like operating  system I&#8217;ve managed so far, there are certainly some of similarities. I  can honestly say that I&#8217;m enjoying the Mac Book Pro so far, and hope to  discover most of the differences compared to my previous Unix-like  desktop which is Ubuntu 9.10.<br />
<span id="more-1147"></span></p>
<h3>Mounting NFS on MAC OS X</h3>
<p>One thing which I noticed immediately was that out of the box it was  impossible to mount any NFS shares from my Ubuntu NAS server. Any  attempt to mount a remote filesystem would give me an error like this:<br />
<code>mbp:~ root# <strong>mount nasbox:/try /mnt</strong></code></p>
<blockquote><p>mount_nfs: /mnt: Operation not permitted</p></blockquote>
<p>This error was happening for a relatively  simple NFS share on the Ubuntu box:<br />
<code>nasbox# <strong>cat /etc/exports</strong></code></p>
<blockquote><p>/try            (rw)</p></blockquote>
<p>… so I started looking around and realized that the reason for this  strange problem is quite simple.</p>
<h3>Mac OS X uses non-standard port for outgoing NFS connections</h3>
<p>That&#8217;s right – apparently, <strong>Mac OS X </strong>uses a  non-privileged port (<strong>2049</strong>) for TCP and UDP connections  serving the NFS transport. What this means is that most likely attempts  to mount remote filesystems will fail, because most NFS servers don&#8217;t  really like connections from insecure ports.</p>
<p>There are two ways to approach this problem:</p>
<ol>
<li>Fix it on the client side (probably makes more sense)</li>
<li>Fix it on the NFS server side (if you manage both systems)</li>
</ol>
<h3>Using reserved NFS port number on Mac OS X</h3>
<p>There&#8217;s a mount option supported by the <strong>mount_nfs</strong> command, which allows you to force the NFS client connections to  originate from a privileged port. This will magically make your attempts  to mount remote filesystems successful. The option is called <strong>resvport</strong>.</p>
<p>First we double-check that default mounts still don&#8217;t work:<br />
<code>mbp:~ root# <strong>mount nasbox:/try /mnt</strong></code></p>
<blockquote><p>mount_nfs: /mnt: Operation not permitted</p></blockquote>
<p>… and now let&#8217;s use the <strong>resvport</strong> option:</p>
<blockquote><p><code>mbp:~ root# <strong>mount -o resvport nasbox:/try /mnt</strong></code></p></blockquote>
<p>… and make sure we&#8217;re actually looking at a mounted filesystem:<br />
<code>mbp:~ root# <strong>df -h /mnt</code></strong><br />
Filesystem   Size   Used  Avail Capacity  Mounted on</p>
<blockquote><p>nasbox:/try    61Gi   56Gi  2.6Gi    96%    /mnt</p></blockquote>
<h3>Allowing connections from non-privileged ports on NFS server</h3>
<p>Like I said, if you manage both the Mac OS based client and the NFS  server, perhaps it makes more sense to relax the default NFS server  security and allow the connections from non-privileged ports.</p>
<p>Just to remind you about the validity of such a decision, the option  to allow non-privileged connections is called insecure.</p>
<p>Here&#8217;s how you use it:<br />
<code>nasbox# <strong>cat /etc/exports</strong></code></p>
<blockquote><p>/try            (rw,<strong>insecure</strong>)</p></blockquote>
<p>After making this change to the <strong>/etc/exports</strong> file,  you&#8217;ll have to restart your NFS server. On my Ubuntu NAS box, it&#8217;s done  like this:</p>
<blockquote><p>nasbox# <strong>/etc/init.d/nfs-kernel-server restart</strong><br />
* Stopping NFS kernel daemon<br />
…done.<br />
* Unexporting directories for NFS kernel daemon…<br />
…done.<br />
* Exporting directories for NFS kernel daemon…<br />
…done.<br />
* Starting NFS kernel daemon<br />
…done.</p></blockquote>
<p>We know are ready to attempt the default mount of the same filesystem  on the <strong>Mac OS X</strong> client:</p>
<blockquote><p>mbp:~ root# <strong>mount nasbox:/try /mnt</strong></p></blockquote>
<p>That&#8217;s it! I won&#8217;t promise any <strong>Mac OS </strong>posts just  yet, but if there is enough interest</p>
]]></content:encoded>
			<wfw:commentRss>http://redhatvn.net/mounting-nfs-shares-on-mac-os-x/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Change Product Key Of Mac Office 2008</title>
		<link>http://redhatvn.net/change-product-key-of-mac-office-2008</link>
		<comments>http://redhatvn.net/change-product-key-of-mac-office-2008#comments</comments>
		<pubDate>Wed, 23 Dec 2009 04:55:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MAC OS]]></category>

		<guid isPermaLink="false">http://redhatvn.net/?p=926</guid>
		<description><![CDATA[Chances are, you may want to change the product key of your Mac Office 2008 upon finishing an update from their site because the product key used to install your Office 2008 installation used an invalid product key. If after the update it does detect that an invalid product key was used, the office assistant [...]]]></description>
			<content:encoded><![CDATA[<p>Chances are, you may want to change the product key of your Mac Office 2008 upon finishing an update from their site because the product key used to install your Office 2008 installation used an invalid product key. If after the update it does detect that an invalid product key was used, the office assistant will keep on popping up while the application that you chose to open will never be seen. To reset the product key, delete the following files and send to trash.</p>
<ul>
<li>/Users/[username]/Library/Preferences/Microsoft/Office 2008/Microsoft Office 2008 settings.plist</li>
<li>/Applications/Microsoft Office 2008/Office/OfficePID.plist</li>
</ul>
<p>[username] would be the username of your laptop. Run any Mac Office 2008 application and the office assistant will now have a textfield of the product key for you to input.</p>
]]></content:encoded>
			<wfw:commentRss>http://redhatvn.net/change-product-key-of-mac-office-2008/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>iSync Plugin for Nokia 6120 Classic</title>
		<link>http://redhatvn.net/isync-plugin-for-nokia-6120-classic</link>
		<comments>http://redhatvn.net/isync-plugin-for-nokia-6120-classic#comments</comments>
		<pubDate>Wed, 23 Dec 2009 01:29:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MAC OS]]></category>
		<category><![CDATA[isync]]></category>

		<guid isPermaLink="false">http://redhatvn.net/?p=923</guid>
		<description><![CDATA[Nokia not having an iSync plugin for the phone (they seem to have one for every other device). So I’ve put one together with some info from the web (and looking inside the available Nokia plugins) and now have it working successfully over Bluetooth. It has full iCal &#38; Address Book (with photos) support, and [...]]]></description>
			<content:encoded><![CDATA[<p>Nokia not having an iSync plugin for the phone (they seem to have one for <a title="Link to Nokia's Mac Site" href="http://europe.nokia.com/mac">every other device</a>).</p>
<p>So I’ve put one together with some info from the web (and looking inside the available Nokia plugins) and now have it working successfully over Bluetooth. It has full iCal &amp; Address Book (with photos) support, and a nice pic of the phone for the iSync panel.<br />
<span id="more-923"></span><br />
<span style="color: #ff6600;"> To Install</span><br />
1. Download (<a title="Version 1.1 downloaded 6455 times" href="http://redhatvn.net/images/Nokia-6120.phoneplugin.zip">Nokia 6120 Classic iSync Plugin (6455) &#8211; 23.69 KB</a>) &amp; unzip the file.<br />
2. Open Finder, and browse to Macintosh HD/Library/PhonePlugins.<br />
3. Copy the “Nokia-6120.phoneplugin” into this folder.</p>
<p>If the PhonePlugins folder doesn’t exist, create it and then do step 3.</p>
<p>Once done, use the Bluetooth “Bluetooth Setup Assistant” and add your phone, it should be detected and work as expected from then on.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://redhatvn.net/isync-plugin-for-nokia-6120-classic/feed</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>dyld: shared cached file was build against a different libSystem.dylib, ignoring cache</title>
		<link>http://redhatvn.net/dyld-shared-cached-file-was-build-against-a-different-libsystem-dylib-ignoring-cache</link>
		<comments>http://redhatvn.net/dyld-shared-cached-file-was-build-against-a-different-libsystem-dylib-ignoring-cache#comments</comments>
		<pubDate>Tue, 15 Dec 2009 01:56:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MAC OS]]></category>

		<guid isPermaLink="false">http://redhatvn.net/?p=879</guid>
		<description><![CDATA[I recently tried an antivirus application (ESET NOD32 Antivirus 4 for Mac OS X) for mac os x, I’m in a mixed mac/win environment at work so why not check if I had any windows viruses on my box The application runs rather smoothly even if it’s a beta. At least until it messed up a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently tried an antivirus application (ESET NOD32 Antivirus 4 for Mac OS X) for mac os x, I’m in a mixed mac/win environment at work so why not check if I had any windows viruses on my box <img src="http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p>The application runs rather smoothly even if it’s a beta. At least until it messed up a bunch of different cache files in /private/var/db/dyld. The line “dyld: shared cached file was build against a different libSystem.dylib, ignoring cache” was showing up whenever I worked in terminal. Amazingly irritating!<br />
<span id="more-879"></span></p>
<h3>The fix</h3>
<p>The fix for this error was rather simple, just open a terminal window and enter</p>
<p><code>$sudo update_dyld_shared_cache -force</code></p>
<p>Enter your password when required. This operation might take a few minutes.</p>
<h3>For the record</h3>
<p>My os x version is (currently) 10.6.2</p>
]]></content:encoded>
			<wfw:commentRss>http://redhatvn.net/dyld-shared-cached-file-was-build-against-a-different-libsystem-dylib-ignoring-cache/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CoRD Mac OS X remote desktop client for Microsoft Windows</title>
		<link>http://redhatvn.net/cord-mac-os-x-remote-desktop-client-for-microsoft-windows</link>
		<comments>http://redhatvn.net/cord-mac-os-x-remote-desktop-client-for-microsoft-windows#comments</comments>
		<pubDate>Wed, 02 Dec 2009 08:08:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MAC OS]]></category>

		<guid isPermaLink="false">http://redhatvn.net/?p=678</guid>
		<description><![CDATA[CorRD is Mac OS X remote desktop client for Microsoft remote desktop and terminal services. It is an open source native client for Mac OS X. It is a Universal Binary, and allows you to connect to multiple servers concurrently. It was originally ported from the UNIX program rdesktop Download link =&#62; Download CoRD]]></description>
			<content:encoded><![CDATA[<p>CorRD is Mac OS X remote desktop client for Microsoft remote desktop and terminal services.<br />
It is an open source native client for Mac OS X.</p>
<p>It is a Universal Binary, and allows you to connect to multiple servers concurrently. It was originally ported from the UNIX program rdesktop</p>
<h3>Download link</h3>
<p>=&gt; <a href="http://cord.sourceforge.net/">Download CoRD</a></p>
]]></content:encoded>
			<wfw:commentRss>http://redhatvn.net/cord-mac-os-x-remote-desktop-client-for-microsoft-windows/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->