<?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"
	>

<channel>
	<title>Mac OS X Leopard &#38; Tiger Dual Boot &#187; instructions</title>
	<atom:link href="http://installingcats.com/category/instructions/feed/" rel="self" type="application/rss+xml" />
	<link>http://installingcats.com</link>
	<description>Fixes for Apple AirPort, QuickTime AVI, and other Leopard Issues</description>
	<pubDate>Tue, 06 Jan 2009 07:32:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Tips on applying iSkin iPod/iPhone screen film</title>
		<link>http://installingcats.com/2008/11/29/tips-on-applying-iskin-ipodiphone-screen-film/</link>
		<comments>http://installingcats.com/2008/11/29/tips-on-applying-iskin-ipodiphone-screen-film/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 01:35:33 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[instructions]]></category>

		<category><![CDATA[film application tips]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[iphone screen film]]></category>

		<category><![CDATA[ipod touch]]></category>

		<category><![CDATA[ipod touch screen film]]></category>

		<category><![CDATA[screen film]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=163</guid>
		<description><![CDATA[Here&#8217;s how to attach the iPod Touch/iPhone screen film from iSkin without bubbles (and avoiding the seven layers of hell while doing so).

Wear polyester based clothing (which doesn&#8217;t produce dust).
Start the process in a room that is the most dust free in your house.  Perhaps your kitchen.
Have the screen film, the anti-static alcohol wipe, and [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Tips on applying iSkin iPod/iPhone screen film", url: "http://installingcats.com/2008/11/29/tips-on-applying-iskin-ipodiphone-screen-film/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how to attach the iPod Touch/iPhone screen film from <a href="http://www.iskin.com/touchduo/features_pattern.html" onclick="javascript:urchinTracker ('/outbound/article/www.iskin.com');">iSkin</a> without bubbles (and avoiding the seven layers of hell while doing so).<img class="alignright alignnone size-medium wp-image-164" style="margin: 6px; float: right;" title="touchduo_film_screen" src="http://installingcats.com/wp-content/uploads/2008/11/touchduo_film_screen-300x248.png" alt="" width="300" height="248" /></p>
<ul>
<li><strong>Wear polyester based clothing</strong> (which doesn&#8217;t produce dust).</li>
<li>Start the process in a room that is the most dust free in your house.  Perhaps your <strong>kitchen</strong>.</li>
<li>Have the screen film, the anti-static alcohol wipe, and a small bit of <strong>saran wrap</strong> handy.</li>
<li>Wipe down the screen well with the alcohol wipe and hold the iPod touch screen up to the light to check for remaining dust.  If there&#8217;s any you can see, keep wiping.</li>
<li>When the screen is dust free, <strong>hold your iPod vertically</strong>, either on its side or standing up.  This prevents new dust from falling on the screen while you get ready with the screen film.</li>
<li>Peel away layer A of the screen film and quickly start to apply the bottom edge of the film, holding the film like a playing card, touching only the edges (the film is quite stiff, allowing you to hold it like a card).</li>
<li>The film will quickly start sticking or tacking onto the super clean iPod touch screen and will turn dark as it does, allowing you to easily see where the film has stuck or is still free or heaven forbid, has trapped some dust which will create a bubble.  <strong>Don&#8217;t try to apply the film all in one go</strong>.  Start from one corner and slowly work your way to the opposite corner.</li>
<li><strong>Rub the film with your thumb</strong> from one side to the other along the &#8220;tack front&#8221; as you slowly move up the screen.  I recommend doing it not in a straight line but slighly diagonally like a guillotine blade.</li>
<li>Before reaching to the final upper corner, <strong>place the saran wrap in the corner where the film will finish</strong>.  This allows you to easily lift the film up to repeat if you messed up the alignment or if dust has gotten between the film &amp; screen.</li>
<li>If you&#8217;ve managed to trap dust between the film and the screen, air bubbles will be glaringly obvious.  Don&#8217;t bother typing to wipe the dust off the film with your fingers or to squeeze out the air bubble with a credit card&#8230; it&#8217;s futile.  Remove the entire film and go to the sink.  Using a slow smooth stream of warm water, <strong>rinse the tacky side of the film</strong>.  Don&#8217;t worry, <strong>there&#8217;s no glue to be washed away</strong> so this is safe.  Shake the excess water off when finished.  Use the alcohol wipe (which is likely dry by now) to soak up any remaining water droplets since it is lint &amp; dust free.</li>
<li>Repeat until you apply the film without dust and without bubbles.</li>
</ul>
<p>(photo courtesy of <a href="http://www.iskin.com/touchduo/features_pattern.html" onclick="javascript:urchinTracker ('/outbound/article/www.iskin.com');">iSkin</a>)</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=04e8c75d-ba13-4630-b7c3-feb6026ca008&amp;title=Tips+on+applying+iSkin+iPod%2FiPhone+screen+film&amp;url=http%3A%2F%2Finstallingcats.com%2F2008%2F11%2F29%2Ftips-on-applying-iskin-ipodiphone-screen-film%2F" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/11/29/tips-on-applying-iskin-ipodiphone-screen-film/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MacBook Longer Battery Life Tip</title>
		<link>http://installingcats.com/2008/11/06/macbook-longer-battery-life/</link>
		<comments>http://installingcats.com/2008/11/06/macbook-longer-battery-life/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 11:52:29 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[instructions]]></category>

		<category><![CDATA[battery life]]></category>

		<category><![CDATA[led backlit screen]]></category>

		<category><![CDATA[macbook pro battery life]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=153</guid>
		<description><![CDATA[Quick Tip for a longer MacBook Pro battery life (with LED backlit screens): Make a Hot Corner for turning off the screen and use it whenever you&#8217;re not actually looking at the screen. (System Preferences -&#62; Desktop &#38; Screen Saver -&#62; Hot Corners&#8230; [button])
If you&#8217;re like me and do multiple things while working with your [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "MacBook Longer Battery Life Tip", url: "http://installingcats.com/2008/11/06/macbook-longer-battery-life/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Quick Tip for a longer MacBook Pro battery life (with LED backlit screens): Make a <strong>Hot Corner</strong> for turning off the screen and use it whenever you&#8217;re not actually looking at the screen. (System Preferences -&gt; Desktop &amp; Screen Saver -&gt; Hot Corners&#8230; [button])<a href="http://installingcats.com/wp-content/uploads/2008/11/hot_sleep_corner.gif" ><img class="alignright alignnone size-medium wp-image-154" style="margin: 6px; float: right;" title="MacBook Sleep Display Hot Corner" src="http://installingcats.com/wp-content/uploads/2008/11/hot_sleep_corner-300x258.gif" alt="MacBook Sleep Display Hot Corner" width="300" height="258" /></a></p>
<p>If you&#8217;re like me and do multiple things while working with your MacBook, there are times when you&#8217;re not actually looking at the screen.  Quickly swipe your mouse to the Hot Corner you&#8217;ve setup for <strong>Sleep Display</strong> and you&#8217;ll reap instant power savings with very little cost in terms of downtime/wake time.</p>
<p><strong>Fluorescent tube</strong> backlit screens unfortunately have a warm-up/cool-down time that causes the screen to appear dark when first lit and slowly increase in brightness as the backlighting tube warms up.  <strong>LED backlit</strong> screens <em>brighten instantly</em> to their preset level, so take advantage of it.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=04e8c75d-ba13-4630-b7c3-feb6026ca008&amp;title=MacBook+Longer+Battery+Life+Tip&amp;url=http%3A%2F%2Finstallingcats.com%2F2008%2F11%2F06%2Fmacbook-longer-battery-life%2F" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/11/06/macbook-longer-battery-life/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Watch Windows Media (WMV) Stream on Mac</title>
		<link>http://installingcats.com/2008/11/04/watch-windows-media-wmv-stream-on-mac/</link>
		<comments>http://installingcats.com/2008/11/04/watch-windows-media-wmv-stream-on-mac/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 00:01:17 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[instructions]]></category>

		<category><![CDATA[flip4mac alternative]]></category>

		<category><![CDATA[vlc wmv player]]></category>

		<category><![CDATA[watch wmv stream mac]]></category>

		<category><![CDATA[wmv Mac]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=144</guid>
		<description><![CDATA[Instead of installing Flip4Mac you can use VLC to watch streaming videos, particularly Windows Media (wmv) streams on Mac.
Here&#8217;s how:
Download VLC for Mac OS X here. Install and Launch VLC Player.
A Windows Media stream that cannot be played in Firefox will only show a lego brick and a blank area.

To find the media stream in [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Watch Windows Media (WMV) Stream on Mac", url: "http://installingcats.com/2008/11/04/watch-windows-media-wmv-stream-on-mac/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Instead of installing Flip4Mac you can use VLC to watch streaming videos, particularly Windows Media (wmv) streams on Mac.</p>
<p>Here&#8217;s how:</p>
<p><a href="http://www.videolan.org/vlc/download-macosx.html" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.videolan.org');">Download VLC for Mac OS X here</a>. Install and Launch VLC Player.</p>
<p>A Windows Media stream that cannot be played in Firefox will only show a lego brick and a blank area.</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/11/wmv_plugin_needed.gif" ><img class="alignnone size-medium wp-image-151" style="margin: 6px;" title="wmv_plugin_needed" src="http://installingcats.com/wp-content/uploads/2008/11/wmv_plugin_needed-300x250.gif" alt="WMV Plugin needed Firefox Mac" width="300" height="250" /></a></p>
<p><strong>To find the media stream in Firefox</strong>, go to Tools -&gt; Page Info (Cmd + I).</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/11/ff_page_info.gif" ><img class="alignnone size-medium wp-image-149" style="margin: 6px;" title="Firefox Page Info" src="http://installingcats.com/wp-content/uploads/2008/11/ff_page_info-300x151.gif" alt="Firefox Page Info" width="300" height="151" /></a></p>
<p>On the Page Info pop-up window, click on the <strong>Media</strong> tab.</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/11/firefox_wmv_media_stream.gif" ><img class="alignnone size-medium wp-image-150" title="firefox_wmv_media_stream" src="http://installingcats.com/wp-content/uploads/2008/11/firefox_wmv_media_stream-300x250.gif" alt="firefox_wmv_media_stream" width="300" height="250" /></a></p>
<p>One of media items in the list will use a different protocol than http, in this case, <strong><em>mms</em> with the Type as <em>Embed</em></strong>.  In the Location information just below the list you&#8217;ll see the mms media stream Internet address. In this case mms://live.france24.com/election-en.wsx.  Highlight this address with your mouse and Cmd + C to copy it.</p>
<p>Now it&#8217;s time to open that Windows Media stream in VLC Player. Click on File and <strong>Open Network</strong>.</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/11/vlc_open_network.gif" ><img class="alignnone size-medium wp-image-148" title="VLC Open Network" src="http://installingcats.com/wp-content/uploads/2008/11/vlc_open_network-300x178.gif" alt="VLC Open Network" width="300" height="178" /></a></p>
<p>Paste the Windows Media stream that you copied earlier into <strong>Media Resource Locator field</strong>. Then click on HTTP/FTP/MMS/RTSP <strong>radio button </strong>on the left hand side of the Open Source window.</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/11/vlc_network_stream.gif" ><img class="alignnone size-medium wp-image-147" title="Open WMV Stream in VLC" src="http://installingcats.com/wp-content/uploads/2008/11/vlc_network_stream-300x161.gif" alt="Open WMV Stream in VLC" width="300" height="161" /></a></p>
<p>Click OK. VLC will begin loading the stream and will play the WMV stream shortly.</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/11/france24_election_stream.jpg" ><img class="alignnone size-medium wp-image-145" title="VLC Playing WMV media stream" src="http://installingcats.com/wp-content/uploads/2008/11/france24_election_stream.jpg" alt="VLC Playing WMV media stream on Mac" width="300" height="250" /></a></p>
<p>Enjoy your coverage of Obama defeating John McCain on France 24 live media stream.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=04e8c75d-ba13-4630-b7c3-feb6026ca008&amp;title=Watch+Windows+Media+%28WMV%29+Stream+on+Mac&amp;url=http%3A%2F%2Finstallingcats.com%2F2008%2F11%2F04%2Fwatch-windows-media-wmv-stream-on-mac%2F" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/11/04/watch-windows-media-wmv-stream-on-mac/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Download Old Versions of Firefox</title>
		<link>http://installingcats.com/2008/10/15/download-old-versions-of-firefox/</link>
		<comments>http://installingcats.com/2008/10/15/download-old-versions-of-firefox/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 06:12:10 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[instructions]]></category>

		<category><![CDATA[download firefox]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[firefox mac]]></category>

		<category><![CDATA[firefox versions]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=117</guid>
		<description><![CDATA[To download old or previous versions of Firefox, such as 3.0.2 or earlier, try this (official Mozilla) address: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
This site makes available for download Firefox 2(.0.0.6) up to the latest official release (3.0.3 as of Oct 2008) and nightly builds which contain fixes to bugs up until the previous night.

I&#8217;m currently having a problem with [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Download Old Versions of Firefox", url: "http://installingcats.com/2008/10/15/download-old-versions-of-firefox/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To download old or previous versions of Firefox, such as 3.0.2 or earlier, try this (official Mozilla) address: <a href="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/" onclick="javascript:urchinTracker ('/outbound/article/releases.mozilla.org');">http://releases.mozilla.org/pub/mozilla.org/firefox/releases/</a></p>
<p>This site makes available for download Firefox 2(.0.0.6) up to the latest official release (3.0.3 as of Oct 2008) and nightly builds which contain fixes to bugs up until the previous night.</p>
<p><a href="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/" onclick="javascript:urchinTracker ('/outbound/article/releases.mozilla.org');"><img class="alignnone size-medium wp-image-118" title="Firefox Old Versions at Mozilla.org" src="http://installingcats.com/wp-content/uploads/2008/10/firefox_versions-300x182.gif" alt="Firefox Old Versions at Mozilla.org" width="300" height="182" /></a></p>
<p>I&#8217;m currently having a problem with Firefox 3.0.3 not showing/processing stylesheets (CSS) from web pages upon first load, requiring multiple reloads pressing Cmd + R (Ctrl + R for you Windows folks) in order for the page to be displayed properly.  Otherwise, the page loads with text only, hyper-ugly, 1994 style web page</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=04e8c75d-ba13-4630-b7c3-feb6026ca008&amp;title=Download+Old+Versions+of+Firefox&amp;url=http%3A%2F%2Finstallingcats.com%2F2008%2F10%2F15%2Fdownload-old-versions-of-firefox%2F" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/10/15/download-old-versions-of-firefox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Remove Backed Up Items from Time Machine</title>
		<link>http://installingcats.com/2008/09/12/remove-backed-up-items-from-time-machine/</link>
		<comments>http://installingcats.com/2008/09/12/remove-backed-up-items-from-time-machine/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 22:25:54 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[instructions]]></category>

		<category><![CDATA[remove back up item]]></category>

		<category><![CDATA[remove backed up items]]></category>

		<category><![CDATA[remove time machine items]]></category>

		<category><![CDATA[Time Machine]]></category>

		<category><![CDATA[time machine backup]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=112</guid>
		<description><![CDATA[To get back disk space on your Time Machine Backup drive you can delete or remove backed up items from Time Machine permanently.
First, go into Time Machine by clicking on the clock arrow icon in the Dock (top right hand corner beside your clock).

Then in Finder (with all the files and folders listed), click and [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Remove Backed Up Items from Time Machine", url: "http://installingcats.com/2008/09/12/remove-backed-up-items-from-time-machine/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To get back disk space on your Time Machine Backup drive you can delete or remove backed up items from Time Machine permanently.</p>
<p>First, go into Time Machine by clicking on the clock arrow icon in the Dock (top right hand corner beside your clock).</p>
<p><img class="alignnone size-full wp-image-113" title="How to enter Time Machine from Dock" src="http://installingcats.com/wp-content/uploads/2008/09/time_machine_icon_dock.gif" alt="How to enter Time Machine from Dock" width="399" height="150" /></p>
<p>Then in Finder (with all the files and folders listed), click and highlight the item that you want to remove from your Time Machine backups.</p>
<p>Next, click on the Gear icon at the top center of the window.</p>
<p><img class="alignnone size-full wp-image-114" title="Finder Gear Button" src="http://installingcats.com/wp-content/uploads/2008/09/gear_button.gif" alt="Finder Gear Button" width="248" height="100" /></p>
<p>And choose Delete All Backups of &#8230;</p>
<p>Time Machine will then proceed to remove all traces of the item from your backups.  It&#8217;s a good idea to exclude this item from Time Machine <em>before</em> you perform this removal.  If you don&#8217;t, the next time Time Machine runs, you&#8217;ll end up with this item again in your backups.  Within the Preferences for Time Machine, click on the Options button.  That will open a window with a list of &#8220;Do not back up&#8221; items.  Clicking the Plus (+) button allows you to select files or folders that you wish to exclude from Time Machine.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=04e8c75d-ba13-4630-b7c3-feb6026ca008&amp;title=Remove+Backed+Up+Items+from+Time+Machine&amp;url=http%3A%2F%2Finstallingcats.com%2F2008%2F09%2F12%2Fremove-backed-up-items-from-time-machine%2F" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/09/12/remove-backed-up-items-from-time-machine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Not allowed to connect to this MySQL server</title>
		<link>http://installingcats.com/2008/07/02/not-allowed-to-connect-to-this-mysql-server/</link>
		<comments>http://installingcats.com/2008/07/02/not-allowed-to-connect-to-this-mysql-server/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 10:25:42 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[instructions]]></category>

		<category><![CDATA[mysql not allowed to connect]]></category>

		<category><![CDATA[mysql server]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=109</guid>
		<description><![CDATA[When connecting to a remote mysql server, the login/user must have rights to connect to the mysql server from outside of the local server, i.e. localhost. You need to edit the user record within the mysql.user table or add a new record for this user, giving it access to connect to the mysql server from [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Not allowed to connect to this MySQL server", url: "http://installingcats.com/2008/07/02/not-allowed-to-connect-to-this-mysql-server/" });</script>]]></description>
			<content:encoded><![CDATA[<p>When connecting to a remote mysql server, the login/user must have rights to connect to the mysql server from outside of the local server, i.e. localhost. You need to edit the user record within the mysql.user table or add a new record for this user, giving it access to connect to the mysql server from a host other than localhost.</p>
<p>Login to the mysql server add run the following command:<br />
<code>grant all privileges on *.* to 'user'@'192.168.25.1' identified by 'password' with GRANT OPTION;</code><br />
Replace &#8220;user&#8221; and &#8220;password&#8221; and &#8220;192.168.25.1&#8243; with your mysql username, password, and the IP address of your computer that you&#8217;re connecting (to the mysql server) from.</p>
<p>Remember that your <a href="http://installingcats.com/2008/07/02/cant-connect-to-mysql-server-on-remote-server/" >mysql server must also allow connections from remote hosts</a>.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=04e8c75d-ba13-4630-b7c3-feb6026ca008&amp;title=Not+allowed+to+connect+to+this+MySQL+server&amp;url=http%3A%2F%2Finstallingcats.com%2F2008%2F07%2F02%2Fnot-allowed-to-connect-to-this-mysql-server%2F" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/07/02/not-allowed-to-connect-to-this-mysql-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Can&#8217;t connect to mysql server on remote server</title>
		<link>http://installingcats.com/2008/07/02/cant-connect-to-mysql-server-on-remote-server/</link>
		<comments>http://installingcats.com/2008/07/02/cant-connect-to-mysql-server-on-remote-server/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 10:18:06 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[instructions]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[mysql can't connect]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=108</guid>
		<description><![CDATA[By default mysql does not allow connects to itself from any host besides localhost, for security reasons.
When you get an error &#8220;Can&#8217;t connect to mysql server on [remote server]&#8221; when trying to connect to the remote SQL server via the mysql command line tool, log into the server running the mysql server and edit the [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Can&#8217;t connect to mysql server on remote server", url: "http://installingcats.com/2008/07/02/cant-connect-to-mysql-server-on-remote-server/" });</script>]]></description>
			<content:encoded><![CDATA[<p>By default mysql does not allow connects to itself from any host besides localhost, for security reasons.</p>
<p>When you get an error &#8220;Can&#8217;t connect to mysql server on [remote server]&#8221; when trying to connect to the remote SQL server via the mysql command line tool, log into the server running the mysql server and edit the /etc/mysql/my.cnf config file.</p>
<p>In particular, comment out the following line:<br />
<code>bind-address           = 127.0.0.1</code><br />
This allows for connections from any host.</p>
<p>Next, update the <a href="http://installingcats.com/2008/07/02/not-allowed-to-connect-to-this-mysql-server/" >mysql user to allow it access from a host other than &#8216;localhost&#8217;</a>.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=04e8c75d-ba13-4630-b7c3-feb6026ca008&amp;title=Can%26%238217%3Bt+connect+to+mysql+server+on+remote+server&amp;url=http%3A%2F%2Finstallingcats.com%2F2008%2F07%2F02%2Fcant-connect-to-mysql-server-on-remote-server%2F" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/07/02/cant-connect-to-mysql-server-on-remote-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Play ISO Videos in Front Row</title>
		<link>http://installingcats.com/2008/06/17/play-iso-videos-in-front-row/</link>
		<comments>http://installingcats.com/2008/06/17/play-iso-videos-in-front-row/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 10:55:19 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[instructions]]></category>

		<category><![CDATA[apple front row]]></category>

		<category><![CDATA[front row]]></category>

		<category><![CDATA[iso front row]]></category>

		<category><![CDATA[play iso videos front row]]></category>

		<category><![CDATA[quicktime iso]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=90</guid>
		<description><![CDATA[To have Apple Front Row show and play videos inside of an iso file, first mount the iso file then make links to the video files inside of the iso, within your Movies folder. This can be useful for example when you have a season of television episodes of House MD in a single ISO [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Play ISO Videos in Front Row", url: "http://installingcats.com/2008/06/17/play-iso-videos-in-front-row/" });</script>]]></description>
			<content:encoded><![CDATA[<p>To have <a href="http://en.wikipedia.org/wiki/Front_Row" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">Apple Front Row</a> show and play videos inside of an iso file, first mount the iso file then make links<img class="alignright alignnone size-full wp-image-93" style="margin: 5px 8px; float: right;" title="Dr House Jennifer Morrison" src="http://installingcats.com/wp-content/uploads/2008/06/house_morrison.jpg" alt="" width="170" height="214" /> to the video files inside of the iso, within your Movies folder. This can be useful for example when you have a season of television episodes of House MD in a single ISO disc image somewhere on your Mac.</p>
<h2>step 1: mount iso file</h2>
<p>First mount the iso file by double clicking on it (within Finder, on your desktop, wherever it may be).  The ISO file will be mounted like a drive and will show up within Finder under Devices and look like this:</p>
<p><img class="alignnone size-full wp-image-91" title="ISO Mounted in OS X Leopard" src="http://installingcats.com/wp-content/uploads/2008/06/mounted_iso.jpg" alt="" width="486" height="214" /></p>
<p>In my case the iso file disc image was named 20071107_170514 when it was created. Your mounted iso volume will be named differently.</p>
<h2>step 2: link to video files in iso</h2>
<p>Create <a href="http://en.wikipedia.org/wiki/Symbolic_links" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">symbolic links</a> to the video files within your Movies folder <a href="http://installingcats.com/2008/05/23/terminal-in-os-x-leopard-or-tiger/" >using the Terminal</a>. Afterwards the videos will show up in Front Row like any other video or movie and you don&#8217;t have to copy the files out, saving disk space.</p>
<p>Before that, I&#8217;m going to create a folder within ~/Movies with a descriptive name (since 20071107_170514 is meaningless to me). In the Terminal window I would enter:<br />
<code>mkdir ~/Movies/HouseSeason4</code></p>
<p>Now create symbolic links to the videos with the the &#8220;ln&#8221; program:<br />
<code>ln -s /Volumes/20071107_170514/*.avi ~/Movies/HouseSeason4</code></p>
<p><code>ln</code> is the link program<br />
<code>-s</code> tells the link program to make symbolic links (like detour signs to real files)<br />
<code>/Volumes/20071107_170514</code> is the mounted iso volume. Change 20071107_170514 to whatever your iso volume is named.<br />
<code>*.avi</code> In my case the video files were AVI files and I wanted all of them (*) to be linked.  Change this to whatever format the videos happen to be for you, for example: <code>*.mpg</code> <code>*.mkv</code><br />
<code>~/Movies/HouseSeason4</code> is the directory where the videos will appear in Front Row.  Since Apple Front Row automatically searches through your Movies folder for videos, making a subdirectory underneath Movies is an ideal spot. These symbolic links will appear like any other video file and Front Row will browse and play these files as if they were actually located in your Movies folder.</p>
<h2>step 3: Watch iso videos in Front Row</h2>
<p>Start Front Row by hitting ⌘+⎋ (Command Key and Escape) or hitting the Menu button on your Apple remote.</p>
<p>Go into the Movies folder and you should see the folder you created in Step 2.  Go into that folder and you should see the video files that were inside the iso disc image file. From here you should be able to play the video files that are inside the iso, without having to copy the files out to your Movies folder and taking up twice the disk space.</p>
<p><img class="alignnone size-full wp-image-92" title="Front Row Playing ISO videos" src="http://installingcats.com/wp-content/uploads/2008/06/front_row_house_screen.jpg" alt="" width="400" height="250" /></p>
<h2>Notes</h2>
<p>Any volumes that you mount will be unmounted automatically when you reboot.  Since the symbolic links within your Movies folder aren&#8217;t the actual video files themselves, they need the mounted iso volume to work.  After rebooting, remember to remount your iso disc image by double clicking on it before looking for videos inside it within Front Row.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=04e8c75d-ba13-4630-b7c3-feb6026ca008&amp;title=Play+ISO+Videos+in+Front+Row&amp;url=http%3A%2F%2Finstallingcats.com%2F2008%2F06%2F17%2Fplay-iso-videos-in-front-row%2F" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/06/17/play-iso-videos-in-front-row/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Slow Internet with Leopard</title>
		<link>http://installingcats.com/2008/06/05/slow-internet-with-leopard/</link>
		<comments>http://installingcats.com/2008/06/05/slow-internet-with-leopard/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 08:50:37 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[fixes]]></category>

		<category><![CDATA[instructions]]></category>

		<category><![CDATA[dns]]></category>

		<category><![CDATA[leopard]]></category>

		<category><![CDATA[leopard dns]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[os x]]></category>

		<category><![CDATA[slow dns lookup]]></category>

		<category><![CDATA[slow domain name lookup]]></category>

		<category><![CDATA[slow internet]]></category>

		<category><![CDATA[slow internet in leopard]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=66</guid>
		<description><![CDATA[How to fix Slow Web Browsing and Slow Internet in Leopard (10.5.x)

Symptoms

Web pages load slowly in Safari or Firefox in Leopard.
Web sites won&#8217;t load, only load partially, stop loading after a few hours.
Slow DNS (domain name) lookup in Leopard. First load of web site is slow with &#8220;looking up domain&#8221; in browser status bar.
Once website [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Slow Internet with Leopard", url: "http://installingcats.com/2008/06/05/slow-internet-with-leopard/" });</script>]]></description>
			<content:encoded><![CDATA[<h2>How to fix Slow Web Browsing and Slow Internet in Leopard (10.5.x)</h2>
<p><a name="top"></a></p>
<h3>Symptoms</h3>
<ul>
<li>Web pages load slowly in Safari or Firefox in Leopard.</li>
<li>Web sites won&#8217;t load, only load partially, stop loading after a few hours.</li>
<li>Slow DNS (domain name) lookup in Leopard. First load of web site is slow with &#8220;looking up domain&#8221; in browser status bar.</li>
<li>Once website is loaded, browsing to that site is fast.</li>
<li><a href="http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/" >AirPort wireless strength drops, then Internet connection is lost</a> (see related post).</li>
<li>Email programs are slow in connecting to servers.</li>
<li>SSH sessions are slow to connect to remote servers.</li>
</ul>
<h3>Possible Causes of Slow Internet under Leopard</h3>
<ul>
<li>Your ISP&#8217;s DNS servers are (sometimes) slow to respond due to high traffic.</li>
<li>Firefox, <a href="http://installingcats.com/tag/camino/" >Camino</a>, Safari is requesting domain name lookups in <a href="http://en.wikipedia.org/wiki/IPv6" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">IPv6 format</a> (2001:db8::1428:57ab), but your DSL router/cable modem answers with <a href="http://en.wikipedia.org/wiki/IPv4" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">IPv4 addresses</a> (192.0.2.235) (references: <a href="http://kb.mozillazine.org/Network.dns.disableIPv6"title="disable IPv6"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/kb.mozillazine.org');">mozillazine.org</a>, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=231607"title="dns delays ipv6 buggy dns servers"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/bugzilla.mozilla.org');">mozilla.org bug</a>, <a href="http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/619001401931/p/1"title="leopard dns broken"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/episteme.arstechnica.com');">arstechnica.com</a>). Safari may not be affected by this as WebKit is said to use IPv4 domain lookups first, then uses IPv6 if IPv4 fails.</li>
<li>Your router, acting as a DNS Proxy, doesn&#8217;t recognize nor forward IPv6 domain name lookup requests.</li>
<li>Leopard is now requesting SRV (service) records for domain name lookups. Your router does not recognize nor forward to SRV requests.</li>
<li>Your ISP&#8217;s DNS servers don&#8217;t recognize or doesn&#8217;t respond to SRV queries or respond with NXDOMAIN.</li>
<li>[<strong>Added 080618</strong>] Poor wireless router performance in general (references: <a href="http://www.entropy.ch/blog/Mac+OS+X/2007/09/03/More-802-11n-AirPort-Extreme-Wireless-Notes.html" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.entropy.ch');">entropy.ch</a>). To test this, try connecting directly to your DSL router/modem if you are using an intermediate router such as an Apple AirPort Base Station, or NetGear/Linksys wireless router and seeing if web and internet speeds increase.</li>
</ul>
<h3>Fixes/Solutions/Workarounds</h3>
<ul>
<li><a href="#direct_dns_better_dns">Use better faster DNS servers, like OpenDNS.org (208.67.222.222, 208.67.220.220)</a>.</li>
<li><a href="#direct_dns_better_dns">Connect directly to DNS servers to avoid DNS forwarding through your router (acting as a DNS proxy)</a>.</li>
<li><a href="#disable_ipv6_dns_lookups">Turn off IPv6 DNS lookups in Firefox/Camino</a> (references: <a title="firefox cannot load web sites but other programs can" href="http://support-stage.mozilla.org/en-US/kb/Firefox+cannot+load+web+sites+but+other+programs+can" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/support-stage.mozilla.org');">mozilla.org</a>).</li>
<li>If DNS forwarding is required, <a href="#update_dns_servers_on_router"></a>change the DNS servers directly on the router.</li>
<li><a href="#update_router_firmware">Update your router&#8217;s firmware</a> (references: <a href="http://blog.jungledisk.com/2007/10/31/leopard-dns-issues-and-work-around/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/blog.jungledisk.com');">jungledisk.com</a>, <a href="https://lists.ubuntu.com/archives/ubuntu-users/2006-January/065657.html"title="cannot surf but can ping"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/lists.ubuntu.com');">ubuntu.com</a>) for better SRV and IPv6 handling and better performance overall.</li>
<li>Below are detailed instructions on applying these fixes to slow dns lookups/slow Internet on Leopard</li>
</ul>
<h2>Details</h2>
<p>After upgrading to Leopard, plenty of Mac OS X users have complained of &#8220;slow internet&#8221; when browsing the web, yet Windows PCs or Macs with Tiger (10.4) on the same network are much faster.</p>
<h3>DNS Lookups</h3>
<p>A domain name lookup or DNS lookup is done every time you visit a web page, say &#8220;apple.com&#8221;, as you&#8217;re actually visiting &#8220;17.149.160.49&#8243;. A DNS Resolver on your computer sends a request to a DNS Server that handles this lookup or translation from names (easy to remember) to numbers (hard to remember). Once your browser has this numerical IP address it can start loading the web pages at that server location.</p>
<h3>Domain Name System Lookups in Leopard</h3>
<p>With Leopard, a major change occurred in DNS lookups. Any program in Leopard that can use version 6 IP addresses (IPv6 explained below) will send out a new type of DNS lookup request - the SRV Record. In Tiger and previous OS X versions, DNS lookups were A record requests.</p>
<p>SRV records are new (sadly, 8 years old is new in the DNS world), provide more information than A records, but have <strong>terrible support</strong> in terms of hardware (your DSL router or cable modem) and DNS servers that answer with SRV information.  For every SRV request that Leopard sends it must wait for a valid reply. If the request fails, Leopard must try again. If it fails again, Leopard will finally  ask for an A record. This is one reason why Mac users are experiencing slow Internet on new Macs with Leopard or after upgrading to Leopard from Tiger.</p>
<h3>Domain Name Lookup Chain</h3>
<p>Diagnosing slow Internet problems under Leopard is difficult due to the many different slowdowns that can occur along the domain name lookup chain when connecting to the Internet in OS X. For an application like Firefox or Safari to find a domain name, this is roughly what happens:</p>
<ol>
<li>Firefox/Safari is asked to load a web page at a domain name (example: &#8220;apple.com&#8221;).</li>
<li>Browser starts work on getting an IP address for that domain (a domain name lookup).</li>
<li>Browser checks for recently translated domain names in its own internal &#8220;cache&#8221; and thus already has the IP address.</li>
<li>If &#8220;apple.com&#8221; is not found in cache, Firefox/Safari then asks Directory Services (an OS X program that does DNS lookups) for the answer.</li>
<li>Directory Services (DS) searches for the domain in <em>its own</em> DS cache (view the DS cache <a href="http://installingcats.com/2008/05/23/terminal-in-os-x-leopard-or-tiger/"title="Terminal"  target="_blank" >using Terminal</a>: dscacheutil -cachedump -entries).</li>
<li>If domain is not found in cache, DS checks flat (text) files such as /etc/hosts for the domain name (see the file using Terminal: cat /etc/hosts).</li>
<li>If domain is still not found then DS sends a domain name lookup request to the first DNS server listed for your AirPort wireless card or your Ethernet card (your <em>network interfaces</em>). The first (and usually only) DNS server is often your router (often listed as 192.168.1.1 in System Preferences =&gt; Network =&gt; Advanced =&gt; DNS tab).</li>
<li>If the router <em>doesn&#8217;t</em> recognize the name lookup request (SRV/IPv6), the request will be either ignored, returned without result, returned with error. If the router <em>does</em> recognize the DNS request, it checks its own DNS cache for a matching domain lookup.</li>
<li>If domain name is <em>not found</em> in cache, the router forwards the request to the ISP&#8217;s DNS server.</li>
<li>If the first ISP DNS server doesn&#8217;t respond or doesn&#8217;t have the record, the router sends a second lookup request  to the next DNS server listed in its configuration. Continue until all DNS servers are exhausted.</li>
<li>When name lookup result is received by router, it saves the result to cache, then forwards the domain name record back to the requesting computer.</li>
<li>Directory Services on Leopard, receives the answer, places it in cache, then returns the results to the requesting application: your browser.</li>
<li>Firefox/Safari receives the DNS record, with IP address, stores it in cache, then starts to retrieve the web page at that location.</li>
</ol>
<p><img class="alignnone size-full wp-image-75" title="DNS Resolution" src="http://installingcats.com/wp-content/uploads/2008/06/dns_resolution.jpg" alt="" width="500" height="171" /></p>
<p>(Illustration by <a href="http://en.wikipedia.org/wiki/Domain_Name_System#DNS_resolvers" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">Lion Kimbro on Wikipedia - Domain Name Systems article</a>)</p>
<p>Any one of the links in the chain can be a potential source of slow Internet speeds when browsing or retrieving mail, etc.  The difficulty lies is finding out where the problem exists and how it can be fix. Compound this complexity with the number of different DSL routers in use in homes, the number of different firmware (software inside the router), number of different ISP DNS servers</p>
<h3>Caches</h3>
<p>Caches store recent domain name lookup results in order to save time when the domain is requested again.  Each time a domain name lookup is made, caches are checked to see if the lookup has occurred recently and if so, use the cache result.  If no result is found in cache, the domain name lookup has failed and the DNS lookup request continues down the chain. A domain lookup may fail all the way down the chain until it&#8217;s finally resolved with the second or third DNS server listed, taking maybe 15 seconds to finally succeed. But, once domain lookup has been successfully performed, this domain request &#8220;answer&#8221; is cached all the way <em>back</em> up the chain, for varying amounts of time.  Browsers like Safari and Firefox normally cache domain name lookups for 1 minute (30 minutes if you&#8217;re Internet Explorer in Vista). Leopard&#8217;s Directory Services program caches lookups for one hour (3600 seconds) by default.</p>
<p>Once a successful domain lookup has occurred, web pages from the same site will load very quickly, since the domain and its IP address are known and cached in memory. When the cached domain lookup result expires, the vicious cycle of slow domain lookups restarts. This often leads to the confusing pattern of fast Internet / slow Internet performance that can be seen sporadically throughout a browsing session.</p>
<h3>IPv6</h3>
<p><a href="http://en.wikipedia.org/wiki/IPv6" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">IPv6, the new way of addressing all things on the Internet</a>, is important and necessary as we&#8217;ll eventually run out of IPv4 addresses (like 17.149.160.49). But part of the issue with slow browsing and slow Internet on Leopard is the combination of how IPv6 is used in Mac OS X and the current state of DSL routers and cable modems.</p>
<p>Whenever a program on Leopard can use IPv6 addressing, such as Firefox, it will request IP addresses for domains in IPv6 and if that fails, Firefox will then try IPv4 domain lookups. The reason this adds to the slow Internet problem is that many routers and DSL or cable modems in peoples homes are not capable of handling/routing IPv6 domain name queries (properly). This can cause repeated, failed DNS queries in IPv6 format, with the requesting application eventually falling back to sending IPv4 domain lookup requests that are successfully answered.  The unfortunate problem with this &#8220;IPv6 then IPv4&#8243; order of domain lookups is users end up with <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=231607#c8" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/bugzilla.mozilla.org');">delays of 5 to 10 seconds &#8220;looking up&#8221; a domain name</a>, which is not a very long time to wait, but suffering short delays every time you visit a different website can be extremely frustrating.</p>
<h3>SRV (Service Record) Requests</h3>
<p>Part of the issue may be related to Apple&#8217;s decision to follow the <a href="http://en.wikipedia.org/wiki/IETF" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">Internet Engineering Task Force</a>&#8217;s recommendation of using SRV queries instead of &#8220;A record&#8221; queries when looking up domain names in Leopard.</p>
<p>The problem with Leopard asking for <a href="http://en.wikipedia.org/wiki/Srv_record" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">SRV records</a> from DNS servers is that many DNS servers still don&#8217;t recognize or respond to SRV type DNS requests, or respond with a non-existent domain (NXDOMAIN) error code.  This is not exactly Apple&#8217;s fault for asking, it&#8217;s actually the fault of DNS server owners who are not updating their servers to the latest standards.  Regardless, whenever a program like a web browser requests a DNS record and gets failed responses, or no response at all, the program retries its requests, but only after a certain delay.  Each failed SRV request and subsequent retry adds time the user must wait before the browser or application eventually gives up on the SRV requests and tries an old-school basic A record request in an attempt to get the IP address of the domain name. And all DNS servers answer to A record requests, even the old dingy ones not following the latest IETF standards.  You, the user, sees this request &#8212; no response &#8212; retry dance as the browser taking a long time &#8220;Looking up domain.com&#8230;.&#8221;, often seen as such on the browser status bar at the bottom left hand corner of the window. Only when the browser or application has received a valid IP address from a domain lookup can it contact the web server and start to download the HTML and display the page.</p>
<h3>Timeouts</h3>
<p>The delay between lookup retries is important to prevent overloading DNS servers, DNS resolvers (like Directory Services on your Mac) and simply makes sense.  It&#8217;s similar to walking up to someone&#8217;s house and knocking on the door: Normally you wait a few moments for a response before trying again.  If you don&#8217;t wait, you don&#8217;t know whether no one&#8217;s home, or whether they&#8217;re just taking a few seconds to respond. Continued knocking doesn&#8217;t help you. (And perhaps will earn you a stern look if not make you the target of a hissy fit).</p>
<p>Hammering a DNS server with domain lookups without pause is not very productive since the DNS server will simply drop (not answer) requests that it cannot handle within a timely fashion, based on its current load and worse, may get you blocked from the DNS server.</p>
<p>Next we&#8217;ll see how we can solve or workaround the issues discussed above that could be slowing down Leopard&#8217;s Internet speed.</p>
<p><a name="solutions"></a></p>
<h2>Solutions</h2>
<ul>
<li><a href="#direct_dns_better_dns">Direct DNS / Better DNS</a></li>
<li><a href="#disable_ipv6_dns_lookups">Disable IPv6 DNS Lookups</a></li>
<li><a href="#update_dns_servers_on_router">Update DNS Servers on Router</a></li>
<li><a href="#update_router_firmware">Update Router Firmware</a></li>
</ul>
<p><a name="direct_dns_better_dns"></a></p>
<h3>Direct DNS / Better DNS</h3>
<p>Update 080606: <span style="text-decoration: line-through;"><a href="#update_080606_1">Leopard 10.5.3 may have changed the order in which DNS Servers are used</a>.</span></p>
<p>Update 080606: DNS servers entered on a DHCP configured setup are used in reverse order. I.e. the last server entered is the first to be used.  If you&#8217;ve manually configured a network location, DNS servers are used in the order that you&#8217;ve entered them/see them.</p>
<p><strong>New 080606</strong>: If you wish to save your current network setup and have the option of returning to it easily, follow the <a href="#create_new_network_location">instructions for Creating a New Network Location</a>.  Otherwise, follow the instructions immediately below to quickly add new DNS servers.</p>
<h4>Add DNS servers to Current Network Configuration</h4>
<p>This is the quickest &amp; easiest way to use new DNS servers, which is to simply add them to the DNS tab found in System Preferences =&gt; Network =&gt; Advanced =&gt; click on DNS tab.</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/06/network_dhcp_add_dns.gif" ><img class="alignnone size-medium wp-image-86" title="Network Dhcp Add Dns" src="http://installingcats.com/wp-content/uploads/2008/06/network_dhcp_add_dns-234x300.gif" alt="" width="234" height="300" /></a></p>
<p>Click on the + sign at the bottom left hand corner near IPv6 or IPv6 addresses and type in the addresses of the DNS servers you wish, in reverse priority order. (Recommended: OpenDNS servers at 208.67.220.220 and 208.67.222.222).  I.e. the server that you want to use first, enter it last.  Afterwards, click Ok.  Then in the Network pane, click Apply to make your changes active.  If you&#8217;re using an AirPort wireless connection, wait a few moments for the connection to be re-established<br />
<a name="create_new_network_location"></a></p>
<h4>Creating a New Network Location</h4>
<p>The advantage of creating a new network location is the ease of which you can move back and forth between different network setups.  By creating and using a new network location, you can always revert your changes  by simply selecting your original (Automatic) network location from the Location drop down list.</p>
<p>In Leopard, open <strong>System Preferences</strong> =&gt; <strong>Network</strong> =&gt; click the <strong>Advanced</strong> button (bottom right corner)</p>
<p><img class="alignnone size-full wp-image-71" title="Network Preferences Pane" src="http://installingcats.com/wp-content/uploads/2008/06/network.jpg" alt="" width="340" height="273" /><br />
Click <strong>TCP/IP</strong> tab (top left).<br />
Write down on a piece of paper (or in TextEdit) the <strong>IPv4 Address</strong>, <strong>Subnet Mask</strong> (255.255.255.0), <strong>Router</strong>,  and <strong>Configure IPv6</strong> setting. Click <strong>Cancel</strong>.</p>
<p><img class="alignnone size-full wp-image-68" title="Network Advanced TCP IP Settings" src="http://installingcats.com/wp-content/uploads/2008/06/network_advanced_tcp_ip.jpg" alt="" width="340" height="242" /></p>
<p>Find the<strong> Location</strong> drop down at top of the Network preferences pane. Click it and choose <strong>Edit Locations</strong>.</p>
<p><img class="alignnone size-full wp-image-69" title="network_locations" src="http://installingcats.com/wp-content/uploads/2008/06/network_locations.jpg" alt="" width="355" height="170" /><br />
Highlight &#8220;Automatic&#8221; if not already<br />
Click the <strong>Gear icon</strong> on the bottom center, choose <strong>Duplicate Location</strong></p>
<p><img class="alignnone size-full wp-image-70" title="network_locations_duplicate" src="http://installingcats.com/wp-content/uploads/2008/06/network_locations_duplicate.jpg" alt="" width="315" height="310" /><strong></strong><br />
Choose a name, I used &#8220;Home&#8221;.<br />
Change the <strong>Location</strong> drop down box by clicking on &#8220;Automatic&#8221; and then switch it to &#8220;Home&#8221; (or the name you chose in the last step)<br />
You&#8217;ll see the following:</p>
<p><img class="alignnone size-full wp-image-72" title="Network with new Location Home" src="http://installingcats.com/wp-content/uploads/2008/06/network_location_home_new.jpg" alt="" width="400" height="322" /><br />
Select <strong>Airport</strong> on the left (or <strong>Ethernet</strong> if you&#8217;re not using a wireless connection).<br />
Click <strong>Advanced</strong> at the bottom right.<br />
Click on the <strong>TCP/IP</strong> tab-button.<br />
Change the <strong>Configure IPv4</strong> drop down box to &#8220;Manually&#8221;.<br />
Here&#8217;s where you use the values you saved in Step 2. Fill out <strong>IPv4 address</strong>, <strong>subnet mask</strong>, <strong>router</strong>, <strong>configure IPv6</strong> settings. <em>Do not</em> click <strong>OK</strong>, instead click on <strong>DNS</strong> near the top.<br />
Click the <strong>+</strong> button, bottom left hand corner. This creates a blue outline under DNS Servers on the left half of this window.</p>
<p><img class="alignnone size-full wp-image-73" title="Network Home DNS" src="http://installingcats.com/wp-content/uploads/2008/06/network_home_dns.jpg" alt="" width="400" height="285" /></p>
<p><img class="alignnone size-full wp-image-74" title="Network Home DNS Entry" src="http://installingcats.com/wp-content/uploads/2008/06/network_home_dns_entry.jpg" alt="" width="500" height="399" /></p>
<p>Enter in the DNS server of your choice. I recommend OpenDNS at 208.67.222.222. (Don&#8217;t include a period at the end). Add a second OpenDNS server by clicking again on the + button and entering 208.67.220.220. These DNS servers will automatically redirect you to the closest / best server for you, regardless of whether you&#8217;re in France (like me) or in North America. Click <strong>OK</strong>. You should be returned to the Network preferences pane and see something like the following:</p>
<p><img class="alignnone size-full wp-image-80" title="Network Location Home Done" src="http://installingcats.com/wp-content/uploads/2008/06/network_location_home_done.jpg" alt="" width="400" height="322" /></p>
<p>At this point you&#8217;ve created a new Location called &#8220;Home&#8221;, having setup AirPort or Ethernet with the correct settings and &#8220;Services&#8221; (i.e. DNS), but none of these changes have been made active.  Let&#8217;s make a backup of the configuration file that will be updated <em>before</em> you apply your changes. In Finder, click on the hard disk icon at the top left corner (usually Macintosh HD), then navigate to this directory: <strong>/Library/Preferences/SystemConfiguration</strong> and find this file: <strong>preferences.plist</strong>.  Simply copy the file to your Documents folder or to a spot of your choice. If you have to rollback the applied changes, you can copy this file back to the above location.  If you&#8217;re using Time Machine, this file should be backed up already.  Now you know where this file is, so replacing it with a Time Machine version should be straightforward.</p>
<p>Before we make our changes effective, we&#8217;re going to check how DNS requests are handled now, before the changes, and after to make sure we&#8217;ve changed our Network Settings properly.<br />
<a name="listen_tcpdump"></a><br />
Leave the Network window open as is and <a href="http://installingcats.com/2008/05/23/terminal-in-os-x-leopard-or-tiger/" target="_blank" >open up a Terminal window</a>. We&#8217;re going to be using the <a href="http://installingcats.com/2008/06/01/debugging-mac-os-x-dns-tcpdump/" target="_blank" >tcpdump program to listen to DNS traffic</a> between your computer and your DNS server.</p>
<p>Type this command and hit Enter: <code>sudo tcpdump -i en1 -s 128 port 53</code></p>
<p>(If you&#8217;re using Ethernet with a cable, use <strong>en0</strong> instead of <strong>en1</strong>, which is the AirPort wireless interface).</p>
<p>Supply your password when asked to do so.</p>
<p>You should see something like the following:</p>
<p><code>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br />
listening on en1, link-type EN10MB (Ethernet), capture size 96 bytes</code></p>
<p>tcpdump should now be running.</p>
<p>Open up another Terminal window and type the following command: <code>curl http://www.csu.edu</code></p>
<p>This uses the curl program to read the web page located at www.csu.edu.</p>
<p>Going back to your tcpdump window you should see something similar to this:</p>
<p>00:31:37.026520 IP 192.168.1.132.56645 &gt; WANADOO-D310.domain: 19279+ SRV? _http._tcp.www.csu.edu. (40)<br />
00:31:37.029352 IP WANADOO-D310.domain &gt; 192.168.1.132.56645: 19279* 0/0/0 (40)<br />
00:31:37.029849 IP 192.168.1.132.56646 &gt; WANADOO-D310.domain: 49549+ SRV? _http._tcp.www.csu.edu. (40)<br />
00:31:37.032657 IP WANADOO-D310.domain &gt; 192.168.1.132.56646: 49549* 0/0/0 (40)<br />
00:31:37.034345 IP 192.168.1.132.56647 &gt; WANADOO-D310.domain: 46004+ A? www.csu.edu. (29)<br />
00:31:37.279043 IP WANADOO-D310.domain &gt; 192.168.1.132.56647: 46004 1/0/0 A www.csu.edu (45)</p>
<p>Notice 192.168.1.132. That&#8217;s me, or really, my MacBook Pro&#8217;s AirPort wireless card. Then there&#8217;s a greater than sign (&gt;) showing the direction of DNS traffic.  WANADOO-D310 is my DNS server, which is actually the DSL modem/router, a.k.a. 192.168.1.1, which is passing domain name lookups to the real DNS servers at my Internet Service Provider (WANADOO, yeah I know goofy name).  Remember the network settings we wrote down before starting all this?  You&#8217;ll notice that the DNS server is 192.168.1.1.</p>
<p>OK, we&#8217;ve got a baseline of what our Mac is doing when looking up domain names, let&#8217;s apply our new network location &#8220;Home&#8221; that we created and see the difference.</p>
<p>Back on the Network preference pane, notice the <strong>Apply</strong> button on the bottom right hand corner. Once you apply your changes, your Mac will begin using the new Location you&#8217;ve created.</p>
<p>Take the plunge and click on <strong>Apply</strong>.</p>
<p>For AirPort wireless connections, you may have to click the Turn AirPort Off button, wait fifteen seconds, then click Turn AirPort On again in order for the new DNS settings to be used.</p>
<p>Going back to the Terminal window where we executed the curl command, and with our changes set, let&#8217;s execute another: <code>curl http://www.unc.edu</code></p>
<p>Results will look like the following:</p>
<p>00:32:33.562589 IP 192.168.1.132.56663 &gt; resolver1.opendns.com.domain: 39356+ SRV? _http._tcp.www.unc.edu. (40)<br />
00:32:33.767237 IP resolver1.opendns.com.domain &gt; 192.168.1.132.56663: 39356 NXDomain 0/0/0 (40)<br />
00:32:33.767856 IP 192.168.1.132.56664 &gt; resolver1.opendns.com.domain: 62833+ SRV? _http._tcp.www.unc.edu. (40)<br />
00:32:33.809161 IP resolver1.opendns.com.domain &gt; 192.168.1.132.56664: 62833 NXDomain 0/0/0 (40)<br />
00:32:33.811130 IP 192.168.1.132.56665 &gt; resolver1.opendns.com.domain: 45293+ A? www.unc.edu. (29)<br />
00:32:33.853070 IP resolver1.opendns.com.domain &gt; 192.168.1.132.56665: 45293 1/0/0 A www.unc.edu (45)</p>
<p>Notice what&#8217;s changed?  WANADOO-D310.doman has changed to resolver1.opendns.com.domain.  This is OpenDNS&#8217; name for the DNS server we started using, 208.67.222.222, which we entered as our DNS for the &#8220;Home&#8221; location. Also, note how instead of just getting a 0/0/0 response, we&#8217;re getting NXDOMAIN 0/0/0?  That&#8217;s at least the DNS server <em>responding</em> saying: that domain doesn&#8217;t exist (not exactly true, since the domain does exist, but it just doesn&#8217;t have an SRV record), rather than the DNS server sending back nothing, not even an error code.  Also, notice how our Mac tried twice on asking for SRV records, and the DNS server responded twice, that no record exists for that domain, and then finally our Mac asks for an A record (A?) and gets one answer record back (1/0/0 A ww.unc.edu).</p>
<p>If you want to see a domain that actually has a proper SRV record, try this in the curl terminal window: <code>curl http://s3.amazonaws.com</code></p>
<p>Results should be something like this:</p>
<p>09:36:56.440037 IP 192.168.1.132.61010 &gt; resolver1.opendns.com.domain: 34536+ SRV? _http._tcp.s3.amazonaws.com. (45)<br />
09:36:56.671881 IP resolver1.opendns.com.domain &gt; 192.168.1.132.61010: 34536 2/0/0 CNAME s3-directional-w.amazonaws.com., (97)<br />
09:36:56.673894 IP 192.168.1.132.61011 &gt; resolver1.opendns.com.domain: 18143+ A? s3.amazonaws.com. (34)<br />
09:36:56.715913 IP resolver1.opendns.com.domain &gt; 192.168.1.132.61011: 18143 2/0/0 CNAME s3-1.amazonaws.com., A s3.amazonaws.com (69)<br />
09:36:57.263186 IP 192.168.1.132.61012 &gt; resolver1.opendns.com.domain: 32069+ PTR? 171.206.21.72.in-addr.arpa. (44)<br />
09:36:57.306060 IP resolver1.opendns.com.domain &gt; 192.168.1.132.61012: 32069 1/0/0 PTR s3.amazonaws.com. (74)</p>
<p>Here we&#8217;re getting 2 answer records (the &#8220;2&#8243; in 2/0/0) on the SRV requests, which are CNAME records, first being s3-directional-w.amazonaws.com, second being s3-1.amazonaws.com. CNAME records are &#8220;nickname&#8221; records, which point to true name, or A Record. Right after that our Mac asks for an A record on the first CNAME that was returned to us (s3-directional-w.amazonaws.com) to get back the actual IP address (72.21.207.246), which you can verify by using the <a href="http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/dig.1.html" onclick="javascript:urchinTracker ('/outbound/article/developer.apple.com');">dig program.</a></p>
<p>This fix alone has made my Internet connection much faster since my ISP&#8217;s DNS servers were sometimes under heavy load and slow to respond to DNS queries.  Most of the time, I&#8217;d get name requests done in 200-400ms.  Not noticeably slow.  But, on occasion domain name lookups would timeout after 7 seconds, multiple times, resulting in up to 21 seconds of waiting for a single name lookup request to occur. This is excruciatingly long when I often open up multiple different websites one right after another when starting a browsing session.  To make matters worse, many websites are getting into the practice of placing different parts of the web page on different domain names.  Let&#8217;s take CNN.com for example.  To load this single page of President Obama&#8230; oh, I mean senator Obama, waving to the crowd, tcpdump showed name lookups for the following domains:</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/06/president_obama_cnn.jpg" ><img class="alignnone size-medium wp-image-78" title="President Obama" src="http://installingcats.com/wp-content/uploads/2008/06/president_obama_cnn.jpg" alt="" width="300" height="247" /></a></p>
<ol>
<li>www.cnn.com</li>
<li>edition.cnn.com</li>
<li>i.cdn.turner.com</li>
<li>i2.cdn.turner.com</li>
<li>svcs.cnn.com</li>
<li>ads.cnn.com</li>
<li>i.cnn.net</li>
<li>ad.doubleclick.net</li>
<li>metrics.cnn.com</li>
<li>m1.2mdn.net</li>
</ol>
<p>One Page. Ten domains. Ten DNS lookups. Ouch. And I&#8217;m not including PTR/Reverse Lookups for each domain, making it really 20 DNS queries.</p>
<p>And does anyone wonder why problematic DNS performance in Leopard would slow web browsing to a crawl?<br />
<a name="disable_ipv6_dns_lookups"></a></p>
<h3>Disable IPv6 DNS Lookups</h3>
<p>Firefox and Camino by default do DNS lookups using IPv6 addresses by default, reverting to IPv4 if that fails.  This can be a problem when the router that we are using to connect to the Internet doesn&#8217;t work with IPv6 DNS requests properly, if at all.</p>
<p>To disable IPv6 DNS lookups in Firefox and Camino, type the following into the browser address bar:<br />
<code>about:config</code><br />
If you see a large &#8220;Be Careful&#8221; warning, simply click on &#8220;I understand and I wish to continue&#8221;.  Next, you will see a long list of Preference Name, Status, Type and Value columns.  Above all that is a bar in which you can filter which preferences to view.  In the Filter bar type: ipv6<br />
You should see something like the following:</p>
<p><img class="alignnone size-full wp-image-76" title="Firefox About Config" src="http://installingcats.com/wp-content/uploads/2008/06/about_config.jpg" alt="" width="416" height="135" /></p>
<p>To change the value for this preference simply double-click the name &#8220;network.dns.disableIPv6&#8243;.  The value you want is &#8220;true&#8221;, which means that IPv6 DNS requests are disabled.  If this value is already &#8220;true&#8221;, don&#8217;t double-click this preference.</p>
<p>To make the preference change active, close the browser and Quit Firefox completely (Apple Key + Q), then restart Firefox. You <em>may</em> have to repeat this Quitting and Restarting to have the change take effect.</p>
<p>After making this change, Firefox (or Camino if that&#8217;s what you&#8217;re using) will use IPv4 only when performing DNS requests.</p>
<p><a name="update_dns_servers_on_router"></a></p>
<h3>Update DNS Servers on Router</h3>
<p>If you have access to your router&#8217;s administration web page, you may be able to set its DNS servers manually, avoiding the buggy DNS servers located at your ISP.  Refer the manual that came with your router, or speak with your service provider about how to access the router&#8217;s administration page.  Often this page can be accessed at http://192.168.1.1, so simply type that address into your browser&#8217;s address bar and press Enter.  With any luck you&#8217;ll have access to the Administration login page.  Many router administration sites don&#8217;t have passwords, don&#8217;t have usernames, or use very simple standard passwords such as &#8220;admin&#8221;, leaving it up to the owner to change it to something more secure. Visit the router manufacturer&#8217;s web site for more information about accessing the administration features of the router.</p>
<p>Keep in mind that updating the router&#8217;s DNS servers will not avoid problems you may be encountering with the router&#8217;s poor DNS Proxying/Forwarding support. If your router can&#8217;t handle IPv6 or SRV requests coming from your Mac, these DNS requests will stop here at the router and will not be forwarded onto the new DNS servers you&#8217;ve just specified, making this fix completely ineffective. DNS requests that your router cannot understand will likely be ignored or returned without answer results. DNS Proxy/Forwarding issues are discussed further in the next section.</p>
<p><a name="update_router_firmware"></a></p>
<h3>Update Router Firmware</h3>
<p>For those who need to continue making DNS requests through their router, rather than directly against DNS servers, due to VPN or tunneling requirements, your fix may lie in upgrading your router&#8217;s firmware.  Routers are in effect &#8220;the&#8221; DNS server for the majority of home broadband Internet connections since it acts as the DNS Proxy, taking domain name lookup requests from your computer, passes them to the ISP&#8217;s DNS servers for resolution, receives the results, and finally passes the name lookup results back to your Mac, all transparently in the background.  This is why your DNS server address is the same as your &#8220;Gateway&#8221; which is a fancy name for your router, since all traffic passes through this &#8220;gate&#8221; of sorts.  Thus the Gateway address is often 192.168.1.1, which in turn is also the address of the DNS server for the &#8220;Automatic&#8221; network  Location in Leopard.</p>
<p>Be aware that DNS Proxying is a common failure point in the domain name resolution chain.  If the router is not compliant with the latest Internet Task Force standards, it may not know what to do with SRV requests (which Leopard now uses) and may simply ignore them, return empty results, or return NXDOMAIN (non-existent) errors. Again, a firmware update may bring your router up to the latest standards for DNS servers.</p>
<p>If the router is a DSL Cable modem/router, contact your ISP and ask whether there is updated firmware for the model of router you&#8217;re using.  If you&#8217;re more of a do-it-yourself person you can attempt to find the manufacturer of the router/modem and find the latest firmware from their website, if available.  <strong>Disclaimer</strong>: updating the firmware of your router with the wrong firmware, or not completing the firmware update due to power loss, <strong>will render your router useless</strong>. Do not attempt to update the firmware if you are not confident of what you&#8217;re doing.</p>
<h2>New Information</h2>
<p><a name="update_080606_1"></a><br />
<strong> Update 080606</strong>: As per a <a href="http://forums.macosxhints.com/showthread.php?t=81877&amp;page=3#post474424" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/forums.macosxhints.com');">discussion on Macosxhints forums</a>, <span style="text-decoration: line-through;">Apple may have changed the order in which DNS servers are used</span>.  In the screenshot, the listed DNS servers are used in the order they are seen, under Leopard 10.5.2. This is true for a manually configured Network Location. <span style="text-decoration: line-through;">In 10.5.3, users are seeing the opposite order, i.e</span>. In a DCHP configured Network Location (automatically done by your DSL router and ISP), the DNS servers listed are used in reverse order. (Bottom server is used first, then moves up the list as needed). Thus <a href="#direct_dns_better_dns">adding a new Network Location to use a given DNS server</a> would be unnecessary.</p>
<p><a href="http://installingcats.com/wp-content/uploads/2008/06/dns_servers.gif" ><img class="alignnone size-medium wp-image-85" title="Leopard DNS Servers Tab" src="http://installingcats.com/wp-content/uploads/2008/06/dns_servers-211x300.gif" alt="" width="211" height="300" /></a></p>
<p><strong>Update 080614</strong>: Airport Wireless Connection Drops - This is a common problem for Leopard users after upgrading to 10.5.2.  This isn&#8217;t exactly a slow Internet problem, but rather, a &#8220;no Internet&#8221; problem. <a href="http://installingcats.com/2008/06/06/airport-wireless-connection-drops-on-leopard-10-5-2/" >See this related post on wireless problems on Apple AirPort connections</a>.</p>
<h2>The Beginning</h2>
<p>This is not the end, but rather, the beginning of an article that I hope will continue to grow in scope to cover more problems and offer more solutions to slow Internet problems in Leopard.  Please leave a comment if you&#8217;re experiencing a problem not discussed here and we&#8217;ll get working on diagnosing the issue and searching for a cure.</p>
<p>If you&#8217;re having troubles implementing a fix listed above, leave a comment and I&#8217;ll try to expand on the topic or reword it so that it is understandable to you and to everyone else I&#8217;ve confused.</p>
<p><a href="http://feeds.feedburner.com/NewFixOnSlowInternetWithLeopard"class="imagelink2"  onclick="javascript:urchinTracker ('/outbound/article/feeds.feedburner.com');"><img class="alignnone size-full wp-image-81" title="RSS Feed - Get Updates on Fixes to Slow Internet on Leopard" src="http://installingcats.com/wp-content/uploads/2008/06/feed-icon32x32.png" alt="" width="32" height="32" /></a> Keep in the Loop</p>
<ul>
<li><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2070912&amp;loc=en_US" onclick="javascript:urchinTracker ('/outbound/article/www.feedburner.com');">Get updates and comments to this article by Email through Google&#8217;s FeedBurner:</a><br />
<form style="border:1px solid #ccc;padding:3px;text-align:center;" action="http://www.feedburner.com/fb/a/emailverify" method="post">Enter your email address:</p>
<input style="width: 140px;" name="email" type="text" />
<input name="url" type="hidden" value="http://feeds.feedburner.com/~e?ffid=2070912" />
<input name="title" type="hidden" value="Updates and Comments on: Slow Internet with Leopard" />
<input name="loc" type="hidden" value="en_US" />
<input type="submit" value="Subscribe" />Delivered by <a href="http://www.feedburner.com" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.feedburner.com');">FeedBurner</a></p>
</form>
</li>
<li><a href="http://feeds.feedburner.com/NewFixOnSlowInternetWithLeopard"title="New Fix on Slow Internet in Leopard - Fedd"  onclick="javascript:urchinTracker ('/outbound/article/feeds.feedburner.com');"><strong>Subscribe to the comments feed to keep updated on new fixes and information</strong></a> I&#8217;ll add to this article.  Every time this page is updated with new information, I&#8217;ll add a comment and you&#8217;ll be able to see what&#8217;s changed in your Feed Reader.</li>
</ul>
<p>- Ben</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=04e8c75d-ba13-4630-b7c3-feb6026ca008&amp;title=Slow+Internet+with+Leopard&amp;url=http%3A%2F%2Finstallingcats.com%2F2008%2F06%2F05%2Fslow-internet-with-leopard%2F" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/06/05/slow-internet-with-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debugging Mac OS X DNS - tcpdump</title>
		<link>http://installingcats.com/2008/06/01/debugging-mac-os-x-dns-tcpdump/</link>
		<comments>http://installingcats.com/2008/06/01/debugging-mac-os-x-dns-tcpdump/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 19:55:07 +0000</pubDate>
		<dc:creator>Ben Lam</dc:creator>
		
		<category><![CDATA[instructions]]></category>

		<category><![CDATA[dns]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[os x]]></category>

		<category><![CDATA[tcpdump]]></category>

		<guid isPermaLink="false">http://installingcats.com/?p=63</guid>
		<description><![CDATA[Need to debug a slow Internet connection in OS X? Or simply have a desire to watch incoming and outgoing DNS (domain name service) queries in Leopard? Then tcpdump is your friend.
Open a terminal window and use the following command:
 sudo tcpdump -i en1 -s 128 port 53
-i  Sets which interface to listen to. [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Debugging Mac OS X DNS - tcpdump", url: "http://installingcats.com/2008/06/01/debugging-mac-os-x-dns-tcpdump/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Need to <a href="http://installingcats.com/2008/06/05/slow-internet-with-leopard/" >debug a slow Internet connection in OS X</a>? Or simply have a desire to watch incoming and outgoing DNS (domain name service) queries in Leopard? Then tcpdump is your friend.</p>
<p>Open a terminal window and use the following command:</p>
<p><code> sudo tcpdump -i en1 -s 128 port 53</code></p>
<p>-i  Sets which interface to listen to. en1 for me is the AirPort wifi card. en0 would be the ethernet card.<br />
-s sets the number of bytes to &#8220;sniff&#8221; or &#8220;snarf&#8221; per call that goes through this interface. 128 gives us a bit better coverage than the default 68 bytes.  If you find that tcpdump requests are showing up simply as [|domain], that means that the request is longer than 68 bytes and is truncated.  To prevent truncation, increase -s.<br />
port 53 is simply the network port for DNS communcation</p>
<p>Learn more about <a href="http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/tcpdump.1.html" target="_self" onclick="javascript:urchinTracker ('/outbound/article/developer.apple.com');">tcpdump at developer.apple.com</a></p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=04e8c75d-ba13-4630-b7c3-feb6026ca008&amp;title=Debugging+Mac+OS+X+DNS+-+tcpdump&amp;url=http%3A%2F%2Finstallingcats.com%2F2008%2F06%2F01%2Fdebugging-mac-os-x-dns-tcpdump%2F" onclick="javascript:urchinTracker ('/outbound/article/sharethis.com');">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://installingcats.com/2008/06/01/debugging-mac-os-x-dns-tcpdump/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
