<?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>CB1, INC. &#187; mac os x</title>
	<atom:link href="http://www.cb1inc.com/category/mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cb1inc.com</link>
	<description></description>
	<lastBuildDate>Wed, 28 Sep 2011 17:54:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>How to Fix Wake Up Freezing on MacBook Pros</title>
		<link>http://www.cb1inc.com/2010/05/07/how-to-fix-wake-up-freezing-on-macbook-pros/</link>
		<comments>http://www.cb1inc.com/2010/05/07/how-to-fix-wake-up-freezing-on-macbook-pros/#comments</comments>
		<pubDate>Sat, 08 May 2010 03:09:47 +0000</pubDate>
		<dc:creator>Chris Barber</dc:creator>
				<category><![CDATA[mac os x]]></category>

		<guid isPermaLink="false">http://www.cb1inc.com/?p=1439</guid>
		<description><![CDATA[If you have a MacBook Pro with several gigabytes of RAM, you may have noticed that Mac OS X will lock up when you try to wake the laptop up. This can be very frustrating and requires you to hold the power button in for 5 seconds and turning it back on. I run 2 [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a MacBook Pro with several gigabytes of RAM, you may have noticed that Mac OS X will lock up when you try to wake the laptop up.  This can be very frustrating and requires you to hold the power button in for 5 seconds and turning it back on.</p>
<p>I run 2 or 3 VMware Fusion virtual machines at the same time and that eats up a ton of RAM, but it&#8217;s OK since my laptop has 8GB of memory.  My machine would lock up when I tried to wake it up.  I found that it would sometimes be OK leaving 1 virtual machine running, but if I left 2 running, it would almost always lock up.</p>
<p>So, I did some research and discovered the problem has to do with Mac OS X&#8217;s power management, specifically the <em>hibernatemode</em>.  The value is a bitfield that has the following options:</p>
<ul>
<li>0 (0000) Disables SafeSleep. Memory state is maintained until battery power is gone in which case the computer turns off completely.</li>
<li>1 (0001) Enables hibernation, writes memory contents to hibernation image, and immediately goes to sleep.</li>
<li>3 (0011) Maintains memory state while sleeping, but when the battery power is nearly gone, it will write the contents of the memory to hibernation image.</li>
</ul>
<p>On laptops, the default value is 3.  On desktops, the default is 0.</p>
<p>To fix the problem, you simply need to set the <em>hibernatemode</em> to 0.  From a Mac OS X terminal, run the following:</p>
<pre class="brush: plain; title: ;">
sudo pmset -a hibernatemode 0
</pre>
<p>Then reboot your laptop and enjoy lock-free waking up!</p>
<p>At this point, hibernation is disabled and that means you can delete the hibernation file and free up a couple gigs of disk space!</p>
<pre class="brush: plain; title: ;">
sudo rm -f /var/vm/sleepimage
</pre>
<p>One side note, Microsoft Windows actually disables hibernating on computers with 4GB or more of RAM.  They claim that it took longer to restore the memory state from disk than to just do a normal boot.  I disagree since it takes a long time to spin up all your apps, virtual machines, and start being productive.  I wonder if they discovered some technical issue that is what is causing the issues on Macs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cb1inc.com/2010/05/07/how-to-fix-wake-up-freezing-on-macbook-pros/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fixing Cisco VPN Client 4.9 With Parallels Desktop 3.0 on Mac OS X</title>
		<link>http://www.cb1inc.com/2007/06/11/fixing-cisco-vpn-client-4-9-with-parallels-desktop-3-0-on-mac-os-x/</link>
		<comments>http://www.cb1inc.com/2007/06/11/fixing-cisco-vpn-client-4-9-with-parallels-desktop-3-0-on-mac-os-x/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 18:44:50 +0000</pubDate>
		<dc:creator>Chris Barber</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[parallels]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[The new Parallels Desktop 3.0 for Mac is out! At first, everything looks great!  Then I noticed my Cisco VPN Client v4.9 stopped working.

<div align="center"><img alt="Error 51: Unable to communicate with the VPN subsystem. Please make sure that you have at least one network interface that is currently active and has an IP address and start this application again." src="http://cb1inc.com/sites/default/blog/20070611-ciscovpn-01.png" /></div>

I tried uninstalling both the VPN client and Parallels, then reinstalling and everything worked until I rebooted.  So, that wasn't going to work. After doing a ton of digging around, I found <a href="http://forums.parallels.com/thread12457-2.html" target="_blank">this post</a> that suggested a fix that works!

Bring up a terminal and execute an <code>ifconfig -a</code>:

<div class="cb1-docs-code"><pre>$ ifconfig -a
lo0: flags=8049&#60;UP,LOOPBACK,RUNNING,MULTICAST&#62; mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
        inet 127.0.0.1 netmask 0xff000000 
gif0: flags=8010&#60;POINTOPOINT,MULTICAST&#62; mtu 1280
stf0: flags=0&#60;&#62; mtu 1280
vmnet8: flags=8862&#60;BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&#62; mtu 1500
        inet 172.16.91.1 netmask 0xffffff00 broadcast 172.16.91.255
        ether 00:50:56:c0:00:08 
vmnet1: flags=8862&#60;BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&#62; mtu 1500
        inet 172.16.197.1 netmask 0xffffff00 broadcast 172.16.197.255
        ether 00:50:56:c0:00:01 
en0: flags=8863&#60;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&#62; mtu 1500
        ether 00:17:f2:cd:20:02 
        media: autoselect status: inactive
        supported media: autoselect 10baseT/UTP &#60;half-duplex&#62;
                10baseT/UTP vfull-duplex&#62;
                10baseT/UTP &#60;full-duplex,hw-loopback&#62;
                10baseT/UTP &#60;full-duplex,flow-control&#62;
                100baseTX &#60;half-duplex&#62;
                100baseTX &#60;full-duplex&#62;
                100baseTX &#60;full-duplex,hw-loopback&#62;
                100baseTX &#60;full-duplex,flow-control&#62;
                1000baseT &#60;full-duplex&#62;
                1000baseT &#60;full-duplex,hw-loopback&#62;
                1000baseT &#60;full-duplex,flow-control&#62; none
en1: flags=8863&#60;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&#62; mtu 1500
        tunnel inet  --&#62;
        inet6 fe80::219:e3ff:fe06:93f0%en1 prefixlen 64 scopeid 0x7 
        inet 192.168.1.97 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:19:e3:06:93:f0 
        media: autoselect status: active
        supported media: autoselect
        vlan: 0 parent interface: &#60;none&#62;
        bond interfaces: &#60;none&#62;
wlt1: flags=41&#60;UP,RUNNING&#62; mtu 1500
fw0: flags=8863&#60;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&#62; mtu 2030
        inet 169.254.90.185 netmask 0xffff0000 broadcast 169.254.255.255
        lladdr 00:19:e3:ff:fe:69:37:c4 
        media: autoselect &#60;full-duplex&#62; status: inactive
        supported media: autoselect &#60;full-duplexv
en2: flags=8963&#60;UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST&#62; mtu 1500
        inet6 fe80::21c:42ff:fe00:0%en2 prefixlen 64 scopeid 0xa 
        inet 10.0.1.3 netmask 0xffffff00 broadcast 10.0.1.255
        ether 00:1c:42:00:00:00 
        media: autoselect status: active
        supported media: autoselect
en3: flags=8963&#60;UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST&#62; mtu 1500
        inet6 fe80::21c:42ff:fe00:1%en3 prefixlen 64 scopeid 0xb 
        inet 10.0.2.12 netmask 0xffffff00 broadcast 10.0.2.255
        ether 00:1c:42:00:00:01 
        media: autoselect status: active
        supported media: autoselect
</pre></div>

Find the interface that starts with "fw". In my case, mine is called "fw0".  Next, shut off the interface:

<div class="cb1-docs-code"><pre>$ sudo ifconfig fw0 down</pre></div>

fw0's flags will now be 8822 and now the Cisco VPN client should work!

<div align="center"><img src="http://cb1inc.com/sites/default/blog/20070611-ciscovpn-02.png" /></div>

But what happens if you reboot? Oops! The fw0 interface comes back on. Disable the interface when the Cisco VPN subsystem is started:

<div class="cb1-docs-code"><pre>$ sudo pico /System/Library/StartupItems/CiscoVPN/CiscoVPN</pre></div>

Then change the <code>StartService()</code> function to look like this:
<div class="cb1-docs-code"><pre>StartService ()
{
    #disable fw0
    /sbin/ifconfig fw0 down

    if [ -d $CISCO_VPN_DIR ]; then
        ConsoleMessage "Starting Cisco Systems VPN Driver"
        kextload $CISCO_VPN_DIR
    fi
}
</pre></div>

Test with a quick reboot and everything should work!]]></description>
			<content:encoded><![CDATA[<p>The new Parallels Desktop 3.0 for Mac is out! At first, everything looks great!  Then I noticed my Cisco VPN Client v4.9 stopped working.</p>
<div align="center"><img alt="Error 51: Unable to communicate with the VPN subsystem. Please make sure that you have at least one network interface that is currently active and has an IP address and start this application again." src="/wp-content/uploads/2009/12/20070611-ciscovpn-011.png" /></div>
<p>I tried uninstalling both the VPN client and Parallels, then reinstalling and everything worked until I rebooted.  So, that wasn&#8217;t going to work. After doing a ton of digging around, I found <a href="http://forums.parallels.com/thread12457-2.html" target="_blank">this post</a> that suggested a fix that works!</p>
<p>Bring up a terminal and execute an <code>ifconfig -a</code>:</p>
<pre class="brush: plain; title: ;">
$ ifconfig -a
lo0: flags=8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1280
stf0: flags=0&lt;&gt; mtu 1280
vmnet8: flags=8862&lt;BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
        inet 172.16.91.1 netmask 0xffffff00 broadcast 172.16.91.255
        ether 00:50:56:c0:00:08
vmnet1: flags=8862&lt;BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
        inet 172.16.197.1 netmask 0xffffff00 broadcast 172.16.197.255
        ether 00:50:56:c0:00:01
en0: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
        ether 00:17:f2:cd:20:02
        media: autoselect status: inactive
        supported media: autoselect 10baseT/UTP &lt;half-duplex&gt;
                10baseT/UTP vfull-duplex&gt;
                10baseT/UTP &lt;full-duplex,hw-loopback&gt;
                10baseT/UTP &lt;full-duplex,flow-control&gt;
                100baseTX &lt;half-duplex&gt;
                100baseTX &lt;full-duplex&gt;
                100baseTX &lt;full-duplex,hw-loopback&gt;
                100baseTX &lt;full-duplex,flow-control&gt;
                1000baseT &lt;full-duplex&gt;
                1000baseT &lt;full-duplex,hw-loopback&gt;
                1000baseT &lt;full-duplex,flow-control&gt; none
en1: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
        tunnel inet  --&gt;
        inet6 fe80::219:e3ff:fe06:93f0%en1 prefixlen 64 scopeid 0x7
        inet 192.168.1.97 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:19:e3:06:93:f0
        media: autoselect status: active
        supported media: autoselect
        vlan: 0 parent interface: &lt;none&gt;
        bond interfaces: &lt;none&gt;
wlt1: flags=41&lt;UP,RUNNING&gt; mtu 1500
fw0: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; mtu 2030
        inet 169.254.90.185 netmask 0xffff0000 broadcast 169.254.255.255
        lladdr 00:19:e3:ff:fe:69:37:c4
        media: autoselect &lt;full-duplex&gt; status: inactive
        supported media: autoselect &lt;full-duplexv
en2: flags=8963&lt;UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST&gt; mtu 1500
        inet6 fe80::21c:42ff:fe00:0%en2 prefixlen 64 scopeid 0xa
        inet 10.0.1.3 netmask 0xffffff00 broadcast 10.0.1.255
        ether 00:1c:42:00:00:00
        media: autoselect status: active
        supported media: autoselect
en3: flags=8963&lt;UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST&gt; mtu 1500
        inet6 fe80::21c:42ff:fe00:1%en3 prefixlen 64 scopeid 0xb
        inet 10.0.2.12 netmask 0xffffff00 broadcast 10.0.2.255
        ether 00:1c:42:00:00:01
        media: autoselect status: active
        supported media: autoselect
</pre>
<p>Find the interface that starts with &#8220;fw&#8221;. In my case, mine is called &#8220;fw0&#8243;.  Next, shut off the interface:</p>
<pre class="brush: plain; title: ;">
$ sudo ifconfig fw0 down
</pre>
<p>fw0&#8242;s flags will now be 8822 and now the Cisco VPN client should work!</p>
<div align="center"><img src="/wp-content/uploads/2009/12/20070611-ciscovpn-021.png" /></div>
<p>But what happens if you reboot? Oops! The fw0 interface comes back on. Disable the interface when the Cisco VPN subsystem is started:</p>
<pre class="brush: plain; title: ;">
$ sudo pico /System/Library/StartupItems/CiscoVPN/CiscoVPN
</pre>
<p>Then change the <code>StartService()</code> function to look like this:</p>
<pre class="brush: plain; title: ;">
StartService ()
{
    #disable fw0
    /sbin/ifconfig fw0 down

    if [ -d $CISCO_VPN_DIR ]; then
        ConsoleMessage &quot;Starting Cisco Systems VPN Driver&quot;
        kextload $CISCO_VPN_DIR
    fi
}
</pre>
<p>Test with a quick reboot and everything should work!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cb1inc.com/2007/06/11/fixing-cisco-vpn-client-4-9-with-parallels-desktop-3-0-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
		<item>
		<title>Installing Ubuntu 7.04 Feisty Fawn In Parallels On Mac OS X</title>
		<link>http://www.cb1inc.com/2007/04/21/installing-ubuntu-7-04-feisty-fawn-in-parallels-on-mac-os-x/</link>
		<comments>http://www.cb1inc.com/2007/04/21/installing-ubuntu-7-04-feisty-fawn-in-parallels-on-mac-os-x/#comments</comments>
		<pubDate>Sat, 21 Apr 2007 07:37:52 +0000</pubDate>
		<dc:creator>Chris Barber</dc:creator>
				<category><![CDATA[mac os x]]></category>
		<category><![CDATA[parallels]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Thursday, April 19th, the latest rev of the Linux distro <a href="http://ubuntu.com" target="_blank">Ubuntu 7.04 (Feisty Fawn)</a> was released. I wasted no time to download it and installing it in one of my trusty virtual machines.

I have a <a href="http://www.apple.com/macbookpro" target="_blank">Macbook Pro</a> and I use <a href="http://www.parallels.com/en/products/desktop" target="_blank">Parallels Desktop for Mac</a> as my VM software. Installing previous Ubuntu releases was a piece of cake, but Ubuntu 7.04 was being a little "feisty" to install.

After trying the DVD, Desktop, and Alternative versions, I still had no luck. It was hard to tell what the problem was on the DVD and Desktop editions since they were live CDs and the screen just went blank. The Alternative version gave me a clue that the installer couldn't load the CD/DVD drivers.

After doing <a href="https://launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/95830" target="_blank">some digging</a>, I discovered there is a problem with both Parallels CD/DVD driver and the latest Linux kernel that ships with 7.04.

To get around the problem, I changed the OS Type to "Solaris" and OS Version to "Other Solaris" and then tried again to install Ubuntu.

<div align="center"><img img="Parallels Configuration Editor" src="http://cb1inc.com/sites/default/blog/20070421-parallels.png" /></div>

Ubuntu's installer found the drive without a problem and successfully installed the operating system. After the installation was complete, I shutdown the VM and changed the OS Type back to "Linux" and OS Version to "Other Linux kernel 2.6". I have no idea if the CD/DVD drive works after changing these back, nor do I know if there are any issues with just leaving the OS Type as Solaris.

My hopes are that either a new kernel and/or Parallels releases an update to fix this problem. Honestly though, I have never used the CD/DVD drive in a Linux VM since everything I install is downloaded.

Has anybody else had this issue or come up with a better workaround?]]></description>
			<content:encoded><![CDATA[<p>Thursday, April 19th, the latest rev of the Linux distro <a href="http://ubuntu.com" target="_blank">Ubuntu 7.04 (Feisty Fawn)</a> was released. I wasted no time to download it and installing it in one of my trusty virtual machines.</p>
<p>I have a <a href="http://www.apple.com/macbookpro" target="_blank">Macbook Pro</a> and I use <a href="http://www.parallels.com/en/products/desktop" target="_blank">Parallels Desktop for Mac</a> as my VM software. Installing previous Ubuntu releases was a piece of cake, but Ubuntu 7.04 was being a little &#8220;feisty&#8221; to install.</p>
<p>After trying the DVD, Desktop, and Alternative versions, I still had no luck. It was hard to tell what the problem was on the DVD and Desktop editions since they were live CDs and the screen just went blank. The Alternative version gave me a clue that the installer couldn&#8217;t load the CD/DVD drivers.</p>
<p>After doing <a href="https://launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/95830" target="_blank">some digging</a>, I discovered there is a problem with both Parallels CD/DVD driver and the latest Linux kernel that ships with 7.04.</p>
<p>To get around the problem, I changed the OS Type to &#8220;Solaris&#8221; and OS Version to &#8220;Other Solaris&#8221; and then tried again to install Ubuntu.</p>
<div align="center"><img img="Parallels Configuration Editor" src="/wp-content/uploads/2009/12/20070421-parallels1.png" /></div>
<p>Ubuntu&#8217;s installer found the drive without a problem and successfully installed the operating system. After the installation was complete, I shutdown the VM and changed the OS Type back to &#8220;Linux&#8221; and OS Version to &#8220;Other Linux kernel 2.6&#8243;. I have no idea if the CD/DVD drive works after changing these back, nor do I know if there are any issues with just leaving the OS Type as Solaris.</p>
<p>My hopes are that either a new kernel and/or Parallels releases an update to fix this problem. Honestly though, I have never used the CD/DVD drive in a Linux VM since everything I install is downloaded.</p>
<p>Has anybody else had this issue or come up with a better workaround?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cb1inc.com/2007/04/21/installing-ubuntu-7-04-feisty-fawn-in-parallels-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

