<?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>Chris Rodgers &#187; chris</title>
	<atom:link href="http://rodgers.org.uk/archives/author/admin/feed" rel="self" type="application/rss+xml" />
	<link>http://rodgers.org.uk</link>
	<description></description>
	<lastBuildDate>Wed, 03 Feb 2010 20:33:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows 7 Activation Process &#8211; What a joke!</title>
		<link>http://rodgers.org.uk/archives/102</link>
		<comments>http://rodgers.org.uk/archives/102#comments</comments>
		<pubDate>Wed, 03 Feb 2010 20:33:18 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://rodgers.org.uk/?p=102</guid>
		<description><![CDATA[Windows 7 is available for purchase at a discount from the Microsoft student and teacher &#8220;Ultimate Steal&#8221; website. This sounds great. Now to upgrade from 32-bit Vista to 64-bit Windows 7 you need to do a clean install. So far so good.
Unfortunately, Windows 7 will then tell you that
The following failure occurred while trying to [...]]]></description>
			<content:encoded><![CDATA[<p>Windows 7 is available for purchase at a discount from the Microsoft student and teacher &#8220;Ultimate Steal&#8221; website. This sounds great. Now to upgrade from 32-bit Vista to 64-bit Windows 7 you need to do a clean install. So far so good.</p>
<p>Unfortunately, Windows 7 will then tell you that</p>
<blockquote><p>The following failure occurred while trying to use the product key:<br />
Code:<br />
0xC004F061</p>
<p>Description:<br />
The Software Licensing Service determined that this specified product<br />
key can only be used for upgrading, not clean installations.</p></blockquote>
<p><strong>Yikes!</strong></p>
<p>Even though this is an upgrade bought straight from Microsoft themselves, it doesn&#8217;t play ball&#8230; ;-(</p>
<p>The telephone activation people don&#8217;t know what to do but thank goodness, there&#8217;s a &#8220;simple&#8221; solution on the Microsoft website: <a href="http://social.answers.microsoft.com/Forums/en-US/w7install/thread/017fc495-95f6-4fa7-9c96-ebd5875d74e8" target="_blank">http://social.answers.microsoft.com/Forums/en-US/w7install/thread/017fc495-95f6-4fa7-9c96-ebd5875d74e8</a></p>
<blockquote><p>Digital River responded with instructions on how to correct problem.</p>
<p>Open regedit.exe with Start Menu Search and navigate to:<br />
HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Setup/OOBE/</p>
<p>Change MediaBootInstall from &#8220;1&#8243; to &#8220;0&#8243;.</p>
<p>Close RegEdit.</p>
<p>Start Menu on the Command Line utility. Right-click this shortcut and choose &#8220;Run as administrator.&#8221;<br />
Click Yes to the UAC prompt.</p>
<p>In the command line window, type: slmgr /rearm press enter</p>
<p>wait for the &#8220;Command completed successfully&#8221; dialog.</p>
<p>Then, close the command line window and reboot.<br />
After Windows 7 reboots, Right Click Computer select Properties select change product Key.<br />
If the Key does not work now please contact Microsoft technical support at:</p>
<p>Web: http://support.microsoft.com/common/international.aspx<br />
Phone: 1-800-MICROSOFT (1-800-642-7676)<br />
Wow Digital River stepped up to fix my problem.</p></blockquote>
<p>It seems a mighty kludge!!</p>
]]></content:encoded>
			<wfw:commentRss>http://rodgers.org.uk/archives/102/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Process substitution in bash</title>
		<link>http://rodgers.org.uk/archives/99</link>
		<comments>http://rodgers.org.uk/archives/99#comments</comments>
		<pubDate>Mon, 04 Jan 2010 22:33:45 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://rodgers.org.uk/archives/99</guid>
		<description><![CDATA[There&#8217;s a very clever syntax in bash (and several other unix shells) that allows the output / input for subcommands to be hooked together.
http://tldp.org/LDP/abs/html/process-sub.html
This can be used to secure mysql passwords in scripts. e.g.
mysql --defaults-file=]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a very clever syntax in bash (and several other unix shells) that allows the output / input for subcommands to be hooked together.</p>
<p><a href="http://tldp.org/LDP/abs/html/process-sub.html">http://tldp.org/LDP/abs/html/process-sub.html</a></p>
<p>This can be used to secure mysql passwords in scripts. e.g.</p>
<p><code>mysql --defaults-file=<(<br />
printf '[client]\npassword=%s\n' xxxPASSWORDHERExxx<br />
) -u xxxUSERNAMEHERExxx</code></p>
]]></content:encoded>
			<wfw:commentRss>http://rodgers.org.uk/archives/99/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Escape single quotes in bash</title>
		<link>http://rodgers.org.uk/archives/80</link>
		<comments>http://rodgers.org.uk/archives/80#comments</comments>
		<pubDate>Mon, 14 Sep 2009 20:52:56 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://rodgers.org.uk/?p=80</guid>
		<description><![CDATA[Some helpful instructions on Stuart Colville&#8217;s blog explain how to do this.
To produce e.g. abc&#039;def, you need to enter
$echo &#039;abc&#039;\&#039;&#039;def&#039;
The &#039;\&#039;&#039; first closes the single quotes, then puts a literal (escaped) &#039; and then opens single quotes again.
]]></description>
			<content:encoded><![CDATA[<p>Some helpful instructions on <a href="http://muffinresearch.co.uk/archives/2007/01/30/bash-single-quotes-inside-of-single-quoted-strings/">Stuart Colville&#8217;s blog</a> explain how to do this.</p>
<p>To produce e.g. abc&#039;def, you need to enter</p>
<p>$echo &#039;abc&#039;\&#039;&#039;def&#039;</p>
<p>The &#039;\&#039;&#039; first closes the single quotes, then puts a literal (escaped) &#039; and then opens single quotes again.</p>
]]></content:encoded>
			<wfw:commentRss>http://rodgers.org.uk/archives/80/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nokia E63 Wireless access to Eduroam in Oxford</title>
		<link>http://rodgers.org.uk/archives/77</link>
		<comments>http://rodgers.org.uk/archives/77#comments</comments>
		<pubDate>Tue, 01 Sep 2009 10:37:37 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://rodgers.org.uk/?p=77</guid>
		<description><![CDATA[I found a good set of instructions for connecting to the Eduroam Wifi service from the website of the University of Valencia. These work for me in Oxford.
http://www.uv.es/siuv/cat/zxarxa/wifi/Manual_Eduroam_Symbian_S60_v3.pdf (Local mirror).
]]></description>
			<content:encoded><![CDATA[<p>I found a good set of instructions for connecting to the Eduroam Wifi service from the website of the University of Valencia. These work for me in Oxford.</p>
<p><a href="http://www.uv.es/siuv/cat/zxarxa/wifi/Manual_Eduroam_Symbian_S60_v3.pdf">http://www.uv.es/siuv/cat/zxarxa/wifi/Manual_Eduroam_Symbian_S60_v3.pdf</a> (<a href="/static/Eduroam_Nokia.pdf">Local mirror</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://rodgers.org.uk/archives/77/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable annoying password prompts in Word 2007</title>
		<link>http://rodgers.org.uk/archives/69</link>
		<comments>http://rodgers.org.uk/archives/69#comments</comments>
		<pubDate>Fri, 13 Mar 2009 13:32:39 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://rodgers.org.uk/?p=69</guid>
		<description><![CDATA[This Microsoft support article explains how to prevent annoying password prompts that appear when downloading documents from password protected websites using Word 2007.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://support.microsoft.com/kb/955375/en-us">This Microsoft support article</a> explains how to prevent annoying password prompts that appear when downloading documents from password protected websites using Word 2007.</p>
]]></content:encoded>
			<wfw:commentRss>http://rodgers.org.uk/archives/69/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netgear WGT624 v4 router</title>
		<link>http://rodgers.org.uk/archives/64</link>
		<comments>http://rodgers.org.uk/archives/64#comments</comments>
		<pubDate>Thu, 26 Feb 2009 08:55:48 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://rodgers.org.uk/?p=64</guid>
		<description><![CDATA[It is possible to gain root access on this router.
You need to follow the telnetEnable procedure on the web, using the username/password Gearguy/Geardog as for the previous routers.
Then, you telnet to port 23 and will get a &#8220;login:&#8221; prompt. At that prompt you can log in with &#8220;root&#8221; and &#8220;5up&#8221;.
Once at the Linux shell, the [...]]]></description>
			<content:encoded><![CDATA[<p>It is possible to gain root access on this router.</p>
<p>You need to follow the <a href="http://wiki.openwrt.org/OpenWrtDocs/Hardware/Netgear/TelnetConsole">telnetEnable procedure on the web</a>, using the username/password Gearguy/Geardog as for the previous routers.</p>
<p>Then, you telnet to port 23 and will get a &#8220;login:&#8221; prompt. At that prompt you can log in with &#8220;root&#8221; and &#8220;5up&#8221;.</p>
<p>Once at the Linux shell, the following commands are available:</p>
<p>There&#8217;s also a command &#8220;cli&#8221; with username &#8220;ambit&#8221; and password &#8220;ambitdebug&#8221; for configuring NAT and the Firewall.</p>
<p>You can download some useful utilities that I compiled for the MIPS processor on this box from</p>
<p><a href="http://users.fmrib.ox.ac.uk/~crodgers/netgear/">http://users.fmrib.ox.ac.uk/~crodgers/netgear/</a></p>
<p>and others from</p>
<p><a href="http://rodgers.org.uk/netgear/">http://rodgers.org.uk/netgear/</a></p>
<p>These include &#8220;busybox&#8221; with many commands and &#8220;dropbear&#8221; which provides<br />
an SSH server and client.</p>
<p>Netgear have changed the software running on this router considerably since v3, so you have to figure things out yourself and cannot rely on old step-by-step instructions on the web.</p>
<p>There is a command &#8220;cli&#8221; which gets you into an interface similar to that for the old v3 routers. That command will prompt for an additional username &#8220;ambit&#8221; and password &#8220;ambitdebug&#8221;. Run it by typing &#8220;cli&#8221; and pressing enter at the root prompt.</p>
<p><a href="http://physchem.ox.ac.uk/~rodgers/netgear/internal_photos/">Photographs of the inside of this router are available here</a>.</p>
<p>If anyone discovers how to flash this router with OpenWRT or if they manage to open arbitrary ports to the WAN port in the firewall, please do let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://rodgers.org.uk/archives/64/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Venison Toad-in-the-Hole</title>
		<link>http://rodgers.org.uk/archives/56</link>
		<comments>http://rodgers.org.uk/archives/56#comments</comments>
		<pubDate>Tue, 28 Oct 2008 20:50:43 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://rodgers.org.uk/?p=56</guid>
		<description><![CDATA[Serves 2
Ingredients:
6 Sainsbury&#8217;s Taste-the-difference venison sausages
6oz plain flour
2 large eggs
pinch of salt &#38; pepper
6 fl oz milk
4 fl oz water
Instructions:
1. Place sausages in a pyrex / ceramic dish about 15 x 25cm and 3cm deep.
2. Bake at 220 deg C for 20 min.
Meanwhile, make batter by
3. Mix together flour, salt &#38; pepper in a large [...]]]></description>
			<content:encoded><![CDATA[<p>Serves 2</p>
<h3>Ingredients:</h3>
<p>6 Sainsbury&#8217;s Taste-the-difference venison sausages<br />
6oz plain flour<br />
2 large eggs<br />
pinch of salt &amp; pepper<br />
6 fl oz milk<br />
4 fl oz water</p>
<h3>Instructions:</h3>
<p>1. Place sausages in a pyrex / ceramic dish about 15 x 25cm and 3cm deep.<br />
2. Bake at 220 deg C for 20 min.</p>
<p>Meanwhile, make batter by<br />
3. Mix together flour, salt &amp; pepper in a large bowl.<br />
4. Make a well in the centre.<br />
5. Place in the eggs.<br />
6. Begin to whisk on high speed with an electric mixer, the flour will begin to incorporate into the edge of the well.<br />
7. Slowly add in the milk / water whilst mixing.</p>
<p>8. Remove sausages from over. Drain off juice and keep for gravy.<br />
9. Pour the batter over the hot sausages and immediately return to the oven for 20-25 min to complete cooking.</p>
<p>10. Serve with green vegetables and gravy (beef gravy granules + water + juice from step 8).</p>
]]></content:encoded>
			<wfw:commentRss>http://rodgers.org.uk/archives/56/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restore HP iPAQ</title>
		<link>http://rodgers.org.uk/archives/49</link>
		<comments>http://rodgers.org.uk/archives/49#comments</comments>
		<pubDate>Thu, 11 Sep 2008 09:26:19 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://rodgers.org.uk/?p=49</guid>
		<description><![CDATA[My HP iPAQ ran out of battery this morning. When I started it up, the memory was blank. When I tried to restore my files using Windows Mobile Device Center under Windows Vista, I got an annoying message saying that &#8220;Restore cannot be completed successfully. The selected backup file was created from a different type [...]]]></description>
			<content:encoded><![CDATA[<p>My HP iPAQ ran out of battery this morning. When I started it up, the memory was blank. When I tried to restore my files using Windows Mobile Device Center under Windows Vista, I got an annoying message saying that &#8220;Restore cannot be completed successfully. The selected backup file was created from a different type of mobile device.&#8221;</p>
<p>Aargh!</p>
<p>Fortunately, the kind people at <a href="http://www.filesaveas.com/pocketpcactivesync.html">http://www.filesaveas.com/pocketpcactivesync.html</a> had the solution:</p>
<blockquote><p>You&#8217;ll see this under a couple of circumstances: either you&#8217;ve recently done a software upgrade (a new release of the operating system / ROM upgrade) and are trying to restore a backup that applies to the older software operating system. More commonly, you&#8217;ll see this after having reset your machine, and the device is set to a different region to the region in use when it was backed up (it defaults to US English). Go to &#8216;Settings > System > Regional settings&#8217;, and switch to the appropriate language. </p></blockquote>
<p>In my case, I had to set the language to English (UK) and then restore ran smoothly.</p>
<p>I hope this helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://rodgers.org.uk/archives/49/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hacking the Netgear WGT624 v4 router</title>
		<link>http://rodgers.org.uk/archives/45</link>
		<comments>http://rodgers.org.uk/archives/45#comments</comments>
		<pubDate>Sun, 31 Aug 2008 20:39:35 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://rodgers.org.uk/?p=45</guid>
		<description><![CDATA[I own a Netgear WGT624 v4 router. This router runs a MIPS embedded version of Linux and I was curious whether it is possible to get shell access.
So far, I have failed, but in case anyone else is interested, I did find these things:

There is a useful webpage with details about a similar router at http://www.castalie.org/projects/DM111P.html
The [...]]]></description>
			<content:encoded><![CDATA[<p><span>I own a Netgear WGT624 v4 router. This router runs a MIPS embedded version of Linux and I was curious whether it is possible to get shell access.</span></p>
<p><span>So far, I have failed, but in case anyone else is interested, I did find these things:</span></p>
<ul>
<li>There is a useful webpage with details about a similar router at <a href="http://www.castalie.org/projects/DM111P.html">http://www.castalie.org/projects/DM111P.html</a></li>
<li>The latest firmware image is available from Netgear at <a href="ftp://downloads.netgear.com/files/WGT624v4-V2.0.13_2.0.14.chk">ftp://downloads.netgear.com/files/WGT624v4-V2.0.13_2.0.14.chk</a>.</li>
<li>
<h3>Root filesystem</h3>
<p>Using Fedora Core 9, it is possible to mount the root filesystem from this image.<br />
dd if=WGT624v4-V2.0.13_2.0.14.chk of=rootfs.image bs=1 skip=58<br />
mount rootfs.image /mnt/WGT624_rootfs -o loop</p>
<p><a href="http://physchem.ox.ac.uk/~rodgers/netgear/WGT624v4_rootfs.tgz">Here is a tarball</a> containing these files from the root filesystem.</p>
<p><span style="color: #000000;">(It will be mounted using the squashfs LZMA filesystem.)</span></li>
<li>
<h3>Telnet access</h3>
<p>The router has a back door from the local LAN. A telnet server can be activated using the <a title="telnetenable" href="http://www.seattlewireless.net/telnetenable.c">telnetenable</a> utility.</p>
<p>Unfortunately, I do not know the username and password to log on to the router with telnet.</li>
<li>
<h3>Root password</h3>
<p>There is a file in the above image called &#8220;shadow&#8221;, this holds an entry for the router root password:</p>
<p>root:$1$$zdlNHiCDxYDfeF4MZL.H3/:10933:0:99999:7:::</p>
<p>This is a FreeBSD MD5 password hash ($1$$zdlNHiCDxYDfeF4MZL.H3/) i.e. the MD5 checksum of the password is <span style="font-size: x-small; font-family: Courier New;">7f1a6793eb3c3df9ac6a6460e5054c45.</span></p>
<p>I have not yet been able to determine the password from this hash.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://rodgers.org.uk/archives/45/feed</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>Fix flat screen monitor with pencil eraser</title>
		<link>http://rodgers.org.uk/archives/43</link>
		<comments>http://rodgers.org.uk/archives/43#comments</comments>
		<pubDate>Sun, 17 Aug 2008 16:57:03 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://rodgers.org.uk/?p=43</guid>
		<description><![CDATA[I scratched my flat screen (LCD or TFT) monitor some months ago. For a while, I&#8217;ve just lived with the damage. This evening, however, I tried a trick I found on the web. I rubbed hard on the scratch with a white pencil eraser. After about 3-4min vigorous rubbing, the deep scratches on my monitor [...]]]></description>
			<content:encoded><![CDATA[<p>I scratched my flat screen (LCD or TFT) monitor some months ago. For a while, I&#8217;ve just lived with the damage. This evening, however, I tried a trick I found on the web. I rubbed hard on the scratch with a white pencil eraser. After about 3-4min vigorous rubbing, the deep scratches on my monitor have vanished. I can&#8217;t see them at all!</p>
]]></content:encoded>
			<wfw:commentRss>http://rodgers.org.uk/archives/43/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
