<?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>Technitribe &#187; GNU/Linux</title>
	<atom:link href="http://blog.lnx.cx/category/gnulinux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lnx.cx</link>
	<description>not at all like a diatribe</description>
	<lastBuildDate>Mon, 09 Jan 2012 00:35:24 +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>Fedora 15 and the Lenovo T520 Thinkpad</title>
		<link>http://blog.lnx.cx/2011/09/14/fedora-15-and-the-lenovo-t520-thinkpad/</link>
		<comments>http://blog.lnx.cx/2011/09/14/fedora-15-and-the-lenovo-t520-thinkpad/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 06:27:22 +0000</pubDate>
		<dc:creator>Tim Bielawa</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Xorg]]></category>
		<category><![CDATA[fedora 14]]></category>
		<category><![CDATA[fedora 15]]></category>
		<category><![CDATA[kms]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[lenovo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[T520]]></category>
		<category><![CDATA[thinkpad]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://blog.lnx.cx/?p=161</guid>
		<description><![CDATA[I just went through a harrowing experience of attempting to install Fedora 14 on a Lenovo T520 Thinkpad with my good friend, abutcher. The issue presented itself first as X failing to start after the installer loaded. After switching into low graphics mode we were able to go through the installer successfully. But that did [...]]]></description>
			<content:encoded><![CDATA[<p>I just went through a harrowing experience of attempting to install Fedora 14 on a Lenovo T520 Thinkpad with my good friend, <a href="http://afrolegs.com">abutcher</a>. The issue presented itself first as X failing to start after the installer loaded. After switching into low graphics mode we were able to go through the installer successfully. But that did not solve our problems completely. After booting into the desktop we were unable to change the display resolution from 1280&#215;1024 to the native 1600&#215;900.</p>
<p>We started as most people would, Googling for numerous combinations of &#8220;fedora 14 thinkpad T520&#8243;, &#8220;sandybridge linux&#8221;, &#8220;sandybridge fedora&#8221;, etc. The results were surprising. Numerous sources report the T520 works with &#8220;<a href="http://mo.morsi.org/blog/node/344">no special setup needed</a>.&#8221; This was not true for us. We Tried installing a newer Kernel from rawhide and the newer<code> xorg-x11-drv-intel</code> driver (2.16). This did not fix the issue.</p>
<p>To compound our confusion, we noticed numerous posts referencing a BIOS option to disable the Nvidia 4200M (Optimus) card. Our system showed no signs of said card or any &#8220;internal&#8221;/&#8221;external&#8221; BIOS option.</p>
<p>Next we attempted installing Fedora 15. *ugh* GNOME 3 was not on our list of things to try today. But it was all we could think of.</p>
<p>This also did not work.</p>
<p>I started doing some heavy research. Somehow I ended up researching Kernel Mode Setting (KMS). The <a href="http://wiki.debian.org/KernelModesetting">Debian Wiki</a> was an especially useful resource for this.</p>
<blockquote><p>Kernel Mode Setting (KMS) provides faster mode switching for X and console. It also provides native-resolution VTs on some laptops and netbooks which, prior to this, would use some standard mode, e.g. 800×600 on a 1024×600 panel.</p></blockquote>
<p>This was relevant to my interests. &#8220;KMS provides native-resolution virtual terminals&#8221; you say? A quick trip to <code>/boot/grub/grub.conf</code> showed that <strong>we were booting our kernel with the nomodeset option</strong>. We made a new boot entry (protip: never change your boot loader without leaving a known &#8220;working&#8221; entry) and omitted the nomodeset option. We also set the value of the default variable to our new entry, set <code>timeout</code> to 10, and commented out the <code>hiddenmenu</code> directive.</p>
<p>This <strong>almost</strong> worked. We removed the xorg config file (<code>/etc/X11/xorg.conf</code>) and restarted the computer for good measure.</p>
<p>voila.</p>
<p>Our Lenovo Thinkpad T520 was booting X using the laptops native resolution.</p>
<p>Just to clarify:</p>
<ul>
<li>Not ALL T520s come with the dual Intel Integrated Graphcs + Nvidia combination (ours did not)</li>
<li>This can really throw you off</li>
<li>The <code>xorg-x11-drv-nouveau</code> package/driver had nothing to do with this. That package provides an Nvidia driver (which did not affect us)</li>
<li>The <code>kmod-nvidia</code> package/driver also has nothing to do with this</li>
<li>This laptop has an integrated Intel HD 3000 Graphics chipset</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.lnx.cx/2011/09/14/fedora-15-and-the-lenovo-t520-thinkpad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lots more docs published on PeopleAreDucks.com</title>
		<link>http://blog.lnx.cx/2010/09/22/lots-more-docs-published-on-peopleareducks-com/</link>
		<comments>http://blog.lnx.cx/2010/09/22/lots-more-docs-published-on-peopleareducks-com/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 00:38:09 +0000</pubDate>
		<dc:creator>Tim Bielawa</dc:creator>
				<category><![CDATA[DocBook]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/?p=134</guid>
		<description><![CDATA[While I&#8217;ve been gone from the blogging world I&#8217;ve still been working on projects. Mostly I&#8217;ve been working on documentation. Debian/Fedora Package Management comparison. Since switching my Slice to Fedora from Ubuntu I&#8217;ve picked up plenty of commands for managing packages. This is just a quick wiki page giving the roughly equivalent commands from Debian/Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>While I&#8217;ve been gone from the blogging world I&#8217;ve still been working on projects. Mostly I&#8217;ve been working on documentation.</p>
<ul>
<li><a href="http://wiki.peopleareducks.com/FedoraPackageManagement">Debian/Fedora Package Management</a> comparison. Since switching my <a href="https://manage.slicehost.com/customers/new?referrer=8f0b1ecda01d4deda9c14f470d8d6c3b" target=_new>Slice</a> to Fedora from Ubuntu I&#8217;ve picked up plenty of commands for managing packages. This is just a quick wiki page giving the roughly equivalent commands from Debian/Ubuntu to Fedora/RedHat.</li>
<li><a href="http://peopleareducks.com/docs/regexp-basics/output/">regexp basics</a> is a brief tutorial on regular expressions. My roommate <a href="http://afrolegs.com">abutcher</a> put it together for his WVU CS210 (Advanced File and Data Structures) course. The <a href="http://www.docbook.org">DocBook 5</a> sources are available <a href="http://git.peopleareducks.com/docs/regexp-basics.git">in git</a>.</li>
<li>The biggest doc project I&#8217;ve been working on again (finally) is my Virtual Disk Guide aimed at power users and sysadmins. Currently it&#8217;s a <b>rough</b> draft and is constantly undergoing major changes and additions. It&#8217;s available as a <a href="http://peopleareducks.com/docs/vdg/output/Virtual-Disk-Operations.html">single HTML document</a>, <a href="http://peopleareducks.com/docs/vdg/html/">chunked into multiple pages</a>, and in <a href="http://peopleareducks.com/docs/vdg/output/Virtual-Disk-Operations.pdf">PDF format</a>. You can get the <a href="http://www.docbook.org">DocBook 5</a> formatted source to it through <a href="http://github.com/tbielawa/Virtual-Disk-Guide">my GitHub</a> account.</li>
</ul>
<p><a href="http://github.com/tbielawa/Project-Templates">My Project Templates project</a> has seen some much needed attention recently. The <a href="http://github.com/tbielawa/Project-Templates/tree/master/DocBook/">DocBook starter project</a> has been completely redone. Here&#8217;s some reasons you might want to use it.</p>
<ul>
<li>Includes a <a href="http://github.com/tbielawa/Project-Templates/blob/master/DocBook/index.xml">basic starter document</a> with most of the available informational tags present but commented out so all you need to do is uncomment the elements you need for your document.</li>
<li>Inclues a customizable <a href="http://github.com/tbielawa/Project-Templates/blob/master/DocBook/Makefile">Makefile</a> that can adapt itself to different operating systems (Debian/Ubuntu, Fedora/RedHat, and Mac OS X) by just uncommenting the proper directory paths for the schema and stylesheet files.</li>
<li>The Makefile has targets for: cleaning up, creating <a href="http://github.com/tbielawa/Project-Templates/blob/master/DocBook/.schemas.xml">schema locator files</a> for <a href="http://www.thaiopensource.com/nxml-mode/"><tt>nxml-mode</tt></a> in emacs, publishing PDFs, and publishing chunked or single HTML documents.</li>
<li> The comments in the Makefile also tell you what packages you need to install to get the schema and stylesheet files.</li>
</ul>
<p>Using the Makefile for publishing only requires having <tt>xsltproc</tt> and <tt>dblatex</tt> installed. Both of which are available through your favorite package manager.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lnx.cx/2010/09/22/lots-more-docs-published-on-peopleareducks-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desktop Upgrade Tonight</title>
		<link>http://blog.lnx.cx/2010/02/19/desktop-upgrade-tonight/</link>
		<comments>http://blog.lnx.cx/2010/02/19/desktop-upgrade-tonight/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 01:28:10 +0000</pubDate>
		<dc:creator>Tim Bielawa</dc:creator>
				<category><![CDATA[/dev/null]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OMGNEWVERSION]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/2010/02/19/desktop-upgrade-tonight/</guid>
		<description><![CDATA[Tonight I&#8217;m upgrading my desktop (&#8220;fridge&#8221;) from Fedora 11 to 12. For my own personal benefit I&#8217;ll be documenting the process. Things I want to take note of in particular include: which additional files must be backed up for system services like samba, my current partition map, and what process I used to perform the [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight I&#8217;m upgrading my desktop (&#8220;fridge&#8221;) from Fedora 11 to 12. For my own personal benefit I&#8217;ll be documenting the process. Things I want to take note of in particular include: which additional files must be backed up for system services like samba, my current partition map, and what process I used to perform the upgrade (optical media, netboot?).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lnx.cx/2010/02/19/desktop-upgrade-tonight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Because old archived logs on secure servers are pointless&#8230;</title>
		<link>http://blog.lnx.cx/2009/09/09/because-old-archived-logs-on-secure-servers-are-pointless/</link>
		<comments>http://blog.lnx.cx/2009/09/09/because-old-archived-logs-on-secure-servers-are-pointless/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 04:33:59 +0000</pubDate>
		<dc:creator>ajfarrell</dc:creator>
				<category><![CDATA[/dev/null]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/?p=83</guid>
		<description><![CDATA[Often we get Nagios alerts letting us know that your kernel is about to panic and your server is going to crash and die because read/write operations are going to FAIL MISERABLY. Obviously being a systems administrator it becomes your job to figure out what can go, what needs to stay, et al. I&#8217;ve found [...]]]></description>
			<content:encoded><![CDATA[<p>Often we get Nagios alerts letting us know that your kernel is about to panic and your server is going to crash and die because read/write operations are going to FAIL MISERABLY.</p>
<p>Obviously being a systems administrator it becomes your job to figure out what can go, what needs to stay, et al.</p>
<p>I&#8217;ve found that archived logs (logrotate) on a secure server often can be quite large. And on a low-end configuration with a server with only 40G it becomes a nuisance when you have a few Gb of data&#8230;<br />
And you all probably know this, but Tim asked when I&#8217;d blog. So&#8230; I&#8217;ll make sure!<br />
Having 40 or 50 files is a pain to manually delete. Sure, you could probably rm -f *.1 *.2 *.3 etc etc etc but that becomes too much of a pain.</p>
<p>On BSD systems there is an awesome counter called &#8216;jot&#8217;; it works exactly the opposite of the GNU command &#8216;seq&#8217;; so for a rudimentary example to remove all files it becomes a simple one liner&#8211;</p>
<ul>
<li>jot 6 1 |while read i; do rm -f *.${i};done</li>
<li>seq 1 6|while read i; do rm -f *.${i};done</li>
</ul>
<p>In Emeril fashion: BAM! You&#8217;re now out of the clear.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lnx.cx/2009/09/09/because-old-archived-logs-on-secure-servers-are-pointless/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux 101 Tutorial for LCSEE</title>
		<link>http://blog.lnx.cx/2009/08/30/linux-101-tutorial-for-lcsee/</link>
		<comments>http://blog.lnx.cx/2009/08/30/linux-101-tutorial-for-lcsee/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 03:39:20 +0000</pubDate>
		<dc:creator>Tim Bielawa</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[LCSEE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/?p=29</guid>
		<description><![CDATA[Andrew and I put together a small Linux 101 tutorial for new CS kids in our department. We collaborated on it using google docs for the outline and then google presentation to make the actual presentation.]]></description>
			<content:encoded><![CDATA[<p>Andrew and I put together a small Linux 101 tutorial for new CS kids in <a title="Lane Department of Computer Science and Electrical Engineering" href="http://csee.wvu.edu" target="_blank">our department</a>. We collaborated on it using google docs for the outline and then google presentation to make the actual presentation.</p>
<p><iframe src="http://docs.google.com/present/embed?id=dhmh54m7_55dns6mcdp" frameborder="0" width="410" height="342"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lnx.cx/2009/08/30/linux-101-tutorial-for-lcsee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing my missing locales</title>
		<link>http://blog.lnx.cx/2009/08/13/fixing-my-missing-locales/</link>
		<comments>http://blog.lnx.cx/2009/08/13/fixing-my-missing-locales/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 01:18:11 +0000</pubDate>
		<dc:creator>Tim Bielawa</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[locales fix slicehost ubuntu]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/?p=20</guid>
		<description><![CDATA[Background: I run this server through Slicehost, and I enjoy their service immensely. When you set up your first server, or rebuild an existing server you get a very minimal GNU/Linux system installed. For obvious reasons, I like this a lot too. The problem: Both the first time I built this server, and most recently [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Background:</strong> I run this server through <a href="http://slicehost.com" target="_blank">Slicehost</a>, and I enjoy their service immensely. When you set up your first server, or rebuild an existing server you get a very minimal GNU/Linux system installed. For obvious reasons, I like this a lot too.</p>
<p><strong>The problem:</strong> Both the first time I built this server, and most recently when I rebuilt it to Jaunty Jackalope, the system locales weren&#8217;t configured. I understand why this is done, that it happens doesn&#8217;t bother me. That I had a hard time finding out how to properly set my locale frustrated me a little bit.</p>
<p><strong>How do you know</strong> if your locales aren&#8217;t correctly defined? On my Jaunty Jackalope system I see messages like this:</p>
<blockquote>
<pre>locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default
locale: No such file or directory</pre>
</blockquote>
<p>I tried running <strong>dpkg-reconfigure locales</strong>, but that had no effect. Searching the Internet for the messages above provided a couple of possible solutions, but none of them looked like anything I was interested in. I&#8217;m a firm believer that if the Internet tells me to run a command with more than a couple of options, that it may work, but there is probably an easier, less cryptic solution. For example:</p>
<blockquote>
<pre>localedef -v -c -i en_US -f UTF-8 en_US.UTF-8</pre>
</blockquote>
<p>No way I&#8217;m running that. I instead searched for &#8220;slicehost locale&#8221; and found this article: <a href="http://articles.slicehost.com/2008/4/25/ubuntu-hardy-setup-page-2" target="_blank">Ubuntu Hardy setup</a>. I enjoy this much more:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">locale-gen en_US.UTF-<span style="color: #000000;">8</span>
&nbsp;
update-locale <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span></pre></div></div>

<p>Turns out that update-locale is a Debian/Ubuntu specific command. It update your systems default locale setting file. I had checked for one before running it and found that none existed yet on my system. After running those two commands above I found one had been created with &#8220;LANG=en_US.UTF-8&#8243; in it. It&#8217;s possible that running update-locale could have been all I needed to do to begin with.</p>
<p>I hope this helps some one else whose had this problem before or for the first time.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lnx.cx/2009/08/13/fixing-my-missing-locales/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

