<?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>NathanDrew.org &#187; Computer</title>
	<atom:link href="http://www.nathandrew.org/category/computer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nathandrew.org</link>
	<description>The random ramblings of the Nath kind...</description>
	<lastBuildDate>Wed, 04 Nov 2009 18:45:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>XMarks and Safari 4</title>
		<link>http://www.nathandrew.org/2009/08/25/xmarks-and-safari-4/</link>
		<comments>http://www.nathandrew.org/2009/08/25/xmarks-and-safari-4/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 18:21:13 +0000</pubDate>
		<dc:creator>Nath</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/nathandrew/nathandrew.org/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />
		<category><![CDATA[Computer]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.nathandrew.org/?p=183</guid>
		<description><![CDATA[XMarks has released a Safari version of their bookmark and password syncrhonization addon. I&#8217;ve been using XMarks since it was previously named FoxMarks as I use more than one laptop for work and home. One thing worth noting as Diver Guy mentions, if you&#8217;re using a Mac then the settings for XMarks won&#8217;t be where [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.xmarks.com/">XMarks</a> has released a Safari version of their bookmark and password syncrhonization addon. I&#8217;ve been using XMarks since it was previously named FoxMarks as I use more than one laptop for work and home.</p>
<p>One thing worth noting as <a title="Safari XMarks tips" href="http://getsatisfaction.com/foxmarks/topics/warning_for_safari_users?utm_medium=widget&amp;utm_source=widget_foxmarks" target="_blank">Diver Guy mentions</a>, if you&#8217;re using a Mac then the settings for XMarks won&#8217;t be where you expect them to be&#8230; Normally they&#8217;d be under the preferences within Safari itself but they&#8217;ve decided to keep the settings outside and place them as a preference pane option within System Preferences.</p>
<p>Simply click on the preference pane and soon enough the wizard will start to take you through the setup of your account.</p>
<p><center><a href="http://www.nathandrew.org/wp-content/uploads/2009/08/XMarks-System-Preferences.png"><img class="size-medium wp-image-184" title="XMarks System Preferences" src="http://www.nathandrew.org/wp-content/uploads/2009/08/XMarks-System-Preferences-300x81.png" alt="XMarks System Preferences" width="300" height="81" align="center" /></a></center></p>
<p>Personally I&#8217;ve been very fickle with browsers &#8211; with the most light weight or fast one usually winning my favour, <a title="Google Chrome" href="http://www.google.co.uk/chrome" target="_blank">Google Chrome</a> won my attention away from <a title="FireFox" href="http://www.mozilla.com/firefox/" target="_blank">FireFox</a> in Windows, and <a title="Safari" href="http://www.apple.com/safari/" target="_blank">Safari&#8217;s</a> speed was the main reason for use on my Mac. Unfortunately there is no Google Chrome version of XMarks yet, and I&#8217;m not sure if it is planned but given that Chrome isn&#8217;t out on the Mac properly yet but the cross browser syncrhonization is a huge plus if you&#8217;re as fickle as me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathandrew.org/2009/08/25/xmarks-and-safari-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix sudoers permissions (without reboot)</title>
		<link>http://www.nathandrew.org/2009/07/11/fix-sudoers-permissions-without-reboot/</link>
		<comments>http://www.nathandrew.org/2009/07/11/fix-sudoers-permissions-without-reboot/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 00:09:14 +0000</pubDate>
		<dc:creator>Nath</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/nathandrew/nathandrew.org/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[sudoers]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.nathandrew.org/?p=176</guid>
		<description><![CDATA[Well, I was trying to link /etc/sudoers in my DropBox to back up the configuration and thought I&#8217;d just change the group permissions so that my user could read it; so I set it to group admin. Bit of a mistake that one as if you&#8217;re a linux guru you&#8217;ll know thats a bad idea [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I was trying to link /etc/sudoers in my <a title="Get DropBox" href="https://www.getdropbox.com/referrals/NTE0NzE5Mjg5">DropBox</a> to back up the configuration and thought I&#8217;d just change the group permissions so that my user could read it; so I set it to group admin. Bit of a mistake that one as if you&#8217;re a linux guru you&#8217;ll know thats a bad idea (evidently I&#8217;m not)&#8230; you&#8217;ll get something like this when you try and sudo:</p>
<pre>$ sudo su -
sudo: /etc/sudoers is owned by gid 121, should be 0</pre>
<p>This is not a problem if you have a root password set up but if you don&#8217;t &#8211; e.g. if you&#8217;re running a Ubuntu like distribution (I&#8217;m using Mint at the moment) then chances are, you don&#8217;t have a root password set up and dont ever log in directly to root. So, cursed with the chicken and egg scenario of needing sudo privileges to fix sudo, you&#8217;re left with booting into a live CD or restarting in recovery mode.</p>
<p>Or are you&#8230;? There are alternatives like using kdsu or kdsudo I think but that means you have to have had them installed already. What if you don&#8217;t? Well, if you&#8217;re an admin user then log in to gnome, run the User Settings program and you can still use the unlock button and then edit the root user and give it a new password!!</p>
<div id="attachment_177" class="wp-caption aligncenter" style="width: 485px"><a href="http://www.nathandrew.org/wp-content/uploads/2009/07/Mint-Linux-User-Settings.png"><img class="size-full wp-image-177" title="Mint Linux User Settings" src="http://www.nathandrew.org/wp-content/uploads/2009/07/Mint-Linux-User-Settings.png" alt="Mint Linux User Settings" width="475" height="344" /></a><p class="wp-caption-text">Mint Linux User Settings</p></div>
<p>Then you can obviously fix the permissions after switching user to root:</p>
<pre>su - root
chown root:root /etc/sudoers</pre>
<p>I&#8217;ve not seen this as a solution in my brief hunt around google so I thought I&#8217;d share it with the net&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathandrew.org/2009/07/11/fix-sudoers-permissions-without-reboot/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wake On LAN over the Internet</title>
		<link>http://www.nathandrew.org/2009/07/05/wake-on-lan-over-the-internet/</link>
		<comments>http://www.nathandrew.org/2009/07/05/wake-on-lan-over-the-internet/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 11:36:08 +0000</pubDate>
		<dc:creator>Nath</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[Wake On LAN]]></category>
		<category><![CDATA[Wake on WAN]]></category>
		<category><![CDATA[WoL]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.nathandrew.org/?p=151</guid>
		<description><![CDATA[Having recently set up a linux box at home to host things like VMWare Server and generally provide access to things I want remotely while working away, I also wanted a way to be able to fire up the box only when I wanted it to be running. So, I figured I&#8217;d set up the [...]]]></description>
			<content:encoded><![CDATA[<p>Having recently set up a linux box at home to host things like VMWare Server and generally provide access to things I want remotely while working away, I also wanted a way to be able to fire up the box only when I wanted it to be running. So, I figured I&#8217;d set up the Wake On LAN feature of the box to be exposed to the internet.</p>
<p>Here&#8217;s how I did it&#8230;</p>
<ol>
<li>Get the code</li>
<li>Set up the router</li>
<li>Send the packet</li>
</ol>
<h1><strong>1) Get the code</strong></h1>
<p><a title="Paul Mutton's Jibble website" href="http://www.jibble.org/">Paul Mutton</a> has put up some <a title="Jibble Wake On LAN" href="http://www.jibble.org/wake-on-lan/" target="_blank">Java code</a> that allows you to send a Wake On LAN packet. Now the great thing about Java, as everyone knows, is that it is cross platform so all you need is Java to be installed to be able to run the code.</p>
<p>Now, if like me you&#8217;re perhaps worried about bots etc on the net that poke around on known internet ports as they crawl the internet, you might want to change the port number that is exposed to the internet so that its a bit more difficult for someone or somebot to work out that it can send a Wake On LAN packet to the address. I know that you need to also specify the MAC address when you send the packet but I just like the extra layer of disguise.</p>
<p>So, open up the WakeOnLan.java file and edit the following line to a port number that you want to use:</p>
<div id="attachment_152" class="wp-caption aligncenter" style="width: 242px"><a href="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-5.png"><img class="size-full wp-image-152" title="WakeOnLAN Port Number Code" src="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-5.png" alt="WakeOnLAN Port Number Code" width="232" height="54" /></a><p class="wp-caption-text">WakeOnLAN Port Number Code</p></div>
<p>There is no change you need to make to the target &#8216;sleepy&#8217; computer &#8211; port 9 is still the port that will be used to wake it up, but we&#8217;ll convert the port 9 to port N that you&#8217;ve chosen to expose to the internet at the router level (See next step).</p>
<p>Compile the code by opening a command line up to the location of the WakeOnLan.java file and type:</p>
<pre>javac WakeOnLan.java</pre>
<p>This should create a WakeOnLan.class file so check that there were no errors and that the file was created.</p>
<h1><strong>2) Set up the router</strong></h1>
<p>Right, now this bit is going to be specific to your router but here&#8217;s what you need to do:</p>
<ol>
<li>Make sure that your &#8216;sleepy&#8217; computer is known to the router and either has the same IP assigned to it every time locally OR that the router is intelligent enough to map the firewall rule to the same device each time, regardless of which IP it dishes out to it.</li>
<li>Set up the firewall rule to map your chosen exposed port to port 9 on the &#8216;sleepy&#8217; computer.</li>
</ol>
<p>For me, I have an O2 Thomson Router (TG585v7) some people on the internet have described that they&#8217;ve had to <a title="Routers supporting Wake On LAN" href="http://www.perculasoft.com/sleepover/routers.html">telnet to the router</a> and set up arpadd, this is necessary to enable the permanent routing of the wake packet  even after the computer has been off for a long time (see below).</p>
<p>Here&#8217;s how I&#8217;ve set it up on my router, if you&#8217;re using a different router you&#8217;ll have to try something similar:</p>
<ol>
<li>Go to the router web page and navigate to Toolbox &gt; Game &amp; Application Sharing.</li>
<li>Click &#8220;Create a new Game or Application&#8221;</li>
<li>Name it as you like, I&#8217;ve called mine WoL
<div id="attachment_154" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-1.png"><img class="size-medium wp-image-154" title="Firewall Rule Name" src="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-1-300x159.png" alt="Firewall Rule Name" width="300" height="159" /></a><p class="wp-caption-text">Firewall Rule Name</p></div>
<p>Be sure to select &#8220;Manual Entry of Port Maps&#8221;</li>
<li>Select UDP and enter in the exposed port number range in the first boxes and the target port of 9.
<div id="attachment_155" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-6.png"><img class="size-medium wp-image-155" title="Port Range" src="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-6-300x70.png" alt="Port Range" width="300" height="70" /></a><p class="wp-caption-text">Port Range</p></div>
<p>I&#8217;ve used 12345 as an example port exposed to the internet here, but use whichever port you&#8217;ve chosen. Click Add when you&#8217;re done.</li>
<li>Now we need to assign this rule to the &#8216;sleepy&#8217; computer&#8230; Click on &#8220;Assign Game or Application&#8221; near the bottom of the page:
<p><div id="attachment_156" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-3.png"><img class="size-medium wp-image-156" title="Assign firewall rule link" src="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-3-300x45.png" alt="Assign firewall rule link" width="300" height="45" /></a><p class="wp-caption-text">Assign firewall rule link</p></div></li>
<li>Assign the newly create rule to the computer you want to wake and click Add
<p><div id="attachment_158" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-4.png"><img class="size-medium wp-image-158" title="Select device" src="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-4-300x20.png" alt="Select device" width="300" height="20" /></a><p class="wp-caption-text">Select device</p></div></li>
<li>You&#8217;ll have to define a static ARP entry on the router, just creating a static IP from within the GUI wasn&#8217;t enough for me &#8211; after a while if the &#8216;sleepy&#8217; computer was off-line then the Wake packet seemed to have no effect. I think this is because of the dynamic nature of the router perhaps marking the device as down and no longer forwarding packets. Anyway, based on a similar issue to <a title="O2 Forum for PS3 routing" href="http://forum.o2.co.uk/viewtopic.php?t=8841&amp;sid=1db1eb4562cf0b588c2835b1e5cb8b4c">here</a>, this is what you need to do:</li>
<pre>telnet o2wirelessbox.lan
Username:SuperUser
(Google for the password)
menu
[ip]
arplist</pre>
<p>(If there is an entry for your device then use arpdelete to remove it first)</p>
<pre>arpadd
Select intf and hit return
Use the down arrow to select LocalNetwork and hit return
Fill out the IP and MAC address also</pre>
<p>When done, type arplist and see that there is an entry with STATIC listed</p>
<p><strong>NOTE</strong>: I had this gotcha when I had to redo this on my router after a hard reset&#8230; You need to have your target machine powered down once you delete the ARP entry, otherwise it gets assigned another one dynamically &#8211; so beware of this if you find that your new entry is still DYNAMIC rather than STATIC.</p>
<p>If you don&#8217;t make sure it is STATIC then the route times out after a while and your WOL packet won&#8217;t get sent on.</p>
<li>Tab to cancel to exit the menu</li>
<li>Type &#8220;saveall&#8221; to persist the configuration after a reboot</li>
<li> Type &#8220;exit&#8221; to log out of the telnet session.</li>
<li>Done!</li>
</ol>
<h1>3) Send the packet</h1>
<p>So hopefully, the router rule is set up with the same port that you&#8217;ve coded into the Java class and are ready to send the packet from the internet to the router.</p>
<p>I&#8217;ve set up a <a title="DynDNS" href="http://www.dyndns.com/" target="_blank">DynDNS</a> address so that I don&#8217;t have to find out the IP address every time. Most modern routers support the ability to update a Dynamic DNS service such as DynDNS, it will mean that you don&#8217;t need to know the IP and it will automatically get updated should your internet connection be reset for any reason.</p>
<p>So, the information you need to be able to send the packet using the &#8216;customised&#8217; code is:</p>
<ol>
<li>The external IP address of the router OR the Dynamic DNS address that you&#8217;ve set up</li>
<li>The MAC address of the network card that&#8217;s listening for a Wake on LAN packet on your &#8216;sleepy&#8217; computer</li>
</ol>
<p>Upload the code you compiled in step 1) to a computer you&#8217;ll be using from outside the local network and execute the code from the command line in the folder you&#8217;ve placed the code. For example:</p>
<pre>java WakeOnLan your.dyndns.address 00:11:22:33:44:AA</pre>
<p>You can swap the dynamic address above for the IP address if you wish.</p>
<p>Next step &#8211; give the box some time to boot up!</p>
<h1>Summary</h1>
<p>If you&#8217;re setting this up at home and have remote access to a computer outside of your local network, it will help you to be able to test and verify that things are working. You can use the external computer to send the Wake on LAN packet from the outside and watch to see if the computer actually wakes up.</p>
<p>I hope this post is useful to anyone trying the same, I&#8217;ve written it up mainly for my own benefit to remember how to do it next time around but let me know in the comments if you&#8217;ve found a better way for your set up. I personally like the Java code approach as I can run it anywhere and don&#8217;t have to install a program to the external computer that&#8217;s doing the waking; I use a variety of computers with differing operating systems so I like the light-weight approach <img src='http://www.nathandrew.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathandrew.org/2009/07/05/wake-on-lan-over-the-internet/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Firefox 3.5 Addons</title>
		<link>http://www.nathandrew.org/2009/07/01/firefox-3-5-addons/</link>
		<comments>http://www.nathandrew.org/2009/07/01/firefox-3-5-addons/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 20:52:54 +0000</pubDate>
		<dc:creator>Nath</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/nathandrew/nathandrew.org/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[safari]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.nathandrew.org/?p=147</guid>
		<description><![CDATA[Anyone else see this odd one when upgrading from Firefox 3.0 to 3.5? Everything went smoothly despite the description of 4gb addons and they were all updated but thought this was an odd one&#8230; My first impression of Firefox 3.5 is that it is still a bloated beast when compared to Google Chrome or Safari [...]]]></description>
			<content:encoded><![CDATA[<p><center><div id="attachment_146" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-2.png"><img class="size-medium wp-image-146 " title="Firefox 3.5 4gb addons" src="http://www.nathandrew.org/wp-content/uploads/2009/07/Picture-2-300x223.png" alt="FIrefox 3.5 4gb addons" width="300" height="223" /></a><p class="wp-caption-text">Firefox 3.5 4gb addons</p></div></center></p>
<p>Anyone else see this odd one when upgrading from <a title="Get Firefox" href="http://www.getfirefox.com">Firefox</a> 3.0 to 3.5? Everything went smoothly despite the description of 4gb addons and they were all updated but thought this was an odd one&#8230;</p>
<p>My first impression of Firefox 3.5 is that it is still a bloated beast when compared to <a title="Google Chrome" href="http://www.google.co.uk/chrome">Google Chrome</a> or <a title="Safari" href="http://www.apple.com/safari/">Safari 4</a>. The load times for the application itself seems sluggish still, Chrome opens in an instant and I think Safari is a mid ground between the two. It&#8217;s all a bit speculative as I&#8217;ve not done a proper test but they&#8217;re my impressions anyway.</p>
<p>I&#8217;ve become very fickle with browsers and use whatever suits my mood but when it comes to work I use Chrome and Firefox if I have to because of some compatibility issues on a few sites for Chrome. For home use I tend to use Safari 4 at the moment but I have Firefox 3.5 and even <a title="Flock - the social browser" href="http://www.flock.com/">Flock</a> installed, though I don&#8217;t even remember the last time that was fired up!</p>
<p>I look forward to when <a title="XMarks" href="http://www.xmarks.com/">XMarks</a> is available for Safari 4 as it will help maintain my favourites across systems and browsers, its a shame Chrome isn&#8217;t even on the list yet though!</p>
<p>Up until now, you might notice I&#8217;ve left out a certain (pointless) browser out of the picture but I feel I have to mention it purely because of the rediculously comical PR stunt as shown at <a title="Microsoft's Browser Comparison Chart Offends Anyone Who's Ever Used Another Browser" href="http://lifehacker.com/5296936/microsofts-browser-comparison-chart-offends-anyone-whos-ever-used-another-browser">lifehacker</a>! Hilariously they believe that IE8 is more secure, private and reliable than Firefox or Chrome, all I can say is HAHAHA Microsoft are branching out as global comedians. Thanks for the laughs lol</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathandrew.org/2009/07/01/firefox-3-5-addons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 4</title>
		<link>http://www.nathandrew.org/2009/06/09/safari-4/</link>
		<comments>http://www.nathandrew.org/2009/06/09/safari-4/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 22:13:38 +0000</pubDate>
		<dc:creator>Nath</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/nathandrew/nathandrew.org/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[4]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[safari]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.nathandrew.org/?p=143</guid>
		<description><![CDATA[If like me, you use Safari and had the Safari 4 beta installed before the actual release came out, you may have found that its a bit slow after the update. Well, I remembered that the beta stored a ridiculous amount of cache for the top sites previews and thought, hrm I wonder if thats [...]]]></description>
			<content:encoded><![CDATA[<p>If like me, you use Safari and had the Safari 4 beta installed before the actual release came out, you may have found that its a bit slow after the update.</p>
<p>Well, I remembered that the beta stored a ridiculous amount of cache for the top sites previews and thought, hrm I wonder if thats the cause&#8230; turns out it was (at least for me anyway!). You can clear out the cache in the official release by going to the Safari menu &gt; Reset Safari and selecting the options below.</p>
<div id="attachment_142" class="wp-caption aligncenter" style="width: 479px"><img class="size-full wp-image-142" title="Safari 4 Reset" src="http://www.nathandrew.org/wp-content/uploads/2009/06/picture-2.png" alt="Safari 4 Reset Top Sites and Clear the preview cache" width="469" height="414" /><p class="wp-caption-text">Safari 4 Reset Top Sites and Clear the preview cache</p></div>
<p>Of course you can select more if you want to.</p>
<p><a title="Facebook" href="http://www.facebook.com" target="_blank">Facebook</a> loaded much faster, as did <a title="iGoogle" href="http://www.google.co.uk/ig?hl=en" target="_blank">iGoogle</a>. Not sure how efficient the public release will be at maintaining a tidy web page preview cache but the above steps not only made the pages load faster, it stopped the errors I was getting for some reason &#8211; I can only guess that Safari was having a hard time trawling through the cache and gave up the ghost and pretended it didn&#8217;t have a connection by timing out&#8230; that&#8217;s just my guess obviously.</p>
<p>Anyway hope this helps anyone else who has a similar problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathandrew.org/2009/06/09/safari-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xubuntu Install Fix</title>
		<link>http://www.nathandrew.org/2008/07/18/xubuntu-install-fix/</link>
		<comments>http://www.nathandrew.org/2008/07/18/xubuntu-install-fix/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 16:30:09 +0000</pubDate>
		<dc:creator>Nath</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.nathandrew.org/?p=99</guid>
		<description><![CDATA[Having nearly given up on fixing the hardware issues on my old laptop to get it to have both the wireless AND the keyboard working at any one time (some sort of ACPI issue ) I decided to try and install xubuntu a really old box. By old I mean AMD 475Mhz old and when [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.xubuntu.org/"><img class="alignright size-full wp-image-100" style="background: #CCCCCC; float: right; border: 1pt;" title="xubuntulogo" src="http://www.nathandrew.org/wp-content/uploads/2008/07/xubuntulogo.png" alt="" width="123" height="112" /></a>Having nearly given up on fixing the hardware issues on my old laptop to get it to have both the wireless AND the keyboard working at any one time (some sort of ACPI issue <img src='http://www.nathandrew.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ) I decided to try and install xubuntu a really old box.</p>
<p>By old I mean AMD 475Mhz old and when it eventually loaded up the installer it got so far as partitioning the disks and then failed! I thought it must be yet another hardware issue so gave up for a while. I tried again and this time booted into the live cd and tried to partition it manually &#8211; it failed with the following:</p>
<p>/dev/hda1 is mounted; will not make a filesystem here!</p>
<p>So, did a bit of digging about and it seems like its a long standing issue in some installations of Ubuntu based installs, but there is a fix that worked for me and to save anyone else that might be looking to fix this error I&#8217;ll post it here so you dont have to sift through forums or bug reports to find it:</p>
<p>From the bug report <a title="Colin Watson's suggested fix" href="https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/99908/comments/4" target="_blank">here</a>:</p>
<p>vi /lib/partman/commit.d/30parted<br />
Put &#8216;update-dev&#8217; right after close_dialog.</p>
<p><code>#!/bin/sh</code></p>
<p><code>. /lib/partman/definitions.sh</code><br />
<code>for dev in $DEVICES/*; do</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;[ -d "$dev" ] || continue</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;cd $dev</code></p>
<p><code>&nbsp;&nbsp;&nbsp;&nbsp;open_dialog IS_CHANGED</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;read_line is_changed</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;close_dialog</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;[ "$is_changed" = yes ] || continue</code></p>
<p><code>&nbsp;&nbsp;&nbsp;&nbsp;disable_sap "$dev"</code></p>
<p><code>&nbsp;&nbsp;&nbsp;&nbsp;open_dialog COMMIT</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;close_dialog</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #ff0000;"><strong>update-dev</strong></span></code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;done</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathandrew.org/2008/07/18/xubuntu-install-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avahi, Netatalk and Bonjour</title>
		<link>http://www.nathandrew.org/2008/07/10/avahi-netatalk-and-bonjour/</link>
		<comments>http://www.nathandrew.org/2008/07/10/avahi-netatalk-and-bonjour/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 12:09:51 +0000</pubDate>
		<dc:creator>Nath</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[avahi]]></category>
		<category><![CDATA[bonjour]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[netatalk]]></category>
		<category><![CDATA[os x]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.nathandrew.org/?p=96</guid>
		<description><![CDATA[Ever wanted to use the simplicity of Bonjour on your home network but don&#8217;t have a zillion squid spare to spend on an entirely mac based collection of computers? Well if you&#8217;re like me and tend to end up fixing up previously used computers and making them useful again then you&#8217;d probably either leave Windows [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" style="float: right;" src="http://www.nathandrew.org/img/hpdv2054ea.jpg" alt="dv2054ea (Modified From HP Website)" width="154" height="126" />Ever wanted to use the simplicity of Bonjour on your home network but don&#8217;t have a zillion squid spare to spend on an entirely mac based collection of computers? Well if you&#8217;re like me and tend to end up fixing up previously used computers and making them useful again then you&#8217;d probably either leave Windows on them (yeah right) or stick a distribution of Linux on to test it out.</p>
<p>Thanks to my friend <a title="Spode's Abode" href="http://www.spodesabode.com/">Spode</a> I tried out <a title="Mint Linux" href="http://www.linuxmint.com/">Mint Linux</a> on my old Laptop (<a title="HP dv2054ea" href="http://h10025.www1.hp.com/ewfrf/wc/product?product=3223508&amp;lc=en&amp;cc=au&amp;dlc=en&amp;lang=en&amp;cc=au">HP dv2054ea</a>) and started wondering how well I could integrate it with my Mac.</p>
<p>Mac&#8217;s have a nice discovery service called Bonjour which will look for devices that are advertised using Bonjour. There is an open source version called Avahi &#8211; this will allow you to use Linux to advertise services that you want to share from your Linux box &#8211; such as afp based file share (where Netatalk comes in).</p>
<p>Now this is where you need to be careful &#8211; Mac&#8217;s will require encryption to let you connect up to any file shares and so you need to do a bit of compiling with ssl enabled of the netatalk package. There is a <a title="Mac &lt;-&gt; Linux" href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume">blog post</a> by someone who&#8217;s set up his share&#8217;s so that you can even use your linux box as a remote time machine (similar to Apple&#8217;s time capsule).</p>
<p>Since I already have a time capsule, I didn&#8217;t need to set up all of the things suggested there but most of it applied to what I needed and all in one page!</p>
<p style="text-align: center;"><img src="http://www.nathandrew.org/img/avahiMac.png" alt="Minty's Bonjour Services in Finder" width="363" height="240" /></p>
<p style="text-align: left;">The &#8220;ndrew&#8217;s rem&#8230;&#8221; below minty is the VNC connection advertised from the avahi daemon running on &#8216;minty&#8217; (the Linux Laptop). I&#8217;m pretty sure I didn&#8217;t have to define that in avahi, it just advertised it.</p>
<p style="text-align: left;">So, if you want to set this up, go follow the relevant parts on the article at <a title="Kremalicious.com article" href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume">kremalicious.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathandrew.org/2008/07/10/avahi-netatalk-and-bonjour/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GlowWorm is a Leopard Killer</title>
		<link>http://www.nathandrew.org/2008/06/26/glowworm-is-a-leopard-killer/</link>
		<comments>http://www.nathandrew.org/2008/06/26/glowworm-is-a-leopard-killer/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 21:03:30 +0000</pubDate>
		<dc:creator>Nath</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[glow worm]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.nathandrew.org/?p=95</guid>
		<description><![CDATA[Right, if any of you own a Mac with Leopard on it&#8230; AVOID GLOWFORM FIREWALL LIKE THE PLAGUE. Yes its my fault for trying it out without reading other people&#8217;s comments on http://osx.iusethis.com before installing it but in my curiosity I just went ahead and tried it. Big mistake, apple discussion forums and comments on [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" style="float: right;" src="http://glowworm.us/img/GlowWormLogoStacked.jpg" alt="" width="114" height="83" />Right, if any of you own a Mac with Leopard on it&#8230; <span style="color: #ff0000;"><strong>AVOID GLOWFORM FIREWALL LIKE THE PLAGUE</strong></span>. Yes its my fault for trying it out without reading other people&#8217;s comments on <a title="IUseThis.com" href="http://osx.iusethis.com ">http://osx.iusethis.com</a> before installing it but in my curiosity I just went ahead and tried it.</p>
<p>Big mistake, apple discussion forums and comments on iusethis all say that it breaks Leopard. It doesn&#8217;t just temporarily break things, in my case I installed it, ran it, it crashed, then every other program running crashed, then i couldn&#8217;t log out or restart! Only thing left was to hold the power button and try and restart and uninstall.</p>
<p>Well that didn&#8217;t work because on boot up, you can&#8217;t get past the blue screen before the login window. Most people with this problem have managed to <a title="Mac OS X startup keyboard shortcuts" href="http://docs.info.apple.com/article.html?path=Mac/10.5/en/cdb_strtup.html">safe boot</a> their mac and <a title="How to fix if safe boot works for you" href="http://www.techarticles.zeromu.net/applemac/fix-the-glowworm-blue-screen-of-deathno-bootno-user-login-window/">delete</a> the <a title="IUseThis.com - Read the comments!" href="http://osx.iusethis.com/app/glowwormfw">application files</a>. Just my luck that I can&#8217;t even get that far!</p>
<p>So yes, avoid this software completely! More fool me for thinking that I could need more than the OS X built in firewall. Thankfully I have everything backed up on my time machine so I&#8217;ll just wipe and restore when I dig up the Leopard install DVD.</p>
<p>I almost don&#8217;t want to post the icon of this page but I think it deserves to be shown so you know to associate this logo with MacMurder&#8230;</p>
<p><em><strong><span style="color: #ff0000;">Update:</span></strong> I called up applecare who told me of another little keyboard shortcut for startup &#8211; the <strong>ALT</strong> a.k.a <strong>Option </strong>key. This asked for my firmware password then allowed me to select the Leopard install disk. From there you can select Utilities &gt; Restore System From Backup and use your Time Machine to restore the system completely.</em></p>
<p><em>It&#8217;s going to take a while (3 and half hours) but at least it will be restored! No idea why on my particular issue, none of the other startup key commands would work.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathandrew.org/2008/06/26/glowworm-is-a-leopard-killer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protect yourself in open WiFi Hotspots</title>
		<link>http://www.nathandrew.org/2008/05/27/protect-yourself-in-open-wifi-hotspots/</link>
		<comments>http://www.nathandrew.org/2008/05/27/protect-yourself-in-open-wifi-hotspots/#comments</comments>
		<pubDate>Tue, 27 May 2008 22:59:23 +0000</pubDate>
		<dc:creator>Nath</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wifi]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.nathandrew.org/?p=93</guid>
		<description><![CDATA[OK so call me paranoid but I don&#8217;t trust much to do with the internet and am paranoid about things like using unencrypted wireless networks, even if I&#8217;m not doing internet banking on a public network. Since I&#8217;m staying in a hotel with just such a network I wanted to see if there was a [...]]]></description>
			<content:encoded><![CDATA[<p>OK so call me paranoid but I don&#8217;t trust much to do with the internet and am paranoid about things like using unencrypted wireless networks, even if I&#8217;m not doing internet banking on a public network. Since I&#8217;m staying in a hotel with just such a network I wanted to see if there was a way to protect my connection&#8230;</p>
<p>So I googled for <a title="Google Search - free vpn" href="http://www.google.co.uk/search?q=free%20vpn">free vpn</a> and somewhere down the list <a title="Bill Drew's post" href="http://wirelesslibraries.blogspot.com/2007/01/free-vpn-to-help-secure-your-laptop.html">this blog</a> caught my eye and had a link to <a title="Hotspot Shield" href="http://www.anchorfree.com/downloads/hotspot-shield/">Anchor Hotspot</a> (funnily enough his last name is Drew too &#8211; Bill Drew). There are versions for Windows and Mac too and basically it connects you to a free VPN.</p>
<p><img class="alignleft" style="float: left; margin-right: 5px;" src="http://abcnews.anchorfree.com/assets/images/anchor-free-logo.jpg" alt="Anchor Free" width="221" height="60" /></p>
<p>It provides a means to encrypt the data between you and any other people listening out on the unencrypted network. It does say that it encrypts the data between you and the wireless router but I&#8217;m not sure if it goes further into an external network!</p>
<p>Either way it protects users from listening to exactly what you&#8217;re doing on unencrypted pages if they&#8217;re sitting in the same cafe or hotel.</p>
<p style="padding-left: 30px;"><em><span style="color: #ff0000;">Update</span>: It appears to have stopped working for me &#8211; both on the public wifi I was using and also trying it out on my local home network. This product isn&#8217;t quite refined enough for reliable use, leaving me to look into setting up my own VPN as an alternative for safe public wifi use on a Mac</em>&#8230;</p>
<p style="padding-left: 30px;"><em><span style="color: #ff0000;">Update 2</span>: It would seem that theres a 3Gb a month limit &#8211; still the software doesn&#8217;t tell you this when it fails to work &#8211; it just seems its broken.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathandrew.org/2008/05/27/protect-yourself-in-open-wifi-hotspots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bullet Proof computer?</title>
		<link>http://www.nathandrew.org/2006/04/23/bullet-proof-computer/</link>
		<comments>http://www.nathandrew.org/2006/04/23/bullet-proof-computer/#comments</comments>
		<pubDate>Sun, 23 Apr 2006 00:16:54 +0000</pubDate>
		<dc:creator>Nath</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[hp]]></category>

	<!-- AutoMeta Start -->
	<category>proof</category>
	<category>bullet</category>
	<category>computer</category>
	<category>straight</category>
	<category>308</category>
	<category>calibre</category>
	<category>testing</category>
	<category>fish</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.nathandrew.org/2006/04/23/bullet-proof-computer/</guid>
		<description><![CDATA[Woah check out the bullet proof computer HP have even released a video of it survivine a 0.308 calibre round that goes straight through it and into a fish tank the other side! Now THATS extreme testing&#8230;]]></description>
			<content:encoded><![CDATA[<p>Woah check out the <a href="http://www.engadget.com/2006/04/21/hps-storageworks-xp12000-is-bulletproof-they-checked/">bullet proof computer</a> HP have even released a video of it survivine a 0.308 calibre round that goes straight through it and into a fish tank the other side!</p>
<p>Now THATS extreme testing&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathandrew.org/2006/04/23/bullet-proof-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
