<?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>Mason McCuskey &#187; iPhone</title>
	<atom:link href="http://www.masonmc.com/category/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.masonmc.com</link>
	<description>Mason's  blog</description>
	<lastBuildDate>Mon, 26 Apr 2010 18:49:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone Tethering At Work</title>
		<link>http://www.masonmc.com/2009/iphone-tethering-at-work/</link>
		<comments>http://www.masonmc.com/2009/iphone-tethering-at-work/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 09:18:21 +0000</pubDate>
		<dc:creator>mason</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.masonmc.com/?p=184</guid>
		<description><![CDATA[I work for a company that restricts access to the internet.  Today I set up my iPhone so that when it&#8217;s docked, my work computer uses its tethered 3G connection to browse the internet, bypassing the filter.  Here&#8217;s how I did it.
The &#8220;proper&#8221; way to do this kind of multi-NIC setup involves a [...]]]></description>
			<content:encoded><![CDATA[<p>I work for a company that restricts access to the internet.  Today I set up my iPhone so that when it&#8217;s docked, my work computer uses its tethered 3G connection to browse the internet, bypassing the filter.  Here&#8217;s how I did it.<span id="more-184"></span></p>
<p>The &#8220;proper&#8221; way to do this kind of multi-NIC setup involves a terrifying trip through proxies and subnets and the nuances of the IP protocol.  The &#8220;better and works most of the time&#8221; way is to simply tell your computer, &#8220;hey, when you need to access something, try to get it through the iPhone first, and then if that doesn&#8217;t work try the corporate LAN.&#8221;  This forces your web browsing traffic through the tether, yet still allows you to access internal IP addresses like network file shares, printers, etc.</p>
<p>The way you do it is by adjusting what&#8217;s called the &#8220;interface metric&#8221; on your network adapter.  Every network adapter has an interface metric that tells your computer how expensive it is to get data from that network.  Usually this metric is determined automatically, but if you want your computer to prefer your iPhone instead of your LAN interface, you punish the LAN &#8211; set the interface metric for the LAN to be much higher than for the iPhone tether.  I set mine to 100, and it seems to work pretty well.    </p>
<p>Of course, you have to first enable tethering on your iPhone.  I&#8217;m too lazy to write up the details of that here but a quick google search will point you in the right direction.  You&#8217;ll know you&#8217;re set up when you see your tether&#8217;s network interface show up in the network connections window (look for the one with a device name like &#8220;Apple Mobile Device Ethernet&#8221;).<br />
<a href="http://www.masonmc.com/wp-content/uploads/2009/08/iphoneusbtether1.png"><img src="http://www.masonmc.com/wp-content/uploads/2009/08/iphoneusbtether1-300x97.png" alt="Finding the right interface - look for Apple Mobile Device Ethernet." title="Screenshot 1" width="300" height="97" class="size-medium wp-image-185" /></a><br />
Once you&#8217;ve found it, first thing you probably want to do is rename it to something more descriptive than &#8220;Local Area Connection 3.&#8221;  Rename it &#8220;iPhone Tether&#8221;, so that things look similar to this screen:<br />
<a href="http://www.masonmc.com/wp-content/uploads/2009/08/iphoneusbtether2.png"><img src="http://www.masonmc.com/wp-content/uploads/2009/08/iphoneusbtether2-300x97.png" alt="After renaming the interface to iPhone Tether." title="Screenshot 2" width="300" height="97" class="size-medium wp-image-186" /></a><br />
Now, right click on the NON iPhone network (the corporate LAN, in the screenshot above, it&#8217;s the selected &#8220;Local Area Connection 2&#8243;), and say properties:<br />
<img src="http://www.masonmc.com/wp-content/uploads/2009/08/iphoneusbtether3.png" alt="Properties of the corporate connection." title="iphoneusbtether3" width="367" height="437" class="size-full wp-image-187" /><br />
Next, select &#8220;Internet Protocol (TCP/IP)&#8221; and click Properties:<br />
<img src="http://www.masonmc.com/wp-content/uploads/2009/08/iphoneusbtether4.png" alt="TCP/IP Properties" title="Screenshot 4" width="404" height="455" class="size-full wp-image-188" /><br />
(Your screens here may look different depending on your network config).  Click Advanced, and then uncheck the automatic metric option, and put in a metric of 100:<br />
<img src="http://www.masonmc.com/wp-content/uploads/2009/08/iphoneusbtether5.png" alt="Put in a metric of 100." title="Screenshot 5" width="404" height="488" class="size-full wp-image-189" /><br />
Click OK back through all the dialogs.  Then, go into the properties for your iPhone tether and check the option to show it in the notification area when it&#8217;s connected.  That way, you&#8217;ll see when it&#8217;s in use.</p>
<p>That&#8217;s about all there is to it, you may have to restart some apps but you should see data start to flow through the phone.  When you pull the iphone from its dock, your computer will fall back to the corporate LAN, and when you plug your phone back in, your apps will stampede towards the iPhone&#8217;s &#8220;lower cost&#8221; connection.  Anything on your internal network is still visible, but your computer will try to get to it through the iPhone first, so there may be a slight initial delay as it discovers that&#8217;s a dead end.</p>
<p>Enjoy, but remember, I make no warranties, and I&#8217;m not a network guru.  And there may be some legitimate security concerns here, since you&#8217;re essentially opening your work PC to the internet at large, without your corporate firewall to protect you.  So, be careful, and take the appropriate security precautions. It&#8217;s working well for me, hopefully it&#8217;ll work for you too.  Browsing through the phone is of course slower than the LAN, but this might be a good thing, since it&#8217;s a slight disincentive to waste time at work.  Overall, this setup is better for you and your company:  you get more privacy, and unfiltered internets, and your employer doesn&#8217;t have to waste bandwidth streaming your stupid cat videos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.masonmc.com/2009/iphone-tethering-at-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cuttlefish Engine Update</title>
		<link>http://www.masonmc.com/2009/cuttlefish-engine-update/</link>
		<comments>http://www.masonmc.com/2009/cuttlefish-engine-update/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 09:05:32 +0000</pubDate>
		<dc:creator>mason</dc:creator>
				<category><![CDATA[CuttlefishEngine]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.masonmc.com/?p=182</guid>
		<description><![CDATA[I posted a lengthy Q &#038; A about my upcoming Cuttlefish Engine &#8211; a cross platform cell phone game engine for iPhone, Android, and Blackberry &#8211; over on the Cuttlefish Industries blog, for all you cell phone game makers.
]]></description>
			<content:encoded><![CDATA[<p>I posted a lengthy Q &#038; A about my upcoming Cuttlefish Engine &#8211; a cross platform cell phone game engine for iPhone, Android, and Blackberry &#8211; over on the <a href="http://www.cuttlefishindustries.com/blog">Cuttlefish Industries blog</a>, for all you cell phone game makers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.masonmc.com/2009/cuttlefish-engine-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Sorry State of Cross Platform Mobile Games</title>
		<link>http://www.masonmc.com/2009/the-sorry-state-of-cross-platform-mobile-games/</link>
		<comments>http://www.masonmc.com/2009/the-sorry-state-of-cross-platform-mobile-games/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 01:27:34 +0000</pubDate>
		<dc:creator>mason</dc:creator>
				<category><![CDATA[SisyphusianTasks]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.masonmc.com/?p=143</guid>
		<description><![CDATA[So I&#8217;m toying with the idea of writing a game &#8211; I&#8217;ve got a pretty good idea that, more importantly, has remained a pretty good idea for the last few weeks.  Simple to implement, fun to make, fun to play.  I should be happy, but I&#8217;m not.
I&#8217;m tearing myself apart trying to decide [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m toying with the idea of writing a game &#8211; I&#8217;ve got a pretty good idea that, more importantly, has remained a pretty good idea for the last few weeks.  Simple to implement, fun to make, fun to play.  I should be happy, but I&#8217;m not.</p>
<p>I&#8217;m tearing myself apart trying to decide which platform(s) to create it for.  For starters, there&#8217;s the obvious: the iPhone.  Tons of free engines and code samples make creating a game for the iPhone a no-brainer.  Unfortunately, that means there are thousands upon thousands of them, and getting any sort of attention in that crowded market would require more work to market and publicize than it would take to actually create the game.</p>
<p>Then there&#8217;s the G1 &#8211; its hardware is on par with iPhone, yet it has a much smaller user base.  This is a blessing and a curse &#8211; less users means fewer sales but less competition.  Same deal with Blackberry &#8211; I don&#8217;t have the numbers to back this up but my hunch is that the number of iPhone users dwarves both the number of G1 and Blackberry users.  At any rate, Don&#8217;t Dial iPhone is outselling Don&#8217;t Dial G1 by at least a 10:1 ratio (but, that&#8217;s with a very iPhone-centric marketing effort).  Maybe with some G1 exclusive marketing I can get that to 5:1.</p>
<p>The Blackberry has in its court a much less crowded market, and a push for quality (RIM has explicitly said they&#8217;re not going to tolerate the crap apps that Apple does).  Also, I&#8217;d be a fool to sell my game for anything above $1 on Apple&#8217;s app store, but I could sell for $3, maybe $5 on Blackberry and remain competitive.  G1 is probably the same story, but muted slightly due to the number of free apps, as well as the G1&#8217;s open source spirit, which attracts a user base that&#8217;s a bit less comfortable with paying for apps.</p>
<p>The really discouraging thing is that technically, the three platforms couldn&#8217;t be farther from each other.  Don&#8217;t Dial has taught me that getting any meaningful code sharing across all three platforms is difficult if not impossible.  I&#8217;ve toyed with the idea of building a cross-platform metalanguage that would &#8220;compile&#8221; down to ObjC or Java code, but doing that is a lot of work, and then you have to abstract all the functionality of the APIs you need.</p>
<p>Someone, somewhere, is doing this, or will be soon, so there&#8217;s that too &#8211; should I develop my own abstraction, or wait until one gets released?  The phonegap guys are making good progress, but they&#8217;re all Javascript, which makes sense for web apps, but for games is a harder sell.</p>
<p>Lots of questions, very little answers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.masonmc.com/2009/the-sorry-state-of-cross-platform-mobile-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t Dial Debuts, and GDC</title>
		<link>http://www.masonmc.com/2009/dont-dial-debuts-and-gdc/</link>
		<comments>http://www.masonmc.com/2009/dont-dial-debuts-and-gdc/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 13:17:49 +0000</pubDate>
		<dc:creator>mason</dc:creator>
				<category><![CDATA[DontDial]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[app store]]></category>
		<category><![CDATA[don't dial]]></category>
		<category><![CDATA[GDC]]></category>

		<guid isPermaLink="false">http://www.masonmc.com/?p=132</guid>
		<description><![CDATA[Wow, arrived back in town to find a flurry of activity:  Don&#8217;t Dial has hit the app store!  So for the last couple of days most of my time at home has been dedicated to spreading the good word.  I always prefer coding over PR because at least with programming you can [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, arrived back in town to find a flurry of activity:  <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=296499842&#038;mt=8">Don&#8217;t Dial has hit the app store!</a>  So for the last couple of days most of my time at home has been dedicated to spreading the good word.  I always prefer coding over PR because at least with programming you can tell instantly if something works or doesn&#8217;t work.  Most of the time.</p>
<p>I&#8217;m missing the GDC.  Every year before the GDC I think &#8220;yeah, too expensive&#8221; and then during GDC week I get all wistful and weepy about not being there for it.  This has been occurring now for several years and is occurring yet again this year.  And every year, I say this:  maybe next year I&#8217;ll go back and say hey to all the gamedev.net guys and we can reminisce about how much better the conference was when it was in San Jose (or maybe not).  Those halcyon days of the early &#8217;00s!</p>
<p>And yeah, you can say I&#8217;m biased, but here&#8217;s truth: when it comes to GDC coverage, <a href="http://www.gamedev.net">gamedev.net</a> has consistently blown every other site completely out of the water.  Even gamasutra.  The gamedev team works their asses off, and I guess that&#8217;s my silver lining &#8211; all I have to do is sit in front of a browser and refresh obsessively. <img src='http://www.masonmc.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.masonmc.com/2009/dont-dial-debuts-and-gdc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
