<?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>Charles&#039; Tech Talk</title>
	<atom:link href="http://charlesmccolm.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://charlesmccolm.com</link>
	<description>Old hardware, operating systems and refurbishing</description>
	<lastBuildDate>Wed, 22 Feb 2012 02:45:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Getting Windows 7 to see Linux hostnames via tomato router</title>
		<link>http://charlesmccolm.com/2012/02/21/getting-windows-7-to-see-linux-hostnames-via-tomato-router/</link>
		<comments>http://charlesmccolm.com/2012/02/21/getting-windows-7-to-see-linux-hostnames-via-tomato-router/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 02:45:21 +0000</pubDate>
		<dc:creator>charm</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://charlesmccolm.com/?p=607</guid>
		<description><![CDATA[Our house is mostly Linux, but recently we&#8217;ve added a couple of Windows 7 machines. We&#8217;ve had no problems with Linux machines communicating with other Linux machines to this point. If I type ping whisky I get the proper ping response from the machine called whisky. But if I typed the same thing into a [...]]]></description>
			<content:encoded><![CDATA[<p>Our house is mostly Linux, but recently we&#8217;ve added a couple of Windows 7 machines. We&#8217;ve had no problems with Linux machines communicating with other Linux machines to this point. If I type ping whisky I get the proper ping response from the machine called whisky. But if I typed the same thing into a Windows 7 console Windows didn&#8217;t know what I was talking about.</p>
<p>The tomato firmware for Linksys WRT54GL routers has a &#8220;Basic&#8221;/&#8221;Static DHCP&#8221; option that allows you to set up static IP addresses for each of your boxes behind your router. But this is what I actually set before adding the Windows machines and the Windows machines didn&#8217;t seem to reference this. Luckily I found some information about dnsmasq, which is an advanced option in tomato: Advanced configuration / DHCP / DNS. The format is as follows:</p>
<pre>local-ttl=1
address=/whisky/192.168.1.10
address=/tequila/192.168.1.11
address=/brandy/192.168.1.12
address=/vodka/192.168.1.13</pre>
<p>It&#8217;s simple and our Windows 7 machine recognized the addresses immediately, even when I created a shortcut and started typing the \\hostname for the host I wanted to connect to.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://charlesmccolm.com/2012/02/21/getting-windows-7-to-see-linux-hostnames-via-tomato-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TWC adding ancient hardware to line-up</title>
		<link>http://charlesmccolm.com/2012/02/09/twc-adding-ancient-hardware-to-line-up/</link>
		<comments>http://charlesmccolm.com/2012/02/09/twc-adding-ancient-hardware-to-line-up/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 13:12:18 +0000</pubDate>
		<dc:creator>charm</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Refurbishing]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Computer Recycling]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://charlesmccolm.com/?p=603</guid>
		<description><![CDATA[The Working Centre&#8217;s Computer Recycling Project has always had interesting parts available for enthusiasts, but a lot of our computer building effort has been oriented towards building functional machines for Internet use and  Microsoft Office training. We set a bit of a minimum bar as to what we&#8217;d spend extra effort to get going (and [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 394px"><a title="yfrog.com - Image And Video Hosting" href="http://yfrog.com/khuxuxnj" target="_blank"><img style="border: 0pt none;" title="Old hardware" src="http://a.yfrog.com/img737/1513/uxuxn.jpg" alt="" width="384" height="288" border="0" /></a><p class="wp-caption-text">UW SCSI 18.2GB SCA hard drives</p></div>
<p>The Working Centre&#8217;s Computer Recycling Project has always had interesting parts available for enthusiasts, but a lot of our computer building effort has been oriented towards building functional machines for Internet use and  Microsoft Office training. We set a bit of a minimum bar as to what we&#8217;d spend extra effort to get going (and some machines need lots of love). Over the past few months we&#8217;ve seen an increase in requests for legacy hardware we haven&#8217;t looked at in years (386, 486), and at the same time seen in increase in supply of older equipment: an Apple Macintosh LC II came in just yesterday.</p>
<p>So we&#8217;ve decided to spend a little effort trying to get some of these legacy machines going rather than passing them on to our Ontario Electronic Stewardship partners. Some of these machines won&#8217;t even come close to correctly rendering a page on the Internet, but they&#8217;re part of computing history, a history that&#8217;s worth keeping up. Many older machines are perfectly functional for certain tasks: word processing, 8-bit gaming, even desktop publishing (old Macs with DTP software).</p>
<p>Of course we&#8217;ll continue to provide our regular lines of Ubuntu Linux 10.04-LTS computers and Microsoft Registered Refurbisher (for low income families) Windows XP computers. Our MRR and Linux systems will continue to be the bulk of what we offer, but from time to time don&#8217;t be surprised if we have a Timex Sinclair or ancient Apple available.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Computer+Recycling' rel='tag' target='_self'>Computer Recycling</a>, <a class='technorati-link' href='http://technorati.com/tag/hardware' rel='tag' target='_self'>hardware</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://charlesmccolm.com/2012/02/09/twc-adding-ancient-hardware-to-line-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synchronizing my Blackberry Bold 9780 bookmarks with Ubuntu 11.10</title>
		<link>http://charlesmccolm.com/2012/02/07/synchronizing-my-blackberry-bold-9780-bookmarks-with-ubuntu-11-10/</link>
		<comments>http://charlesmccolm.com/2012/02/07/synchronizing-my-blackberry-bold-9780-bookmarks-with-ubuntu-11-10/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 16:58:59 +0000</pubDate>
		<dc:creator>charm</dc:creator>
				<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[Synchronization]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://charlesmccolm.com/?p=596</guid>
		<description><![CDATA[One of the jobs I&#8217;ve been meaning to tackle for some time is sychronizing my Blackberry Bold 9780 bookmarks with my Ubuntu Linux system. I had hoped the bookmarks would be in a simple XML format that could just be copied over and parsed, but from what I can tell bookmarks are stored in a [...]]]></description>
			<content:encoded><![CDATA[<p><a title="BlackBerry Bold 9000 by FrankCM, on Flickr" href="http://www.flickr.com/photos/frankcm/5369956432/"><img class="alignleft" src="http://farm6.staticflickr.com/5125/5369956432_6eb224f907_m.jpg" alt="BlackBerry Bold 9000" width="240" height="160" /></a>One of the jobs I&#8217;ve been meaning to tackle for some time is sychronizing my Blackberry Bold 9780 bookmarks with my Ubuntu Linux system. I had hoped the bookmarks would be in a simple XML format that could just be copied over and parsed, but from what I can tell bookmarks are stored in a binary database blob (I could be mistaken on this).</p>
<p>At any rate my Bold 9780 pretty much automounts when I plug it into my notebook. I looked through the directory tree structure and couldn&#8217;t find any indication of browser data. Then I remembered <a href="http://www.netdirect.ca/software/packages/barry">Net Direct&#8217;s Barry tool</a>. Checking the Ubuntu repositories I saw there was a Gtk gui to back up a Blackberry, but I took this to mean making a raw backup, which I could just do with tar.</p>
<p>I checked out the barry man(ual) page and discovered that if you issued:</p>
<blockquote><p>btool -t</p></blockquote>
<p>Barry would list all the types of databases it stored, one of which turned out to be &#8216;Browser Bookmarks.&#8217; To dump the database I just needed the -d switch and to redirect it to a file:</p>
<blockquote><p>barry -d &#8216;Browser Bookmarks&#8217; &gt; raw-bookmarks.txt</p></blockquote>
<p>What I discovered is that barry dumps the database as a binary+ascii file that resembles the following:</p>
<p>Raw record dump for record: 75200bac<br />
00000000: 06 00 a9 00 40 01 44 01 0b 00 ac 0b 20 75 00 6b  &#8230;.@.D&#8230;.. u.k<br />
00000010: 00 11 87 a9 80 97 2c 08 04 01 00 28 57 65 6c 63  &#8230;&#8230;,&#8230;.(Welc<br />
00000020: 6f 6d 65 20 74 6f 20 66 72 65 73 68 6d 65 61 74  ome to freshmeat<br />
00000030: 2e 6e 65 74 20 7c 20 66 72 65 73 68 6d 65 61 74  .net | freshmeat<br />
00000040: 2e 6e 65 74 81 b9 fc f8 f6 c2 e3 a4 d5 08 00 05  .net&#8230;&#8230;&#8230;&#8230;<br />
00000050: 01 00 20 68 74 74 70 3a 2f 2f 66 72 65 73 68 6d  .. http://freshm<br />
00000060: 65 61 74 2e 6e 65 74 2f 66 61 76 69 63 6f 6e 2e  eat.net/favicon.<br />
00000070: 69 63 6f 00 a6 b2 ee 84 df 65 00 00 00 29 00 12  ico&#8230;&#8230;e&#8230;)..<br />
00000080: 00 15 68 74 74 70 3a 2f 2f 66 72 65 73 68 6d 65  ..http://freshme<br />
00000090: 61 74 2e 6e 65 74 2f 01 c2 21 00 00 00 00 00 00  at.net/..!&#8230;&#8230;<br />
000000a0: 00 04 00 00 8f ff ff ff 7f                       &#8230;&#8230;&#8230;</p>
<p>It&#8217;s readable, but still in an unfriendly format. I may as well just browse to each site on the device and type its URL into Firefox on my notebook.</p>
<p>I&#8217;ve gone down 3 paths trying to parse this file: hexdump, od, and xxd. So far I haven&#8217;t had a lot of luck. The closest I got was <a href="http://zagaeski.devio.us/0006.html">Brendan Zagaeski&#8217;s hexdump examples</a>:</p>
<blockquote><p>hexdump -v -e &#8216;&#8221;%010_ad |&#8221; 16/1 &#8220;%_p&#8221; &#8220;|\n&#8221;&#8216; raw-bookmarks.txt</p></blockquote>
<p>But this seems to remove some data and it maintains the addressing in front of each line, so cutting and pasting isn&#8217;t so easy.</p>
<p>For now this is as close as I&#8217;ve gotten to synchronization. I hope someone with better sed/awk skills will shame me by posting a solution.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Blackberry' rel='tag' target='_self'>Blackberry</a>, <a class='technorati-link' href='http://technorati.com/tag/Bookmarks' rel='tag' target='_self'>Bookmarks</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/Synchronization' rel='tag' target='_self'>Synchronization</a>, <a class='technorati-link' href='http://technorati.com/tag/Ubuntu' rel='tag' target='_self'>Ubuntu</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://charlesmccolm.com/2012/02/07/synchronizing-my-blackberry-bold-9780-bookmarks-with-ubuntu-11-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Is your system under-clocked?</title>
		<link>http://charlesmccolm.com/2012/02/06/is-your-system-under-clocked/</link>
		<comments>http://charlesmccolm.com/2012/02/06/is-your-system-under-clocked/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 15:34:56 +0000</pubDate>
		<dc:creator>charm</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[CPU speed]]></category>
		<category><![CDATA[dmidecode]]></category>
		<category><![CDATA[processor speed]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://charlesmccolm.com/?p=593</guid>
		<description><![CDATA[We get a lot of custom-built systems at Computer Recycling. Every now and then we run into a system that doesn&#8217;t behave well or under-performs for what it should. Checking these under-performing systems can be a daunting task because it can involved checking a big variety of things: RAM testing Hard drive testing ensuring BIOS [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_594" class="wp-caption alignleft" style="width: 310px"><a href="http://charlesmccolm.com/wp-content/uploads/2012/02/maxspeed.jpg"><img class="size-medium wp-image-594" title="dmidecode" src="http://charlesmccolm.com/wp-content/uploads/2012/02/maxspeed-300x240.jpg" alt="dmidecode" width="300" height="240" /></a><p class="wp-caption-text">dmidecode showing the max and current CPU speed</p></div>
<p>We get a lot of custom-built systems at Computer Recycling. Every now and then we run into a system that doesn&#8217;t behave well or under-performs for what it should.</p>
<p>Checking these under-performing systems can be a daunting task because it can involved checking a big variety of things:</p>
<ul>
<li>RAM testing</li>
<li>Hard drive testing</li>
<li>ensuring BIOS settings are not set strangely</li>
<li>Checking jumpers on older motherboards</li>
<li>etc&#8230;</li>
</ul>
<p>One really handy quick tool I found to see if a CPU is under-performing is <strong>dmidecode</strong>. dmidecode is part of a standard Ubuntu installation. If you have Ubuntu installed, you have dmidecode installed.</p>
<p>If you run dmidecode on its own it spits out a large amount of information. This information can be limited by the -t (type/class) switch followed by a type (in our example 4, for processor/CPU). Add the <strong>grep</strong> command to further limit what we want to &#8220;Speed&#8221; and we can determine the maximum and current speed of the CPU:</p>
<blockquote><p> sudo dmidecode -t 4 | grep Speed</p></blockquote>
<p>The result we got on a mis-configured system we had was:</p>
<blockquote><p>Max Speed: 2400 MHz<br />
Current Speed: 1900 MHz</p></blockquote>
<p>If we run a few other tools we&#8217;d see that the speed the CPU is running is slightly higher than 1900MHz. What actually happened in this case is that the motherboard was running at 100MHz (SDRAM only) instead of 133MHz, despite the system having a 512MB 133MHz memory stick in it.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/CPU+speed' rel='tag' target='_self'>CPU speed</a>, <a class='technorati-link' href='http://technorati.com/tag/dmidecode' rel='tag' target='_self'>dmidecode</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/processor+speed' rel='tag' target='_self'>processor speed</a>, <a class='technorati-link' href='http://technorati.com/tag/Ubuntu' rel='tag' target='_self'>Ubuntu</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://charlesmccolm.com/2012/02/06/is-your-system-under-clocked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Hour February 3, 2012</title>
		<link>http://charlesmccolm.com/2012/02/02/ubuntu-hour-february-3-2012/</link>
		<comments>http://charlesmccolm.com/2012/02/02/ubuntu-hour-february-3-2012/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 01:31:55 +0000</pubDate>
		<dc:creator>charm</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://charlesmccolm.com/?p=590</guid>
		<description><![CDATA[If you&#8217;re in the Kitchener, Ontario area tomorrow evening I&#8217;ll be hosting an Ubuntu Hour between 7pm and 8pm at Misty Mountain Coffee shop. Misty Mountain is located at 33 Queen Street South in downtown Kitchener (a block up from the downtown bus station). Whether you&#8217;re a Linux genius or just interested in Linux feel [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_591" class="wp-caption alignleft" style="width: 310px"><a href="http://charlesmccolm.com/wp-content/uploads/2012/02/ubuntu-gnome3-3.png"><img class="size-medium wp-image-591" title="Ubuntu 11.04 running Gnome 3" src="http://charlesmccolm.com/wp-content/uploads/2012/02/ubuntu-gnome3-3-300x225.png" alt="Ubuntu 11.04 running Gnome 3" width="300" height="225" /></a><p class="wp-caption-text">Ubuntu 11.04 running Gnome 3</p></div>
<p>If you&#8217;re in the Kitchener, Ontario area tomorrow evening I&#8217;ll be hosting an Ubuntu Hour between 7pm and 8pm at <a href="http://www.facebook.com/pages/Misty-Mountain-Coffee/200696229967374">Misty Mountain Coffee shop</a>. Misty Mountain is located at 33 Queen Street South in downtown Kitchener (a block up from the downtown bus station). Whether you&#8217;re a Linux genius or just interested in Linux feel free to come out. We&#8217;ll be meeting in the meeting room at the back of the coffee shop.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/Ubuntu' rel='tag' target='_self'>Ubuntu</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://charlesmccolm.com/2012/02/02/ubuntu-hour-february-3-2012/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

