<?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>Gordon Turner &#187; howto</title>
	<atom:link href="http://blog.gordonturner.ca/category/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gordonturner.ca</link>
	<description>A waste of bandwidth</description>
	<lastBuildDate>Wed, 23 Mar 2011 12:53:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Wireshark</title>
		<link>http://blog.gordonturner.ca/2010/04/21/wireshark/</link>
		<comments>http://blog.gordonturner.ca/2010/04/21/wireshark/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 17:20:59 +0000</pubDate>
		<dc:creator>Gordo</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://blog.gordonturner.ca/?p=316</guid>
		<description><![CDATA[Technical difficulty 4 You should know what http means and how to play a flv file. Wireshark is my new Toy. Let me tell you why. Ever try to save a Youtube video? Save a streamed song or lecture? In Canada, both actions usually are protected as long as it is for private or personal [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Technical difficulty 4</strong> You should know what http means and how to play a flv file.</p>
<p>Wireshark is my new Toy.  Let me tell you why.</p>
<p><strong>Ever try to save a Youtube video?</strong></p>
<p><strong>Save a streamed song or lecture?</strong></p>
<p>In Canada, both actions usually are protected as long as it is for private or personal use.  Practically, saving flash embedded content is a pain.</p>
<p><strong>Aside</strong> It is possible to examine the browser cache directory or install plugins to intercept the embedded content.  If that works for you great.</p>
<p><strong>That is where Wireshark comes in.</strong>  It is a cross platform network protocol analyzer based on Ethereal.  </p>
<p><strong>What does that really mean?</strong>   Well it lets you examine the traffic coming into your computer, including the embedded content.</p>
<p>First grab Wireshark here: <a href="http://www.wireshark.org/">http://www.wireshark.org/</a></p>
<p>Next, install it and fire it up.</p>
<p>The following are instructions for capturing video from Youtube:</p>
<ol>
<li>Start capture on network card.</li>
<li>Navigate to youtube video page, wait for video to completely load into the cache.</li>
<li>Stop caputure on the network card.</li>
<li>In the &#8216;Filter:&#8217;, paste &#8216;frame.len == 1434&#8242;, this should match the length of the segments of the video as it was downloading.</li>
<li>Right click on one of the segments and click on &#8216;Follow TCP Stream&#8217;.</li>
<li>This will assemble the TCP stream of the video with the headers.</li>
<li>Click on the &#8216;Save As&#8217; and save locally.</li>
<li>Open a editor, like textpad and strip all the headers out of the top of the file.</li>
<li>Test it in a player like vlc.</li>
</ol>
<p>Similar steps are required for flash files.</p>
<p><strong>For more details see my <a href="http://confluence.gordonturner.ca/display/NOTES/Wireshark">Wireshark notes</a>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gordonturner.ca/2010/04/21/wireshark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating from Xen-Fedora to KVM-Ubuntu</title>
		<link>http://blog.gordonturner.ca/2010/01/28/xen-fedora-to-kvm-ubuntu/</link>
		<comments>http://blog.gordonturner.ca/2010/01/28/xen-fedora-to-kvm-ubuntu/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 16:46:59 +0000</pubDate>
		<dc:creator>Gordo</dc:creator>
				<category><![CDATA[administrivia]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.gordonturner.ca/?p=303</guid>
		<description><![CDATA[Recently I completed my migration from Xen / Fedora Core to KVM / Ubuntu. I have been a long time Redhat user, but I felt that Fedora was no longer stable enough for me. I was tempted to move to CENTOS but it didn&#8217;t feel right, not quite an &#8216;official&#8217; Redhat release. So I decided [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I completed my migration from Xen / Fedora Core to KVM / Ubuntu.  I have been a long time Redhat user, but I felt that Fedora was no longer stable enough for me.  I was tempted to move to CENTOS but it didn&#8217;t feel right, not quite an &#8216;official&#8217; Redhat release.  So I decided on Ubuntu with KVM virtualization.</p>
<p>The transition was reasonably painless, a few adjustments to make, like using <strong>init.d</strong> instead of <strong>service</strong>.  I made some notes for myself that others might find helpful:</p>
<p><a href="http://confluence.gordonturner.ca/display/NOTES/Ubuntu+Notes">Ubuntu Notes</a></p>
<p><a href="http://confluence.gordonturner.ca/display/NOTES/Kernel+Virtual+Machine+Host">Ubuntu KVM Host notes</a></p>
<p><a href="http://confluence.gordonturner.ca/display/NOTES/Kernel+Virtual+Machine+Guest">Ubuntu KVM Guest notes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gordonturner.ca/2010/01/28/xen-fedora-to-kvm-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import Facebook events into iCal</title>
		<link>http://blog.gordonturner.ca/2009/12/08/import-facebook-events-into-ical/</link>
		<comments>http://blog.gordonturner.ca/2009/12/08/import-facebook-events-into-ical/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 03:40:33 +0000</pubDate>
		<dc:creator>Gordo</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[PSA]]></category>

		<guid isPermaLink="false">http://blog.gordonturner.ca/?p=292</guid>
		<description><![CDATA[Really simple tip, if you use Apple&#8217;s iCal (or Outlook, but I have not tested it see UPDATE) and want to import events from Facebook, simply click on the Export button above the RSVP box. When asked to Open or Save, open it with iCal and it should prompt you which calendar to add the [...]]]></description>
			<content:encoded><![CDATA[<p>Really simple tip, if you use Apple&#8217;s iCal (<del datetime="2009-12-10T17:30:50+00:00">or Outlook, but I have not tested it</del> see UPDATE) and want to import events from Facebook, simply click on the <strong>Export</strong> button above the RSVP box.</p>
<p><a href="http://blog.gordonturner.ca/wp-content/uploads/2009/12/export-to-ical-circle.png"><img src="http://blog.gordonturner.ca/wp-content/uploads/2009/12/export-to-ical-circle.png" alt="export-to-ical-circle" title="export-to-ical-circle" width="309" height="244" class="alignnone size-full wp-image-293" /></a></p>
<p>When asked to <strong>Open or Save</strong>, open it with iCal and it should prompt you which calendar to add the event too.</p>
<p><strong>UPDATE</strong>: Outlook 2003 displays an error &#8216;Cannot import vCalendar file.  Could not complete the operation.  One or more parameter values are not valid.&#8217;  More current versions might work.</p>
<p>Also, you might consider adding alerts to these events once they have been exported to iCal.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gordonturner.ca/2009/12/08/import-facebook-events-into-ical/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Door Closer 101</title>
		<link>http://blog.gordonturner.ca/2009/11/15/door-closer-101/</link>
		<comments>http://blog.gordonturner.ca/2009/11/15/door-closer-101/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 20:19:16 +0000</pubDate>
		<dc:creator>Gordo</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[PSA]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://blog.gordonturner.ca/?p=278</guid>
		<description><![CDATA[Ever since I moved in, my apartment door always slammed shut. Recently I had a neighbor ask me &#8216;Why I slammed my door?&#8217; I shrugged and explained that it was the door closer, not me. Well guess what, you can adjust the closer. Shocking, I know. Most closers have two screws, one adjusting the &#8216;sweep&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I moved in, my apartment door always slammed shut.  Recently I had a neighbor ask me &#8216;Why I slammed my door?&#8217;  I shrugged and explained that it was the door closer, not me.</p>
<p>Well guess what, you can adjust the closer.  <em>Shocking</em>, I know.</p>
<p>Most closers have two screws, one adjusting the &#8216;sweep&#8217; the other the &#8216;latch&#8217; pressure.  The sweep is the stage where the door is wide open and the latch is the last few inches, before hitting the latch.</p>
<p><img src="http://blog.gordonturner.ca/wp-content/uploads/2009/11/door-closer.jpg" alt="door-closer" title="door-closer" width="400" height="300" class="alignnone size-full wp-image-283" /></p>
<p>I had to adjust my latch screw, which was the bottom one in the picture.  Some closers are labeled, mine wasn&#8217;t, so I guessed.</p>
<p>Turning the screw in slowed the door&#8217;s speed, turning the screw out increased the speed.</p>
<p>Now no more slamming doors and upset neighbors.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gordonturner.ca/2009/11/15/door-closer-101/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone ring tones</title>
		<link>http://blog.gordonturner.ca/2009/10/21/iphone-ring-tones/</link>
		<comments>http://blog.gordonturner.ca/2009/10/21/iphone-ring-tones/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 02:31:54 +0000</pubDate>
		<dc:creator>Gordo</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.gordonturner.ca/?p=248</guid>
		<description><![CDATA[Want to use an existing mp3 file as a ring tone for your iPhone? In a few steps you can. Choose your song in iTunes, right click, choose &#8216;Get Info&#8217;. Under the &#8216;Options&#8217; tab there is a &#8216;Start time&#8217; and &#8216;Stop time&#8217;, edit your song so that it plays only what you want. Don&#8217;t worry [...]]]></description>
			<content:encoded><![CDATA[<p>Want to use an existing mp3 file as a ring tone for your iPhone?</p>
<p>In a few steps you can.</p>
<ol>
<li>Choose your song in iTunes, right click, choose &#8216;Get Info&#8217;.</li>
<li>Under the &#8216;Options&#8217; tab there is a &#8216;Start time&#8217; and &#8216;Stop time&#8217;, edit your song so that it plays only what you want.  Don&#8217;t worry you can undo the Start and Stop times when we are done.</li>
<li>Click &#8216;Okay&#8217; to save changes to your Start and Stop times.</li>
<li>Right click the song again and choose &#8216;Create AAC Version&#8217;.  This will create a new file and add it to iTunes.  You should see it right below your old file.</li>
<li>Right click the old song and under the &#8216;Options&#8217; tab reset the Start and Stop times.</li>
<li>Right click the new song and choose &#8216;Show in Finder&#8217; (or equivalent PC option).</li>
<li>When you find this new file, rename the extension from <strong>m4a</strong> to <strong>m4r</strong>.</li>
<li>Now delete the new file in iTunes, right click on the new file, choose &#8216;Delete&#8217;, then &#8216;Remove&#8217; but choose to &#8216;Keep File&#8217;.</li>
<li>Now drag your .m4r file back onto the Library icon in iTunes.</li>
</ol>
<p>You&#8217;re done!  </p>
<p>Reminder: make sure you are syncing your ringtones to your phone.</p>
<p>My dad&#8217;s ring tone is now Yakety Sax, I figure Benny Hill would be proud.</p>
<p>(Tested on iTunes 9.0.1 for OS X.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gordonturner.ca/2009/10/21/iphone-ring-tones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mapping OS X hotkeys to Windows hotkeys</title>
		<link>http://blog.gordonturner.ca/2009/01/19/mapping-os-x-hotkeys-to-windows-hotkeys/</link>
		<comments>http://blog.gordonturner.ca/2009/01/19/mapping-os-x-hotkeys-to-windows-hotkeys/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 03:24:11 +0000</pubDate>
		<dc:creator>Gordo</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.gordonturner.ca/?p=203</guid>
		<description><![CDATA[One of the huge pain points transitioning between Windows and OS X is the muscle memory. Cut and paste is different on OS X, the iTunes track keys are different, undo is different, you get the idea. I tried remapping the key binding in OS X to match Windows, but some applications (like Firefox, see [...]]]></description>
			<content:encoded><![CDATA[<p>One of the huge pain points transitioning between Windows and OS X is the muscle memory.  Cut and paste is different on OS X, the iTunes track keys are different, undo is different, you get the idea.</p>
<p>I tried remapping the key binding in OS X to match Windows, but some applications (like Firefox, see <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=316459">bug 316459</a> and xcode) did not play nice.</p>
<p>So remapping the OS X keys in Windows was the next best thing, partly because the Windows Key doesn&#8217;t get used by many apps.</p>
<p>There are many hot key / macro apps out there but <a href="http://www.autohotkey.com/">AutohotKey</a> seems to work really well for me.</p>
<p><a href="http://www.autohotkey.com/">AutohotKey</a> is an Open Source task tray app that has some pretty comprehensive macro calls.  It even allows me to remap the keys on my Apple Aluminum keyboard, such as Print Screen.</p>
<p>My Autohotkeys script is behind the cut.</p>
<p>UPDATE: Script got mangled, please see this <a href="http://confluence.gordonturner.ca/x/XYAe">page instead</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gordonturner.ca/2009/01/19/mapping-os-x-hotkeys-to-windows-hotkeys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Windows Hot Key &#8211; AutoHotKey</title>
		<link>http://blog.gordonturner.ca/2007/08/21/windows-hot-key-howto-autohotkey/</link>
		<comments>http://blog.gordonturner.ca/2007/08/21/windows-hot-key-howto-autohotkey/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 01:13:44 +0000</pubDate>
		<dc:creator>Gordo</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.gordonturner.ca/wordpress/2007/08/21/windows-hot-key-howto-autohotkey/</guid>
		<description><![CDATA[I was looking for something that would give me hotkeys to control iTunes on Windows XP at work. When I step away from my desk I like to pause my music when I lock it. Also, I dislike having to navigate to iTunes to change the song or adjust the iTunes volume. I found AutoHotKey [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for something that would give me hotkeys to control iTunes on Windows XP at work.  </p>
<p>When I step away from my desk I like to pause my music when I lock it.  Also, I dislike having to navigate to iTunes to change the song or adjust the iTunes volume.</p>
<p>I found <a href="http://www.autohotkey.com/">AutoHotKey</a> which has a scripting language, active forum and licensed under GPL.</p>
<p><span id="more-64"></span></p>
<p>So I have Windows Key + space bar bound to play/pause and the arrow keys mapped just like they are in iTunes.  I also have Windows Key + G mapped to Google and Windows Key + N mapped to my notes.txt file for quick ideas.</p>
<p>This script isn&#8217;t perfect, it just maps the key presses into iTunes, so it is possible to be moving the cursor through playlists rather then changing the volume.  There are more complicated scripts for iTunes control, but this works well for me for now.  </p>
<p>I took this from the AutoHotKey forums, thanks to the original author:</p>
<p><code>
#NoTrayIcon
#SingleInstance force</p>
<p>#right::
DetectHiddenWindows, On
;WinGet, active_id, ID, ahk_class iTunes
ControlSend, ahk_parent, ^{right}, iTunes ahk_class iTunes
;MsgBox, The active window's ID is "%active_id%".
DetectHiddenWindows, Off
return</p>
<p>#left::
DetectHiddenWindows, On
ControlSend, ahk_parent, ^{left}, iTunes ahk_class iTunes
DetectHiddenWindows, Off
return</p>
<p>#down::
DetectHiddenWindows, On
ControlSend, ahk_parent, ^{down}, iTunes ahk_class iTunes
DetectHiddenWindows, Off
return</p>
<p>#up::
DetectHiddenWindows, On
ControlSend, ahk_parent, ^{up}, iTunes ahk_class iTunes
DetectHiddenWindows, Off
return</p>
<p>#space::
DetectHiddenWindows, On
ControlSend, ahk_parent, {space}, iTunes ahk_class iTunes
DetectHiddenWindows, Off
return</p>
<p>#i::
DetectHiddenWindows, On
IfWinActive, iTunes ahk_class iTunes
   WinMinimize
else
   Run %ProgramFiles%\iTunes\iTunes.exe
DetectHiddenWindows, Off
return</p>
<p>#g::Run www.google.com</p>
<p>#n::Run "C:\Documents and Settings\Gordon Turner\My Documents\Documents\@notes\notes.txt"</p>
<p>#s::Run http://del.icio.us/GordonTurner67/speed-dial</code></p>
<p>Update:</p>
<p>I added another hotkey to check to see if Firefox is open (if not, it opens it) and then create a new empty tab:</p>
<p><code>#t::
IfWinExist ahk_class MozillaUIWindowClass
{
   WinActivate
}
else
{
   Run C:\Program Files\Mozilla Firefox\firefox.exe
   WinWait  ahk_class MozillaUIWindowClass
   WinActivate
}
Send, ^{t}
return</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gordonturner.ca/2007/08/21/windows-hot-key-howto-autohotkey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Xen+LVM guest OS to VMWare guest conversion</title>
		<link>http://blog.gordonturner.ca/2007/08/19/howto-xenlvm-guest-os-to-vmware-guest-conversion/</link>
		<comments>http://blog.gordonturner.ca/2007/08/19/howto-xenlvm-guest-os-to-vmware-guest-conversion/#comments</comments>
		<pubDate>Sun, 19 Aug 2007 19:03:10 +0000</pubDate>
		<dc:creator>Gordo</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.gordonturner.ca/wordpress/2007/08/19/howto-xenlvm-guest-os-to-vmware-guest-conversion/</guid>
		<description><![CDATA[I have several virtual machines (including this webserver) hosted on a Xen Linux host. I wanted to be able to use the same linux configuration in my VMWare player on my desktop for testing. Here are the rough steps that I went through to convert a linux guest that was on a LVM partition to [...]]]></description>
			<content:encoded><![CDATA[<p>I have several virtual machines (including this webserver) hosted on a Xen Linux host.  I wanted to be able to use the same linux configuration in my VMWare player on my desktop for testing.</p>
<p>Here are the rough steps that I went through to convert a linux guest that was on a LVM partition to a raw file on my Windows Desktop that the VMWare player could use.</p>
<p>Software: Redhat Fedora Core 6, Xen, LVM, VMWare Player 2.0.0</p>
<p><span id="more-63"></span></p>
<p>1. The Xen guest is a running a paravirtualized kernel, hopefully I will upgrade the cpu soon.  So, if you are running a Xen specific kernel like I am, you must install the regular, non-paravirutalized kernel.  Login as root onto the guest and run:
<code>
[root@xen-guest ~]# yum install kernel.i686</code></p>
<p>2. Restart the guest and confirm that the new kernel is in the grub startup menu and that the default kernel is still the paravirtualized kernel (don&#8217;t want to mess up the existing system).  Once confirmed, halt the guest.</p>
<p>3. Map the LVM partition.  As root on the Xen Host type:</p>
<p><code>[root@xen-host ~]# kpartx -av /dev/VolGroup00/ImageData00
add map ImageData00p1 : 0 6281352 linear /dev/VolGroup00/ImageData00 63</code></p>
<p>(I have always done the mapping, I am not sure if this is required.)</p>
<p>4. Using dd, copy the partition to an image file.  As root on the Xen Host type:</p>
<p><code>[root@xen-host ~]# dd if=/dev/VolGroup00/ImageData00 of=/some/path/ImageData00.img bs=512
6291456+0 records in
6291456+0 records out
3221225472 bytes (3.2 GB) copied, 276.703 seconds, 11.6 MB/s</code></p>
<p>This step will take a while, the of should be somewhere with lots of space.</p>
<p>Note: copy down the number of records in/out, this is needed later.</p>
<p>5. Unmap the LVM partition.  As root on the Xen Host type:</p>
<p><code>[root@xen ~]# kpartx -dv /dev/VolGroup00/ImageData00
del devmap : ImageData00p1</code></p>
<p>6. Run fdisk on the image file to get the disk geometery.  As root on the Xen Host type:</p>
<p><code>[root@xen FileBackedHosts]# fdisk /dev/VolGroup00/ImageData00</p>
<p>Command (m for help): p</p>
<p>Disk /dev/VolGroup00/ImageData00: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>                       Device Boot      Start         End      Blocks   Id  System
/dev/VolGroup00/ImageData00p1   *           1         391     3140676   83  Linux</code></p>
<p>Note: copy down the head, sectors/track and cylinders values.</p>
<p>7. Copy the image file to the Windows desktop, I used pscp to move it over.</p>
<p>8. Grab a copy of an empty VMWare virtual machine (<a href="http://gordonturner.ca/maven/vmware-image/distributions/">here is mine</a>).  Edit the *.vmdk file to:</p>
<p><code>
version=1
CID=e37454cd
parentCID=ffffffff
createType="monolithicFlat"</p>
<p># Extent description
RW 6281352 FLAT "ImageData00.img" 0</p>
<p># The Disk Data Base 
#DDB</p>
<p>ddb.adapterType = "ide"
ddb.geometry.sectors = "63"
ddb.geometry.heads = "255"
ddb.geometry.cylinders = "391"
ddb.virtualHWVersion = "3"
ddb.toolsVersion = "0"</code></p>
<p>Replace your sectors, heads and cylinders with your values from earlier.  Replace &#8220;6281352&#8243; with your records in/out number.</p>
<p>9. Start the VMWare image.  On first boot, choose the regular kernel in the grub startup menu, edit it to remove the &#8220;console=&#8230;&#8221; and add &#8220;single&#8221; to boot into  single user mode.</p>
<p>10. Once booted in single user mode, edit the /etc/inittab to comment out &#8220;co:2345:respawn&#8230;&#8221; and uncomment other &#8220;1:2345:respawn&#8230;&#8221; consoles.  Reboot and choose the regular kernel again.</p>
<p>11. Once booted, edit the /boot/grub/grub.conf and change &#8220;default=1&#8243; to &#8220;default=0&#8243;, this should be the regular kernel.  From now on, the regular kernel should boot with no problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gordonturner.ca/2007/08/19/howto-xenlvm-guest-os-to-vmware-guest-conversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto setup Sendmail to use ISP SMTP server</title>
		<link>http://blog.gordonturner.ca/2007/01/16/setting-up-sendmail-to-use-isps-smtp-server/</link>
		<comments>http://blog.gordonturner.ca/2007/01/16/setting-up-sendmail-to-use-isps-smtp-server/#comments</comments>
		<pubDate>Tue, 16 Jan 2007 12:18:46 +0000</pubDate>
		<dc:creator>Gordo</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.gordonturner.ca/wordpress/2007/01/16/setting-up-sendmail-to-use-isps-smtp-server/</guid>
		<description><![CDATA[Warning, Geek alert. In order for the WordPress emails to go out properly, I had to setup Sendmail to connect to my Internet Service Providers SMTP server. More details after the cut. For most hosted providers, Sendmail is automatically configured. However, if yo are hosting your server on a private machine at home like I [...]]]></description>
			<content:encoded><![CDATA[<p>Warning, Geek alert.</p>
<p>In order for the WordPress emails to go out properly, I had to setup Sendmail to connect to my Internet Service Providers SMTP server.</p>
<p>More details after the cut.</p>
<p><span id="more-7"></span> For most hosted providers, Sendmail is automatically configured.  However, if yo are hosting your server on a private machine at home like I am, with no mail server, you have to use your ISP to send mail.</p>
<p>Here are the instructions on how to do this on Fedora Core 6, with thanks to Dave Pavao.</p>
<p>- All of these steps are done as root.
- Install sendmail-cf:</p>
<pre>yum install sendmail-cf</pre>
<p>- Edit the sendmail.cf file:</p>
<pre>vi /etc/mail/sendmail.mc
...
define(`SMART_HOST', `smtp-rog.mail.yahoo.com')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo',`hash /etc/mail/isp-info')dnl
...</pre>
<p>- Edit the rogers-info file, here juser and password are your credentials provided by Rogers:</p>
<pre>vi /etc/mail/isp-info
AuthInfo:smtp-rog.mail.yahoo.com "U:juser@rogers.com" "I:juser@rogers.com" "P:password"</pre>
<p>- Run make:</p>
<pre>cd /etc/mail
make</pre>
<p>- Create the isp-info.db file:</p>
<pre>makemap hash /etc/mail/isp-info < /etc/mail/isp-info</pre>
<p>- Restart sendmail:</p>
<pre>service sendmail restart</pre>
<p>That should be it, this will make it into my wiki eventually.</p>
<p>GT.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gordonturner.ca/2007/01/16/setting-up-sendmail-to-use-isps-smtp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

