<?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>CURIOSITATIS CAPTIVUS &#187; search engine fodder</title>
	<atom:link href="http://www.coreygallon.com/tag/search-engine-fodder/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coreygallon.com</link>
	<description>thesauri sapientiae et quisquiliae</description>
	<lastBuildDate>Thu, 26 Jan 2012 08:57:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Installing MySQL for Python in Ubuntu</title>
		<link>http://www.coreygallon.com/2011/03/installing-mysql-for-python-in-ubuntu/</link>
		<comments>http://www.coreygallon.com/2011/03/installing-mysql-for-python-in-ubuntu/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 06:27:57 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>

		<guid isPermaLink="false">http://www.coreygallon.com/?p=319</guid>
		<description><![CDATA[&#1080;&#1082;&#1086;&#1085;&#1086;&#1075;&#1088;&#1072;&#1092;&#1080;&#1103;&#1050;&#1072;&#1088;&#1090;&#1080;&#1085;&#1080;&#1074;&#1080;&#1082; &#1091;&#1089;&#1083;&#1091;&#1075;&#1080;Whilst on the grind this evening, hacking on some Python code in a newly-installed Ubuntu virtual machine, I needed to install MySQL for Python. Building the package, pre-installation, requires mysql_config &#8212; which I had some difficulty locating in the repositories. After flailing about a bit, the solution is to install the libmysqlclient-dev package. $ [...]]]></description>
			<content:encoded><![CDATA[<p><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://xn--h1aafme.net/">&#1080;&#1082;&#1086;&#1085;&#1086;&#1075;&#1088;&#1072;&#1092;&#1080;&#1103;</a></font><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://ikoni.eu/">&#1050;&#1072;&#1088;&#1090;&#1080;&#1085;&#1080;</a></font><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://vikuslugi-ovi.com/">&#1074;&#1080;&#1082; &#1091;&#1089;&#1083;&#1091;&#1075;&#1080;</a></font>Whilst on the grind this evening, hacking on some Python code in a newly-installed Ubuntu virtual machine, I needed to install <a href="http://http://sourceforge.net/projects/mysql-python/">MySQL for Python</a>.  Building the package, pre-installation, requires mysql_config &#8212; which I had some difficulty locating in the repositories.  After flailing about a bit, the solution is to install the libmysqlclient-dev package.</p>
<pre>$ sudo apt-get install libmysqlclient-dev</pre>
<p>The package also requires setuptools, which is available <a href="http://pypi.python.org/pypi/setuptools">here</a>.  Download it (I&#8217;m running Python 2.6.5, so I downloaded <a href="http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086">setuptools-0.6c11-py2.6.egg</a>) and run it as a shell script.  </p>
<pre>$ sh ~/Downloads/setuptools-0.6c11-py2.6.egg </pre>
<p>A second error &#8212; i.e. gcc could not find python.h &#8212; was resolved by installing the Python development package.</p>
<pre>$ sudo apt-get install python-dev</pre>
<p>Back to it &#8230;</p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2011%2F03%2Finstalling-mysql-for-python-in-ubuntu%2F';
  addthis_title  = 'Installing+MySQL+for+Python+in+Ubuntu';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2011/03/installing-mysql-for-python-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing RExcelXML from The Omega Project in R</title>
		<link>http://www.coreygallon.com/2011/01/installing-rexcelxml-from-the-omega-project-in-r/</link>
		<comments>http://www.coreygallon.com/2011/01/installing-rexcelxml-from-the-omega-project-in-r/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 19:14:54 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[quant]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>

		<guid isPermaLink="false">http://www.coreygallon.com/?p=296</guid>
		<description><![CDATA[A quick post to capture the resolution to the past 20 minutes I have spent in frustration trying to install RExcelXML from Omegahat (The Omega Project for Statistical Computing). As this is a source package, the dependencies need to be satisfied manually (which is a bit baffling, frankly &#8212; surely there is a workaround for [...]]]></description>
			<content:encoded><![CDATA[<p>A quick post to capture the resolution to the past 20 minutes I have spent in frustration trying to install <a href="http://www.omegahat.org/RExcelXML/">RExcelXML </a>from <a href="http://www.omegahat.org/">Omegahat (The Omega Project for Statistical Computing)</a>.  As this is a source package, the dependencies need to be satisfied manually (which is a bit baffling, frankly &#8212; surely there is a workaround for this using a makefile-like facility in <em>install.packages()</em>).  The package depends on ROOXML, Rcompression and XML.  The solution is two-staged:</p>
<pre>
> install.packages(c('Rcompression', 'XML'))
> install.packages(c('ROOXML', 'RExcelXML'), repos = 'http://www.omegahat.org/R', type = 'source')
</pre>
<p>Back to the grind &#8230;</p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2011%2F01%2Finstalling-rexcelxml-from-the-omega-project-in-r%2F';
  addthis_title  = 'Installing+RExcelXML+from+The+Omega+Project+in+R';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2011/01/installing-rexcelxml-from-the-omega-project-in-r/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Netflix &#8220;Error N8156-6013&#8243; Resolution</title>
		<link>http://www.coreygallon.com/2010/10/netflix-error-n8156-6013/</link>
		<comments>http://www.coreygallon.com/2010/10/netflix-error-n8156-6013/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 04:59:36 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>

		<guid isPermaLink="false">http://www.coreygallon.com/?p=289</guid>
		<description><![CDATA[A seemingly pervasive problem purportedly caused by a recent update to Silverlight, the Netflix streaming player bombed-out on me this evening, whinging about &#8220;Error N8156-6013&#8243; and complaining that it had issues both with playing DRM content and &#8212; for reasons which transcend reason &#8212; the date on my (virtual) computer. The solution was simple enough. [...]]]></description>
			<content:encoded><![CDATA[<p>A seemingly pervasive problem purportedly caused by a recent update to Silverlight, the Netflix streaming player bombed-out on me this evening, whinging about &#8220;Error N8156-6013&#8243; and complaining that it had issues both with playing DRM content and &#8212; for reasons which transcend reason &#8212; the <em>date</em> on my (virtual) computer.  The solution was simple enough.  Delete the following small file:</p>
<p><code>C:\Documents and Settings\All Users\Application Data\Microsoft\PlayReady\mspr.hds</code></p>
<p>I was back to cackling irreverently at Archer in no time.</p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2010%2F10%2Fnetflix-error-n8156-6013%2F';
  addthis_title  = 'Netflix+%26%238220%3BError+N8156-6013%26%238243%3B+Resolution';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2010/10/netflix-error-n8156-6013/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Virtualbox + XP + Firefox = Netflix in GNU/Linux</title>
		<link>http://www.coreygallon.com/2010/10/virtualbox-netflix-linux/</link>
		<comments>http://www.coreygallon.com/2010/10/virtualbox-netflix-linux/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 04:34:54 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>

		<guid isPermaLink="false">http://www.coreygallon.com/?p=281</guid>
		<description><![CDATA[Having recently wrested control of my machine from Windows Vista, I&#8217;ve had to implement a workaround for Netflix streaming media. Netflix, unfortunately, has yet to see the mistake in building their streaming architecture on Microsoft&#8217;s near-dead Silverlight platform. Until they recognize the error of their ways, I need a workaround. I&#8217;ve settled on virtualizing XP, [...]]]></description>
			<content:encoded><![CDATA[<p>Having <a href="http://www.coreygallon.com/2010/10/the-liberation-of-my-workstation/">recently wrested control of my machine from Windows Vista</a>, I&#8217;ve had to implement a workaround for Netflix streaming media.  Netflix, unfortunately, has yet to see the mistake in building their streaming architecture on <a href="http://www.zdnet.com/blog/microsoft/microsoft-our-strategy-with-silverlight-has-shifted/7834">Microsoft&#8217;s near-dead Silverlight</a> platform.  Until they recognize the error of their ways, I need a workaround.  I&#8217;ve settled on virtualizing XP, as Silverlight (and <a href="http://www.mono-project.com/Moonlight">Moonlight</a>, for that matter) will not successfully run Netflix in WINE.  (As a side note, WINE runs Excel 2007 &#8212; one of my must-have Windows apps &#8212; flawlessly and, ironically, <em>faster</em> than my Windows installation used to.)</p>
<p>So, I installed VirtualBox OSE from the Lucid repo (a few versions behind current, but no worries) and installed my XP Pro SP3 image on a small virtual hard disk.  It took entirely too long, although I had shortcut the process by ripping the CD to my hard disk using dd (+1 for GNU!):</p>
<pre>$ dd if=/dev/cdrom of=~/home/captivus/win_xp.iso</pre>
<p>(Seriously &#8230; <a href="http://www.gnu.org/software/coreutils/manual/html_node/dd-invocation.html">dd</a> is bloody brilliant.  One of the most useful tools in the GNU suite.)  Anyway, it works like a charm and I&#8217;m not without my new love, <a href="http://www.netflix.com/Movie/Archer-Season-1/70124778">Archer</a>, despite no longer running Windows.</p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2010%2F10%2Fvirtualbox-netflix-linux%2F';
  addthis_title  = 'Virtualbox+%2B+XP+%2B+Firefox+%3D+Netflix+in+GNU%2FLinux';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2010/10/virtualbox-netflix-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Superfluous fstab Entries After Upgrading to Lucid LTS</title>
		<link>http://www.coreygallon.com/2010/10/superfluous-fstab-entries-after-upgrading-to-lucid-lts/</link>
		<comments>http://www.coreygallon.com/2010/10/superfluous-fstab-entries-after-upgrading-to-lucid-lts/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 03:32:10 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.coreygallon.com/?p=240</guid>
		<description><![CDATA[A quick post to outline a stupefying problem I encountered after upgrading one of my machines to Ubuntu Lucid (10.04) this weekend. By way of background, I am anything but an early-adopter of OS releases &#8212; especially on my production hardware. I haven&#8217;t the time to debug network-critical software on systems on which I rely [...]]]></description>
			<content:encoded><![CDATA[<p>A quick post to outline a stupefying problem I encountered after upgrading one of my machines to Ubuntu Lucid (10.04) this weekend.  By way of background, I am anything but an early-adopter of OS releases &#8212; especially on my production hardware.  I haven&#8217;t the time to debug network-critical software on systems on which I rely heavily, so I typically lag a major-version-release or so behind the &#8220;cutting edge&#8221;.  </p>
<p>Yesterday I finally made the move to upgrade to <a href="http://www.ubuntu.com/server/get-ubuntu/download">Lucid LTS</a> on one of my servers on my home network.  The automatic upgrade apps downloaded and executed without a hitch, so I was optimistic upon reboot.  For reasons which surpass understanding, however, I received an error indicating that the hard disk upon which I had installed the OS refused to mount at boot time &#8212; although, to Lucid&#8217;s credit, I was given an option to skip this mounting and continue with the boot.  </p>
<p>The whole episode was absurd, as the disk was clearly mounted and booting &#8212; <strong>how else was the OS loading at all if the disk upon which it resides would not boot?</strong>  Upon logging in, a quick <em>cat /var/log/boot.log</em> suggested that there was, indeed, an error in mounting /dev/sda1.  <em>cat /etc/fstab</em> made clear what the problem was &#8212; somehow there were additional entries in the fstab file which tried to mount the partitions on /dev/sda subsequent to their initial mounting.  I&#8217;ve not the slightest idea how these entries made their way into the file.  I am, however, confident that they were not there prior to the upgrade as this error was entirely new.  A few keystrokes in <a href="http://www.vim.org/">vim</a> and I had commented-out the offending entries.  Upon reboot, all was well with the server.</p>
<p>Most perplexing &#8230; </p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2010%2F10%2Fsuperfluous-fstab-entries-after-upgrading-to-lucid-lts%2F';
  addthis_title  = 'Superfluous+fstab+Entries+After+Upgrading+to+Lucid+LTS';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2010/10/superfluous-fstab-entries-after-upgrading-to-lucid-lts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu in VirtualBox</title>
		<link>http://www.coreygallon.com/2009/08/ubuntu-in-virtualbox/</link>
		<comments>http://www.coreygallon.com/2009/08/ubuntu-in-virtualbox/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 04:11:42 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[General Posts]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.coreygallon.com/?p=195</guid>
		<description><![CDATA[I travel nearly every week to my clients&#8217; offices. I have recently become quite keen on the idea of videoconferencing with my wife and children each night, as a means to span the miles between us. Skype is the software I&#8217;ve settled on, as the most promising open-source competitor (Wengo) didn&#8217;t instill much confidence. The [...]]]></description>
			<content:encoded><![CDATA[<p>I travel nearly every week to my clients&#8217; offices.  I have recently become quite keen on the idea of videoconferencing with my wife and children each night, as a means to span the miles between us.  <a href="http://www.skype.com">Skype</a> is the software I&#8217;ve settled on, as the most promising open-source competitor (<a href="http://www.wengo.fr">Wengo</a>) didn&#8217;t instill much confidence.  The firm I work for blocks Skype installation through its use of McAfee&#8217;s enterprise product &#8212; a fact which makes me a saaaad panda!  (If this turn of phrase is foreign to you, might I suggest viewing <a href="http://en.wikipedia.org/wiki/Sexual_Harassment_Panda">the South Park episode from which it emanates</a>?)  (Tangentially, my firm is also staunchly anti-open source, as evidenced through our open source software policy &#8212; a fact which makes me an equally bereaved bear!)  I digress &#8230;</p>
<p>The solution to my predicament?  Sun&#8217;s brilliant <a href="http://www.virtualbox.org/">VirtualBox </a>open source virtualization package running the latest <a href="http://www.ubuntu.com">Ubuntu </a>release &#8212; currently 9.04 (or &#8220;Jaunty Jackelope,&#8221; as they call it).  The installation of VirtualBox took a bit on my lappy, but it went fairly seamlessly.  The only hitch was that the installation of the VirtualBox Host-Only Network adapter in Windows XP SP3 broke my wireless networking.  (It may well have broken all networking, but I didn&#8217;t try plugging a cable in to check.)  The solution to this was fairly simple &#8212; disable the newly installed adapter!  It seems that VirtualBox doesn&#8217;t need this adapter enabled in order to provide the virtual OS networking.  (I&#8217;ve no idea what this adapter is used for at the moment.  Perhaps I&#8217;ll figure this out as I work with VBox a bit more.)</p>
<p>The only Ubuntu image I had lying around was a Hardy (8.04) disc I burned some time ago.  I added a new machine to VBox, installed Ubuntu from the disc, updated to Jaunty using apt, and installed Skype from the Medibuntu repository.  So, I&#8217;ve got a virtual Jaunty up and running and, I must say, it is <em>bloody</em> fantastic!  Good show, Sun!</p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2009%2F08%2Fubuntu-in-virtualbox%2F';
  addthis_title  = 'Ubuntu+in+VirtualBox';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2009/08/ubuntu-in-virtualbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>DD-WRT on the WRT54G v8</title>
		<link>http://www.coreygallon.com/2009/05/dd-wrt-on-the-wrt54g-v8/</link>
		<comments>http://www.coreygallon.com/2009/05/dd-wrt-on-the-wrt54g-v8/#comments</comments>
		<pubDate>Sat, 09 May 2009 03:30:24 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>

		<guid isPermaLink="false">http://www.coreygallon.com/?p=171</guid>
		<description><![CDATA[DD-WRT is, by far, my favorite third-party firmware for the Linksys WRT54G wireless router. I, personally, have three of these on my network &#8212; one as the primary access point and router and two as bridged repeaters &#8212; on which I have used several versions of dd-wrt. (I&#8217;ve also used Sveasoft and Hyper-WRT on these [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dd-wrt.com">DD-WRT</a> is, by far, my favorite third-party firmware for the <a href="http://en.wikipedia.org/wiki/Linksys_WRT54G_series">Linksys WRT54G wireless router</a>.  I, personally, have three of these on my network &#8212; one as the primary access point and router and two as bridged repeaters &#8212; on which I have used several versions of dd-wrt.  (I&#8217;ve also used Sveasoft and Hyper-WRT on these devices.)</p>
<p>Previously, I have endured spectacular failure when trying to flash version 8 devices.  <em></em> <em>&lt;The sound of bricks dropping rings out in the distance.&gt;</em> (My devices are all version 2.  The Wikipedia article I linked to above explains the differences in the hardware versions.)  It turns out, the critical misunderstanding I had related to flashing the stock firmware with vxWorksKiller (prior to transferring the DD-WRT image to the router via TFTP).  I did not realize that the upload of vxWorksKiller needed to be done from a special management screen that is only accessible after unplugging the router, holding down the reset button while plugging the router back in, and continuing to hold the reset button for 20 seconds.  This implies that the upload <em>should not</em> be done from the default firmware&#8217;s upgrade page.  This understanding was gained this week when building a PC, and flashing two routers, for a friend of mine.</p>
<p>Given that the preponderance of WRT54Gs on shelves now are version 8.x, this realization bodes well for me in future purchases.<!-- Web Stats --> <!-- End Web Stats --></p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2009%2F05%2Fdd-wrt-on-the-wrt54g-v8%2F';
  addthis_title  = 'DD-WRT+on+the+WRT54G+v8';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2009/05/dd-wrt-on-the-wrt54g-v8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Core Dumps in Ubuntu</title>
		<link>http://www.coreygallon.com/2009/05/core-dumps-in-ubuntu/</link>
		<comments>http://www.coreygallon.com/2009/05/core-dumps-in-ubuntu/#comments</comments>
		<pubDate>Wed, 06 May 2009 03:25:01 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>

		<guid isPermaLink="false">http://www.coreygallon.com/?p=166</guid>
		<description><![CDATA[I resolved this year that I would take time to pursue one of my passions &#8212; computer science. As such, I am learning how to write applications for Linux. I&#8217;ve just spent 30 frustrating minutes trying to figure out why on earth my deliberate segmentation fault in the small C program I have written is [...]]]></description>
			<content:encoded><![CDATA[<p>I resolved this year that I would take time to pursue one of my passions &#8212; computer science.  As such, I am learning how to write applications for Linux.  I&#8217;ve just spent 30 frustrating minutes trying to figure out why on earth my deliberate segmentation fault in the small C program I have written is not producing a core dump in Ubuntu 9.04.  It turns out that Ubuntu <em>disables</em> core dumps in Bash by default.  The fix is simple enough &#8212; use the <code>ulimit</code> command to enable core dumps.</p>
<pre>bash$ ulimit -c 100</pre>
<p>In this case I have enabled core dumps and given them a limit of 100 blocks.  Problem solved!  Hopefully this makes it into the search engines and helps someone else frustrated by this same issue.</p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2009%2F05%2Fcore-dumps-in-ubuntu%2F';
  addthis_title  = 'Core+Dumps+in+Ubuntu';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2009/05/core-dumps-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Addon Domains at HostGator</title>
		<link>http://www.coreygallon.com/2007/07/addon-domains-at-hostgator/</link>
		<comments>http://www.coreygallon.com/2007/07/addon-domains-at-hostgator/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 16:13:09 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[General Posts]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>
		<category><![CDATA[web hosting]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.coreygallon.com/2007/07/11/addon-domains-at-hostgator/</guid>
		<description><![CDATA[This site is, as I&#8217;ve mentioned previously, hosted on a Linux server I rent from HostGator. I ran into a bit of trouble when using &#8220;addon domains&#8221; with their service which I have meant to document for some time now. I read the knowledgebase article at HostGator Support on setting up addon domains which warns [...]]]></description>
			<content:encoded><![CDATA[<p>This site is, <a href="http://www.coreygallon.com/2007/02/28/shift8net-migration/">as I&#8217;ve mentioned previously</a>, hosted on a Linux server I rent from HostGator.  I ran into a bit of trouble when using &#8220;addon domains&#8221; with their service which I have meant to document for some time now.  </p>
<p>I read <a href="http://support.hostgator.com/index.php?_m=knowledgebase&#038;_a=viewarticle&#038;kbarticleid=81">the knowledgebase article at HostGator Support on setting up addon domains</a> which warns at the top of the article:</p>
<blockquote><p>&#8220;Before you can add an addon domain you must change the name servers for the domain name to the ones provided for your hosting account. You cannot create an addon domain if your DNS for the site you are trying to add hasn&#8217;t propagated yet.&#8221;</p></blockquote>
<p>I was exact in following these instructions and waited 3 days for the DNS changes I had made at GoDaddy (where I purchased and manage the domains) to propagate.  Ultimately, they did not.  </p>
<p>The solution to the problem was to setup the addon domain at HostGator, via the cPanel, immediately after making the DNS changes to the domain.  I&#8217;m not sure if this is an issue unique to GoDaddy domains &#8212; I imagine it is not.  It seems that the documentation provided by HostGator is inaccurate in this regard.</p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2007%2F07%2Faddon-domains-at-hostgator%2F';
  addthis_title  = 'Addon+Domains+at+HostGator';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2007/07/addon-domains-at-hostgator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Repairing Scratched DVDs and CDs</title>
		<link>http://www.coreygallon.com/2007/07/repairing-scratched-dvds-and-cds/</link>
		<comments>http://www.coreygallon.com/2007/07/repairing-scratched-dvds-and-cds/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 16:04:44 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[General Posts]]></category>
		<category><![CDATA[CD]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[household]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>

		<guid isPermaLink="false">http://www.coreygallon.com/2007/07/11/repairing-scratched-dvds-and-cds/</guid>
		<description><![CDATA[This is a fairly useless piece of trivia, but it saved a recent movie rental experience for me so I figured I&#8217;d share it. I typically wash scratched or otherwise unreadable DVDs or CDs in warm, soapy water and then dry them with a soft, non-abrasive cloth. Discs which are not readable after this washing [...]]]></description>
			<content:encoded><![CDATA[<p>This is a fairly useless piece of trivia, but it saved a recent movie rental experience for me so I figured I&#8217;d share it.</p>
<p>I typically wash scratched or otherwise unreadable DVDs or CDs in warm, soapy water and then dry them with a soft, non-abrasive cloth.  Discs which are not readable after this washing can be repaired in another manner.  Scratched &#8212; even significantly scratched &#8212; DVDs and CDs can be &#8220;repaired&#8221; by rubbing conditioner into the surface of the data-side of the disc. I met success in this endeavor by pouring conditioner liberally onto the surface of the DVD &#8212; I used a blob roughly the size of a quarter &#8212; and then rubbing it all over the surface until most of it disappeared.  There was some residual conditioner left on the disc so I wiped it off with a tissue, being careful to not leave tissue particles behind.</p>
<p>The DVD was really in bad shape when I got it &#8212; the movie hardly played at all &#8212; but I managed to play through the entire movie with only a few skips after the conditioner-fix.  </p>
<p>I&#8217;m certainly open to hearing other methods of fixing scratches on optical discs!</p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2007%2F07%2Frepairing-scratched-dvds-and-cds%2F';
  addthis_title  = 'Repairing+Scratched+DVDs+and+CDs';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2007/07/repairing-scratched-dvds-and-cds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broadcom 43xx Wireless Card in Linux</title>
		<link>http://www.coreygallon.com/2007/02/broadcom-43xx-wireless-card-in-linux/</link>
		<comments>http://www.coreygallon.com/2007/02/broadcom-43xx-wireless-card-in-linux/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 04:18:56 +0000</pubDate>
		<dc:creator>captivus</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[search engine fodder]]></category>
		<category><![CDATA[SEF]]></category>

		<guid isPermaLink="false">http://corey.shift8.net/2007/02/16/broadcom-43xx-wireless-card-in-linux/</guid>
		<description><![CDATA[Today I finally resolved what has been one of the most frustrated Linux issues I have faced yet &#8212; getting my bloody Dell Truemobile 1300 wireless card (stock in my Dell Inspiron 5100 notebook) to function in Linux. The problem has been that those bastards at Broadcom &#8212; the corporation that manufactures the controller for [...]]]></description>
			<content:encoded><![CDATA[<p>Today I finally resolved what has been one of the most frustrated Linux issues I have faced yet &#8212; getting my bloody Dell Truemobile 1300 wireless card (stock in my Dell Inspiron 5100 notebook) to function in Linux.  The problem has been that those bastards at Broadcom &#8212; the corporation that manufactures the controller for the card &#8212; have not released Linux drivers for this controller.  Prior to today, I have struggled trying to wrap my Windows driver in a piece of Linux software called <em>ndiswrapper</em>.  I have, as it turns out, found two ways to finally get the blasted card to work! <span id="more-18"></span></p>
<p>(Note:  Before following the procedures outlined below, I had downloaded a tested driver &#8212; as per the <a href="http://ndiswrapper.sourceforge.net/mediawiki/index.php/List">ndiswrapper wiki</a> &#8212; for the Dell Truemobile 1300 MPCI card.  The recommended driver can be found <a href="http://ftp.us.dell.com/network/R90501.EXE">here</a>.)</p>
<p>(Additional note:  This process was followed in Fedora Core 6 &#8212; I can only vouch for it working in this environment, although I imagine it will work in most distributions.)</p>
<p><strong>Solution 1:  bcm43xx-fwcutter</strong><br />
Today I found a fantastic little program called <em>bcm43xx-fwcutter</em>.  In essence, it extracts the driver from the Windows driver file, and incorporates it into Linux&#8217; native support for the bcm43xx controller.  After finding this gem, the entire process &#8212; including download and installation &#8212; took about 5 minutes.</p>
<p>Here is what I did:</p>
<p>1.)  Download bcm43xx-fwcutter from <a href="http://developer.berlios.de/project/showfiles.php?group_id=4547">BerliOS.de</a>.  (Note:  be sure to get the correct file for your version of the controller!)</p>
<p>2.)  Unarchive and compile the tool:<br />
<code>tar -xvf bcm43xx-fwcutter-006.tar.bz2<br />
cd ./bcm43xx-fwcutter-006<br />
make</code></p>
<p>3.)  Run the tool to extract the driver from the Windows driver file and install it in Linux:<br />
<code>bcm43xx-fwcutter -w /lib/firmware bcmwl5.sys</code></p>
<p>4.)  Remove the bcm43xx module from the kernel then add it back with the new driver:<br />
<code>rmmod bcm43xx<br />
modprobe bcm43xx</code></p>
<p>5.)  Configure the wireless card (substituting your interface name where appropriate):<br />
<code>iwlist eth1 scan<br />
iwconfig eth1 essid <em>(SSID here)</em><br />
iwconfig eth1 key restricted <em>(WEP key here)</em><br />
dhclient eth1</code></p>
<p>Voila!  It was a truly effortless process after having extracted the driver using bcm43xx-fwcutter.  My hat goes off to the developers &#8212; you lot have truly made Linux life much easier for owners of BCM43xx controller-based wireless cards!</p>
<p><em>Drawback to solution 1</em>: The bcm43xx driver &#8212; the driver used in the process above &#8212; will limit the wireless card to 11mbps.  GRRR!!</p>
<p><strong>Solution 2:  ndiswrapper</strong><br />
Ndiswrapper &#8212; available at SourceForge <a href="http://ndiswrapper.sourceforge.net">here</a> &#8212; is a linux-based wrapper for Windows wireless card drivers.  To quote the project page, &#8220;Some vendors do not release specifications of the hardware or provide a Linux driver for their wireless network cards. This project implements Windows kernel API and NDIS (Network Driver Interface Specification) API within Linux kernel. A Windows driver for wireless network card is then linked to this implementation so that the driver runs natively, as though it is in Windows, without binary emulation.&#8221;</p>
<p>Ndiswrapper can be a bit of a pain to implement, but I have managed to pare down the myriad instructions I found in various forums into several easy-to-follow steps.</p>
<p>1.)  Download ndiswrapper from <a href="http://downloads.sourceforge.net/ndiswrapper/ndiswrapper-1.37.tar.gz?modtime=1170451496&#038;big_mirror=0">its SourceForge project page</a>.  (As of this posting, the current version is 1.37)</p>
<p>2.)  Unarchive and compile ndiswrapper:<br />
<code>tar -zxvf ndiswrapper-1.37.tar.gz<br />
cd ./ndiswrapper-1.37<br />
make distclean<br />
make<br />
(As <em>root</em>) make install</code></p>
<p>3.)  Ensure that the native bcm43xx driver is unloaded and add it to the module blacklist:<br />
<code>rmmod bcm43xx<br />
vi /etc/modprobe.d/blacklist<br />
Add a line: <em>blacklist bcm43xx</em></code></p>
<p>4.)  Install the Windows driver:<br />
<code>ndiswrapper -i bcmwl5.inf</code></p>
<p>5.)  Run <em>depmod</em> and ensure that there are no errors:<br />
<code>depmod -a</code></p>
<p>6.)  Add the ndiswrapper module to the kernel:<br />
<code>modprobe ndiswrapper</code></p>
<p>7.)  Configure the wireless adapter (substituting your interface name where appropriate):<br />
<code>iwlist eth1 scan<br />
iwconfig eth1 essid <em>(SSID here)</em><br />
iwconfig eth1 key restricted <em>(WEP key here)</em><br />
dhclient eth1</code></p>
<p>8.)  Finally, to prevent having to reconfigure the card the next time I reboot, I edit <em>/etc/sysconfig/network-scripts/ifcfg-eth1</em> and add the following configuration strings:<br />
<code>ESSID=<em>(your SSID here)</em><br />
KEY=<em>(your WEP key here)</em></code></p>
<p>Additionally, add the following line to /etc/modprobe.conf:<br />
<code>options ndiswrapper if_name=eth1<br />
alias eth1 ndiswrapper</code></p>
<p>Ndiswrapper is a much better solution for operating BCM43xx controller-based wireless cards in Linux, in my opinion.  This is largely due to the wrapper&#8217;s ability to enable 802.11g (i.e. 54mbps) transfer rates for the card.  The bcm43xx driver limits the card to 802.11b rates (i.e. <= 11mbps).  (Note:  Because ndiswrapper creates a kernel module, if you upgrade your kernel you will have to rebuild the module for the new kernel.  Just recompile ndiswrapper and reinsert the kernel module.)</p>
<p>There it is!  I hope that my documentation of this process will help others who find themselves in a similar bind.</p>
<div style="text-align:center"><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.coreygallon.com%2F2007%2F02%2Fbroadcom-43xx-wireless-card-in-linux%2F';
  addthis_title  = 'Broadcom+43xx+Wireless+Card+in+Linux';
  addthis_pub    = 'coreygallon';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.coreygallon.com/2007/02/broadcom-43xx-wireless-card-in-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

