<?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>MySQL Expert &#124; MySQL Performance &#124; MySQL Consulting &#187; mac</title>
	<atom:link href="http://ronaldbradford.com/blog/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://ronaldbradford.com/blog</link>
	<description>Expert times and information on MySQL</description>
	<lastBuildDate>Tue, 07 Sep 2010 18:45:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Gearman examples under Mac OS X</title>
		<link>http://ronaldbradford.com/blog/gearman-examples-under-mac-os-x-2010-03-12/</link>
		<comments>http://ronaldbradford.com/blog/gearman-examples-under-mac-os-x-2010-03-12/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 19:20:36 +0000</pubDate>
		<dc:creator>ronald</dc:creator>
				<category><![CDATA[Gearman]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://ronaldbradford.com/blog/?p=2629</guid>
		<description><![CDATA[Today I listened in on the O&#8217;Reilly webcast  Introduction to Gearman by Eric Day of Rackspace.  I thought I would follow through on the machine at hand; a Mac with OS X 10.5, however I again got caught up with the gearman PHP extension integration.  A look at and older post Getting [...]]]></description>
			<content:encoded><![CDATA[<p>Today I listened in on the O&#8217;Reilly webcast  <a href="http://www.oreillynet.com/pub/e/1564">Introduction to Gearman</a> by Eric Day of Rackspace.  I thought I would follow through on the machine at hand; a Mac with OS X 10.5, however I again got caught up with the gearman PHP extension integration.  A look at and older post <a href="http://ronaldbradford.com/blog/getting-started-with-gearman-2009-07-26/">Getting started with Gearman</a> based on Ubuntu needed an update for Mac.</p>
<p>First I downloaded and installed the latest <a href="http://gearman.org">gearman</a>. This was version 0.12 and includes libgearman 0.7.<br />
<b>You should always check for any more recent updates.</b></p>
<pre>
wget http://launchpad.net/gearmand/trunk/0.12/+download/gearmand-0.12.tar.gz
tar xvfz gearmand-0.12.tar.gz
cd gearmand-0.12
./configure
make
sudo make install
ls -l /usr/local/lib/libg*
#-rwxr-xr-x  1 root  wheel  79808 Mar 12 13:33 /usr/local/lib/libgearman.4.dylib
#lrwxr-xr-x  1 root  wheel     18 Mar 12 13:33 /usr/local/lib/libgearman.dylib -> libgearman.4.dylib
#-rwxr-xr-x  1 root  wheel    960 Mar 12 13:33 /usr/local/lib/libgearman.la
</pre>
<p>gearmand was installed in /usr/local/sbin and gearman installed in /usr/local/bin</p>
<p>Next we needed the gearman PHP extension from <a href="http://pecl.php.net/package/gearman">pecl</a></p>
<pre>
wget http://pecl.php.net/get/gearman-0.7.0.tgz
tar xvfz gearman-0.7.0.tgz
cd gearman-0.7.0
phpize
./configure
make
sudo make install
# Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20060613/
</pre>
<p>Take note of the extension location, as I needed this for the next step.</p>
<p>Php was already installed, which was good.</p>
<pre>
$ which php
/usr/bin/php
</pre>
<p>However I found no configuration loaded.</p>
<pre>
$ php --info | grep -i configuration
Configuration File (php.ini) Path => /etc
Loaded Configuration File => (none)
Configuration
</pre>
<p>What exists is a default example only.  In order to include the gearman extension I needed to do the following.</p>
<pre>
$ sudo cp /etc/php.ini.default /etc/php.ini
$ sudo vi /etc/php.ini

# Set extension directory
extension_dir = "/usr/lib/php/extensions/no-debug-non-zts-20060613/"
# Add Gearman extension
extension="gearman.so"
</pre>
<p>And a confirmation.</p>
<pre>
$ php --info | egrep -i "(configuration|gearman)"
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /private/etc/php.ini
Configuration
gearman
gearman support => enabled
libgearman version => 0.12
</pre>
<p>Ready now to try out the PHP examples.</p>
]]></content:encoded>
			<wfw:commentRss>http://ronaldbradford.com/blog/gearman-examples-under-mac-os-x-2010-03-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MiFi Installation woes</title>
		<link>http://ronaldbradford.com/blog/mifi-installation-woes-2009-06-27/</link>
		<comments>http://ronaldbradford.com/blog/mifi-installation-woes-2009-06-27/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 16:26:42 +0000</pubDate>
		<dc:creator>ronald</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Professional]]></category>
		<category><![CDATA[Verizon MiFi]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mifi]]></category>
		<category><![CDATA[verizon]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://ronaldbradford.com/blog/?p=1680</guid>
		<description><![CDATA[As I mentioned in MiFi Introduction I took the plunge and purchased a Verizon MiFi.  I got this under a 2 year contract for $149.99 and $59.99 per month for 5GB of traffic.
While happy to have a new tech toy, the installation and use of, well that was a painful experience I&#8217;d rather not [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned in <a href="http://ronaldbradford.com/blog/mifi-introduction-2009-06-27/">MiFi Introduction</a> I took the plunge and purchased a <a href="http://b2b.vzw.com/broadband/mobilehotspot.html?CMP=KNC-PaidSearch">Verizon MiFi</a>.  I got this under a 2 year contract for $149.99 and $59.99 per month for 5GB of traffic.</p>
<p>While happy to have a new tech toy, the installation and use of, well that was a painful experience I&#8217;d rather not have to endure.  Unfortunately I didn&#8217;t document all steps with screen shots so I will need to describe what I have.</p>
<p>While it stated the device worked with a Mac, it was clearly not as simple as the instructions stated.</p>
<ol>
<li>The first problem is, you <u>can&#8217;t use the device until you activate it</u>. You can&#8217;t activate it <u>unless you already have Internet Access</u>. </li>
<li>The <b>Tips, hits and shortcuts</b> manual also states &#8220;VZAccess Manager Installation&#8221;, &#8230; connect device &#8230;, VZAccess installer auto-launches and the drivers will install automatically.  You have to read one page further before you get &#8220;Mac customers are not required to use VZAccess Manager to use their device&#8221;.  First, <u>you do have to install the software to use the device</u> (for the first time), there seems no way around that, and second, <u>it does not auto-launch</u>.</li>
<li>Trying to install I read the instructions, &#8220;connect to a USB Port, &#8230; auto-launches&#8221;. This doesn&#8217;t happen.  Opening in Finder, hoping for an attached device no luck? Now what.</li>
<li>One page further, under Mac OS/X Users, the section that states &#8220;not required to use&#8230;&#8221; also includes a point stating that activation <u>requires MAC OS X 10.4.0 or higher and WWAN Support Update 1.0</u>.  It would be nice if you included this as <b>Pre-Requistes</b> in your documentation so it reads chronologically. The docs state this is a free download.</li>
<li>So I downloaded WWAN Support Update 1.0 from the apple web site, got to run it, and it states &#8220;Alert: This computer cannot use this update&#8221;. What the.   I did between my first two attempts to connect to the device, and now run a Software Update, so guessing it was in this because I know no easy way to confirm installed software on a Mac, I truck on.</li>
<li>The <b>Important MiFI 2220 Connection Information</b></li>
<p> page, shown below states  you can access the MiFi Admin Portal at <a href="http://192.168.1.1">http://192.168.1.1</a>.  See Exhibit 1 below. I try that and I get the admin page, <u>and it states &#8220;Not Activated&#8221;</u>.  Did the store not activate the device, or is my attempt to blunder through these steps not correct</p>
<li>Being frustrated I try Verizon Phone Support, the number 1800 922 0204, conveniently absent from the docs FYI. The automated system asks are you a customer, yes I am, what is your number? Well my number is on AT&#038;T, this is just a broadband device, not a phone, trying that doesn&#8217;t work.  Then trying to get out of the automated system to get an operator an ordeal. Finally a real person.</li>
<li>Real person asks, what is your number, I explain the same story, then I decide to grab the receipt from the store, and I find in small print, under the device name on the receipt a number? Is that my number? I give that and lone behold, that&#8217;s the Cell number for the device.  <u>Would be nice if they told you that</u>.</li>
<li>I explain my problem, and I&#8217;m put on hold, and hold a second time, and more hold a third time to talk to a more technical person.</li>
<li>During this time, I go back over the steps I undertook and lone behold, there is now a device in my Finder. See Exhibit 2.  Did it take like 10 mins to find it or what? Perplexing. So while waiting for a tech person, I move on.</li>
<li>I see VZAccess Manager install package, I take this route, and following system reboot on the Mac, the software auto starts, and I&#8217;m prompted with the VZAccess Manager screen, See Exhibit 3.</li>
<li>In fine print down the bottom, <b>Activation required</b>. Nice if that was in big letters on first usage of software.  A few menu buttons on the top, and a Connect WWan button bottom right. <u>Again, lack of clear UI here</u>.</li>
<li>Clicking Connect WWAN goes though a number of steps, which unfortunately I didn&#8217;t keep, but at the end, I finally get an I&#8217;m activated message.</li>
<li>To get the device working however, there was also some pain. I had to disconnect my Internet connect, disable Wireless, and talk to the device directly via USB. I could then confirm I could access the Internet. I then had to remove the USB, enable Wireless and connect to get it to communicate via wireless.  The activation process needed the USB connection.</li>
<li>I&#8217;m finally online, now the need to plug this into my network. The device has an Admin portal at <a href="http://192.168.1.1">http://192.168.1.1</a>. The first pain, I can&#8217;t access this because my Internal network, and multiple devices runs from my router at the same address. Seeing no way around this, I have to reconfigure my internal network, which was a pain.  No I can access the Admin Portal.  My goal is to change SSID, change password that&#8217;s printed on multiple pieces of paper, and also change the address.</li>
<li>On the admin portal, an input box, and button for Login. See Exhibit 4.  <u>Nothing in the documentation on this login box</u>, the Verizon tech didn&#8217;t know any information about this, so while they were researching I started randomly choosing logins.  It was weird that the input was a password protected input (e.g. *****) and there was no username/password.    I try the WiFi Password, seems to get truncated.  I try <b>admin</b> and lone behold I&#8217;m logged in.  That&#8217;s about as insecure as having nothing.</li>
<li>After all this, I&#8217;m finally able to configure the device. See Exhibit 5. I trust it will work when I&#8217;m next on the road.  Documentation get&#8217;s a fail, it&#8217;s unclear and incomplete.  There needs to be clear and seperate sections for Windows and Mac OS/X, and it needs to detail the installation process correctly and clearly, and probably with some screen prints.  I&#8217;m not a novice user, and I had difficulty with this process.
</li>
</ol>
<h3>Exhibit 1 &#8211; Important Information Page</h3>
<p><img src="/images/blog/mifi/verizon-mifi039.jpg" /></p>
<p><img src="/images/blog/mifi/verizon-mifi040.jpg" /></p>
<h3>Exhibit 2 &#8211; VZAccess Manager Finder</h3>
<p><img src="/images/blog/mifi/mifi-finder.jpg" /></p>
<h3>Exhibit 3 &#8211; VZAccess Manager</h3>
<p><img src="/images/blog/mifi/mifi-accessmanager.jpg" /></p>
<h3>Exhibit 4 &#8211; MiFi Administration Portal Login</h3>
<p><img src="/images/blog/mifi/mifi-login.jpg" /></p>
<h3>Exhibit 5 &#8211; MiFi Administration Change Password</h3>
<p><img src="/images/blog/mifi/mifi-loggedin.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ronaldbradford.com/blog/mifi-installation-woes-2009-06-27/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
