<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>dougbelshaw.com/blog &#187; Terminal</title>
	<atom:link href="http://dougbelshaw.com/blog/tag/terminal/feed/" rel="self" type="application/rss+xml" />
	<link>http://dougbelshaw.com/blog</link>
	<description>Education. Technology. Productivity.</description>
	<lastBuildDate>Wed, 23 May 2012 08:57:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<copyright>Uncopyrighted http://dougbelshaw.com/blog/2009/12/09/beyond-creative-commons-uncopyright/</copyright>
	<managingEditor>dajbelshaw@gmail.com (Doug Belshaw)</managingEditor>
	<webMaster>dajbelshaw@gmail.com (Doug Belshaw)</webMaster>
	<ttl>1440</ttl>
	<image>
		<url>http://dougbelshaw.com/blog/wp-content/uploads/2010/03/doug_south_park_144px.png</url>
		<title>dougbelshaw.com/blog</title>
		<link>http://dougbelshaw.com/blog</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle>Education. Technology. Productivity.</itunes:subtitle>
	<itunes:summary>Education. Technology. Productivity.</itunes:summary>
	<itunes:keywords>education
technology
productivity
elearning</itunes:keywords>
	<itunes:category text="Education">
		<itunes:category text="Education Technology" />
	</itunes:category>
	<itunes:category text="Health">
		<itunes:category text="Self-Help" />
	</itunes:category>
	<itunes:author>Doug Belshaw</itunes:author>
	<itunes:owner>
		<itunes:name>Doug Belshaw</itunes:name>
		<itunes:email>dajbelshaw@gmail.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://dougbelshaw.com/blog/wp-content/uploads/2010/03/doug_avatar_300.png" />
		<item>
		<title>HOWTO: Tether an iPhone to a netbook running Jolicloud</title>
		<link>http://dougbelshaw.com/blog/2009/08/08/howto-tether-an-iphone-to-a-netbook-running-jolicloud/</link>
		<comments>http://dougbelshaw.com/blog/2009/08/08/howto-tether-an-iphone-to-a-netbook-running-jolicloud/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 21:31:03 +0000</pubDate>
		<dc:creator>Doug Belshaw</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Acer Aspire One]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Jolicloud]]></category>
		<category><![CDATA[Netbook]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Tethering]]></category>
		<category><![CDATA[Ubuntu Netbook Remix]]></category>

		<guid isPermaLink="false">http://dougbelshaw.com/blog/?p=2837</guid>
		<description><![CDATA[I've been using a fantastic new netbook operating system called <strong>Jolicloud</strong> recently. I've only just figured out how to 'tether' my (unjailbroken) iPhone via Bluetooth to it for 3G internet access. This post explains how I did it! :-D]]></description>
			<content:encoded><![CDATA[<p><span><a href="http://www.flickr.com/photos/dougbelshaw/3802175130/"><img title="Jolicloud iPhone tethering" src="http://farm3.static.flickr.com/2615/3802175130_3373898635.jpg" alt="" width="500" height="375" /></a></span></p>
<h3>Introduction</h3>
<p>I mentioned in an earlier blog post my favourable early impressions of the &#8216;cool new operating system&#8217; <a href="http://jolicloud.com">Jolicloud</a> on my <a class="zem_slink" title="Acer Aspire" rel="wikipedia" href="http://en.wikipedia.org/wiki/Acer_Aspire">Acer Aspire</a> One. One thing that I wanted to be able to do with it is to &#8216;tether&#8217; my <a class="zem_slink" title="iPhone" rel="homepage" href="http://www.apple.com/iphone">iPhone</a> to it for 3G internet access. This was easily done under almost any operating system when I&#8217;d &#8216;jailbroken&#8217; my iPhone (through PDAnet) However, it&#8217;s not so easy with an iPhone running the standard firmware and a <a class="zem_slink" title="Netbook" rel="wikipedia" href="http://en.wikipedia.org/wiki/Netbook">netbook</a> running Jolicloud. This is for two reasons:</p>
<ul>
<li>An unjailbroken iPhone can only tether by USB or <a class="zem_slink" title="Bluetooth" rel="wikipedia" href="http://en.wikipedia.org/wiki/Bluetooth">Bluetooth</a>, not wi-fi.</li>
<li>Jolicloud does not come with access to <a class="zem_slink" title="Synaptic Package Manager" rel="homepage" href="http://www.nongnu.org/synaptic/">Synaptic Package Manager</a>, trading this for ease-of-use.</li>
</ul>
<p><a class="zem_slink" title="Tethering" rel="wikipedia" href="http://en.wikipedia.org/wiki/Tethering">Tethering</a> an unjailbroken iPhone to Jolicloud is still possible, however, if you&#8217;re prepared to copy-and-paste some lines into the Terminal. Here&#8217;s what to do&#8230;</p>
<h3>How to tether your iPhone under Jolicloud</h3>
<p><strong>1. Activate tethering on your iPhone.</strong> You should really go through your contract provider for this, but if you&#8217;re naughty &#8211; or feel overcharged as it is &#8211; then try emailing to your iPhone and then running the relevant .mobileconfig file found at <a href="http://www.benm.at/help/tethering.php">http://www.benm.at/help/tethering.php</a></p>
<p><strong>2. Install &#8216;jolicloud-netbook-config&#8217;. </strong>To be honest, I&#8217;m not actually certain this step is necessary. But it can&#8217;t hurt! On your netbook, open up the Terminal (found under the &#8216;Accessories&#8217; menu in Jolicloud). Copy-and-paste this: <strong><code>sudo apt-get update</code> </strong>(then press &#8216;Enter&#8217;) followed by <strong><code>sudo apt-get install jolicloud-netbook-config</code></strong> (Enter). You may get errors. Ignore them. <img src='http://dougbelshaw.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><strong>3. Install Blueman. </strong>Whilst still in the Terminal, copy-and-paste this: <strong><code>sudo sh -c "echo 'deb http://ppa.launchpad.net/blueman/ubuntu $(lsb_release -sc) main' &gt;/etc/apt/sources.list.d/blueman.list"</code></strong> and then hit Enter. Follow this typing <span><strong><code>sudo apt-get update</code></strong> (Enter) and then <strong><code>sudo apt-get install blueman</code></strong> (Enter). You&#8217;ll get errors, but don&#8217;t worry!</span><br />
<span><strong> </strong></span></p>
<p><span><strong>4. Configure Bluetooth Manager</strong>. Make sure you have Bluetooth turned on your netbook and both Bluetooth and Tethering on your iPhone. The &#8216;tethering&#8217; option is found withing <strong>Settings / General / Network </strong>on your iPhone. On your netbook, go to the <strong>Preference</strong>s menu and then click on <strong>Bluetooth Manager</strong>:</span></p>
<p><span><a href="http://www.flickr.com/photos/dougbelshaw/3801878364/"><img class="alignnone" title="Jolicloud - Bluetooth Manager" src="http://farm4.static.flickr.com/3447/3801878364_5a48f5b8fd.jpg" alt="" width="500" height="293" /></a><br />
</span></p>
<p><span><strong>4. Connect to your iPhone.</strong> Click on <strong>Search</strong> within Bluetooth Manager. Your iPhone should be listed. Click on it, then <strong>Bond</strong>. You&#8217;ll have to do the usual thing of setting a passcode to be entered on both devices, etc.</span></p>
<p><span><a href="http://www.flickr.com/photos/dougbelshaw/3801059097/"><img class="alignnone" title="Jolicloud - Bluetooth Manager Interface" src="http://farm3.static.flickr.com/2493/3801059097_49e8a9658e.jpg" alt="" width="500" height="293" /></a><br />
</span></p>
<p><span><strong>5. Set up your iPhone for &#8216;tethering&#8217;. </strong>Within Bluetooth Manager click on the <strong>Trust</strong> button to save time in future. Then click on <strong>Setup </strong>and keep pressing Forward until your iPhone is &#8216;tethered&#8217; (i.e. set up for 3G internet access with your netbook).</span></p>
<p><span><a href="http://www.flickr.com/photos/dougbelshaw/3801059337/"><img class="alignnone" title="Jolicloud - set up tethering" src="http://farm3.static.flickr.com/2503/3801059337_72b378ceba.jpg" alt="" width="500" height="293" /></a><br />
</span></p>
<p><span>Your iPhone should now have a blue bar at the top that says <strong>Internet tethering</strong> (see image at top of this post). Open up a browser and surf away! <img src='http://dougbelshaw.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </span></p>
<h3><span>Finally&#8230;<br />
</span></h3>
<p><span>To reconnect on subsequent occasions, make sure that Bluetooth and Tethering is active on your iPhone. Then go back into Bluetooth Manager on your netbook, right-click on your iPhone and select the option to re-establish a Bluetooth connection. An icon should pop-up indicating you&#8217;re connected and, of course, the blue &#8216;Internet Tethering&#8217; ribbon should appear to the top of your iPhone! <img src='http://dougbelshaw.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </span></p>
<p><span>Many thanks to the author of <a href="http://tanere.blogspot.com/2008/11/mobile-broadband-over-bluetooth-on.html">this blog post</a> (which has some additional steps you may want to try which forces Ubuntu Netbook Remix &#8211; on which Jolicloud is based &#8211; to configure the connection as an &#8216;official&#8217; Mobile Broadband connection)<br />
</span></p>
<p><span> </span></p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/b211c1a2-372d-416c-806c-f3f03bf7e0ef/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=b211c1a2-372d-416c-806c-f3f03bf7e0ef" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://dougbelshaw.com/blog/2009/08/08/howto-tether-an-iphone-to-a-netbook-running-jolicloud/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Hacking an AppleTV v1.1</title>
		<link>http://dougbelshaw.com/blog/2008/02/11/hacking-an-appletv-v11/</link>
		<comments>http://dougbelshaw.com/blog/2008/02/11/hacking-an-appletv-v11/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 09:52:48 +0000</pubDate>
		<dc:creator>Doug Belshaw</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[AFP]]></category>
		<category><![CDATA[AppleTV]]></category>
		<category><![CDATA[AwkwardTV]]></category>
		<category><![CDATA[DivX]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[NitoTV]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Patchstick]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[XBMC]]></category>
		<category><![CDATA[YouTorrent]]></category>

		<guid isPermaLink="false">http://www.dougbelshaw.com/2008/02/11/hacking-an-appletv-v11/</guid>
		<description><![CDATA[This post will be redundant tomorrow. Apple are scheduled to release v2 of their firmware for the AppleTV that will switch on the ability for the device to directly access the iTunes store. This will mean the ability to purchase music and rent films directly &#8211; at least for those in the US. What I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.dougbelshaw.com/blog/wp-content/uploads/2008/02/appletv.jpg" alt="AppleTV" align="left" />This post will be redundant tomorrow. Apple are scheduled to release v2 of their firmware for the <a href="http://en.wikipedia.org/wiki/Apple_TV">AppleTV</a> that will switch on the ability for the device to directly access the iTunes store. This will mean the ability to purchase music and rent films directly &#8211; at least for those in the US. What I and others have done, however, is made the AppleTV a bit more flexible. A bit like <a href="http://en.wikipedia.org/wiki/Xbmc">Xbox Media Center</a>, in fact.</p>
<p><span id="more-386"></span></p>
<p>First of all, the best places (in my experience) from which to get information about modifying your AppleTV are:</p>
<ul>
<li><a href="http://awkwardtv.org/">AwkwardTV.org</a> (especially the <a href="http://wiki.awkwardtv.org/wiki/Main_Page">wiki</a> and <a href="http://forum.awkwardtv.org">forum</a>)</li>
<li>SmallNetBuilder &#8211; <a href="http://www.smallnetbuilder.com/content/view/30103/82/">Hacking the AppleTV</a></li>
<li>Inverted Reality &#8211; <a href="http://www.invertedreality.com/appletv-hacks">AppleTV Hacks</a></li>
<li>last100 &#8211; <a href="http://www.last100.com/2007/08/08/a-collection-of-appletv-resources/">A collection of AppleTV resources</a></li>
<li>Systm &#8211; <a href="http://revision3.com/systm/appletv/">Episode 7 (Apple TV)</a></li>
</ul>
<p>I&#8217;ll continue adding links as I find them with the tag &#8216;appletv&#8217; to my <a href="http://del.icio.us/dajbelshaw/appletv">del.icio.us account</a>. <img src='http://dougbelshaw.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><img src="http://www.dougbelshaw.com/blog/wp-content/uploads/2008/02/appletv2.jpg" alt="AppleTV 2" /></p>
<p>The process of getting the AwkwardTV software wasn&#8217;t difficult. You simply need to create something called a &#8216;Patchstick&#8217; which is a trivial procedure if you follow the <a href="http://wiki.awkwardtv.org/wiki/Beginners_Guide">Beginners Guide</a> and are running an Intel Mac with OSX 10.4 (Tiger). If you&#8217;re on Windows or OSX 10.5 (Leopard) then you might want to search for a pre-built Patchstick image to download at somewhere like <a href="http://www.youtorrent.com/">YouTorrent</a>.</p>
<p>According to the instructions, you should have some problems if you&#8217;ve got an AppleTV which has v1.1 as the factory default firmware. I didn&#8217;t. All I did was follow the instructions as per v1.0 and it worked fine. <img src='http://dougbelshaw.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p><img src="http://www.dougbelshaw.com/blog/wp-content/uploads/2008/02/awkwardtv.png" alt="AwkwardTV" /></p>
<p>Once the AwkwardTV option appears on the AppleTV menu you&#8217;re pretty much sorted. Or at least you should be. You can enable SSH and AFP access which means the AppleTV is accessible over the network. You can also install software (plugins) that add to the device&#8217;s functionality. The best of these, and the one I was looking forward to installing, is <a href="http://plugins.awkwardtv.org/det.php?recordID=nitoTV">NitoTV</a>. This plugin enables USB and network automounting, plays DivX files etc. via mplayer and supports emulators for games on your AppleTV!</p>
<p>Unfortunately, when I came to the list of plugins available, NitoTV wasn&#8217;t there. Apparently this is because it doesn&#8217;t appear on the list until a couple of weeks after the most recent version has been released. Don&#8217;t ask me why &#8211; I don&#8217;t know! It was manual installation time, and I was going to have to get my hands dirty&#8230;</p>
<p>After staying up until 3.30am (time flies when there&#8217;s a problem to solve) I discovered what I needed to do to get NitoTV onto my AppleTV.</p>
<ol>
<li>Download and extract the <a href="http://nitosoft.com/nitoTVInstaller.zip">NitoTV</a> plugin (usually by double-clicking on it)</li>
<li>Open the <strong>Terminal</strong> application under OSX (open Spotlight and search for it if you don&#8217;t know where it&#8217;s located)</li>
<li>Enter: <em><strong>ssh -1 frontrow@AppleTV.local</strong></em> (the password is <strong>frontrow</strong>)</li>
<li>Enter: <strong><em>sudo mount -o remount,rw/dev/disk0s3/</em></strong></li>
<li>Enter: <strong><em>sudo mount -uw /dev/disk0s3</em></strong></li>
<li>This means that the disk is mounted and we can write to it. You can close Terminal now, although we&#8217;ll need it again later.</li>
<li>Download and install <a href="http://rsug.itd.umich.edu/software/fugu/">Fugu</a>.</li>
<li>Launch Fugu so you can transfer files to your AppleTV. You&#8217;ll need to enter <strong>appletv.local</strong> as the location to which to connect and <strong>frontrow</strong> as the user name. Tick the <strong>Force SSH1</strong> option under Advanced Options. The password is also <strong>frontrow</strong>. Click <a href="http://www.dougbelshaw.com/blog/wp-content/uploads/2008/02/fugu-appletv.png" title="Fugu">here</a> for an image of how it should look. <img src='http://dougbelshaw.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <a href="http://www.dougbelshaw.com/blog/wp-content/uploads/2008/02/fugu-appletv.png" title="Fugu"> </a></li>
<li>Once you&#8217;ve connected, you can simply drag-and-drop files from the local browser (on the left) to your AppleTV (on the right). Transfer the NitoTV folder to the frontrow user&#8217;s home directory (it should automatically take you there, but if not it&#8217;s under <strong>Users/frontrow</strong>)</li>
<li>Open up <strong>Terminal</strong> again. We&#8217;ll need to connect to the AppleTV again via SSH, so enter: <em><strong>ssh -1 frontrow@AppleTV.local</strong></em> (the password is <strong>frontrow</strong>)</li>
<li>Go into the nitoTV folder by entering: <strong>cd nitoTV</strong> (where &#8216;nitoTV&#8217; is the name of the folder with your NitoTV files in it)</li>
<li>Enter: <strong>chmod 755 installme</strong> (to make sure you have permission to run the installation file)</li>
<li>Enter: <strong>sudo ./installme</strong> (to install NitoTV &#8211; the password, when prompted, is <strong>frontrow</strong> again)</li>
<li>Once the installation is finished the last step is to enter: <strong>sudo /System/Library/CoreServices/Finder.app/Contents/PlugIns/nitoTV.frappliance/Contents/Resources/fixPerm</strong> (not sure what this does but apparently it&#8217;s a required step)</li>
</ol>
<p>Once you&#8217;ve finished, restart your AppleTV by holding down the <strong>Menu</strong> and <strong>-</strong> key together for 6 seconds. You will be prompted which language to choose and then will need to choose the &#8216;restart&#8217; option. Once all this has been done, you should see something similar to the following:</p>
<p><img src="http://www.dougbelshaw.com/blog/wp-content/uploads/2008/02/nitotv.jpg" alt="NitoTV" /></p>
<p>The options within NitoTV are fairly straightforward and explain themselves. The only real downside to having a v1.1 AppleTV is that further steps are needed to make it &#8216;see&#8217; network shares. I&#8217;ll leave that for another time as I haven&#8217;t got it figured out myself yet. At least you can transfer files to your AppleTV using Fugu! <img src='http://dougbelshaw.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dougbelshaw.com/blog/2008/02/11/hacking-an-appletv-v11/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

