<?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>Jeff Barr - Horror/SciFi/Fantasy Pulp Fiction Writer, Coder, Hacker, Musician &#187; Linux</title>
	<atom:link href="http://jeffbarr.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeffbarr.com</link>
	<description>Schlock and awe.</description>
	<lastBuildDate>Sat, 21 Jan 2012 00:41:33 +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>Bash configuration notes</title>
		<link>http://jeffbarr.com/linux/bash-configuration-notes/</link>
		<comments>http://jeffbarr.com/linux/bash-configuration-notes/#comments</comments>
		<pubDate>Thu, 12 May 2011 19:44:13 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jeffbarr.com/?p=152</guid>
		<description><![CDATA[vi .bashrc is for current user only. sudo vi /etc/bash.bashrc is for all users &#8211; hence the sudo. in .bashrc, add: export PS1=&#8221;\e[0;34m[\u@\h \W]\$ \e[m&#8221; to permanently change the bash prompt color. List of Color codes: Black 0;30 Blue 0;34 Green 0;32 Cyan 0;36 Red 0;31 Purple 0;35 Brown 0;33 Blue 0;34 Green 0;32 Cyan [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>vi .bashrc</p></blockquote>
<p>is for current user only.</p>
<blockquote><p>sudo vi /etc/bash.bashrc</p></blockquote>
<p>is for all users &#8211; hence the sudo. </p>
<p>in .bashrc, add: </p>
<blockquote><p>export PS1=&#8221;\e[0;34m[\u@\h \W]\$ \e[m&#8221;</p></blockquote>
<p>to permanently change the bash prompt color. </p>
<p>List of Color codes:</p>
<ul>
<li>Black	0;30
</li>
<li>Blue	0;34
</li>
<li>Green	0;32
</li>
<li>Cyan	0;36
</li>
<li>Red	0;31
</li>
<li>Purple	0;35
</li>
<li>Brown	0;33
</li>
<li>Blue	0;34
</li>
<li>Green	0;32
</li>
<li>Cyan	0;36
</li>
<li>Red	0;31
</li>
<li>Purple	0;35
</li>
<li>Brown	0;33</li>
</ul>
<p>Replace digit 0 with 1 to get light color version.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffbarr.com/linux/bash-configuration-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginner Rails: Heroku</title>
		<link>http://jeffbarr.com/development/beginner-rails-heroku/</link>
		<comments>http://jeffbarr.com/development/beginner-rails-heroku/#comments</comments>
		<pubDate>Sat, 09 Apr 2011 09:28:52 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://jeffbarr.com/?p=140</guid>
		<description><![CDATA[Heroku is pretty cool: a free host for your rails apps that also works really well with git/github. Since my current hosting has some pretty odd hosting for rails, I&#8217;ll be using heroku to host my demo apps. While adding a demo app, I received this error: heroku keys:add &#8230;/custom_require.rb:36:in `require&#8217;: no such file to [...]]]></description>
			<content:encoded><![CDATA[<p>Heroku is pretty cool: a free host for your rails apps that also works really well with git/github. Since my current hosting has some pretty odd hosting for rails, I&#8217;ll be using heroku to host my demo apps. While adding a demo app, I received this error:</p>
<p>heroku keys:add  &#8230;/custom_require.rb:36:in `require&#8217;: no such file to load &#8212; readline (LoadError)</p>
<p>According to <a href="http://dirk.net/2009/04/05/no-such-file-to-load-readline-loaderror-when-running-scriptconsole/">dirk.net</a>, this error is due to missing libraries after installing ruby from source. </p>
<p>The provided fix worked just fine for me:</p>
<blockquote><p>    sudo apt-get install libncurses5-dev<br />
    sudo apt-get install libreadline5-dev</p></blockquote>
<p>After that, I cd to where I unpacked the Ruby source and ran:</p>
<blockquote><p>ruby extconf.rb<br />
make<br />
sudo make install</p></blockquote>
<p>heroku keys:add worked fine from there. Thanks to <a href="http://dirk.net/">dirk.net</a> for the fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffbarr.com/development/beginner-rails-heroku/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginner Rails: Ruby on Rails on Ubuntu 10.04</title>
		<link>http://jeffbarr.com/development/ruby-on-rails-on-ubuntu-10-04/</link>
		<comments>http://jeffbarr.com/development/ruby-on-rails-on-ubuntu-10-04/#comments</comments>
		<pubDate>Sat, 09 Apr 2011 08:42:25 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://jeffbarr.com/?p=134</guid>
		<description><![CDATA[In my quest to get ruby on rails up and running on all three OSes tat live in my house (windows, mac OSX leopard, linux), I ran into a snag in the install process on Ubuntu 10.04. Ruby v 1.8.7 was alive and well, however, following the steps at rubyonrails.org, when I tried to update [...]]]></description>
			<content:encoded><![CDATA[<p>In my quest to get ruby on rails up and running on all three OSes tat live in my house (windows, mac OSX leopard, linux), I ran into a snag in the install process on Ubuntu 10.04. </p>
<p>Ruby v 1.8.7 was alive and well, however, following the steps at <a href="http://www.rubyonrails.org">rubyonrails.org</a>, when I tried to update gem:<br />
sudo gem install rails<br />
OR<br />
sudo gem update &#8211;system<br />
I received this error:</p>
<blockquote><p>/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require&#8217;:<br />
    no such file to load &#8212; zlib (LoadError)</p></blockquote>
<p>Oddly enough, I received the same error when trying to create a rails app or start the rails server &#8211; even though rails *seemed* to be installed. Mysterious!<br />
I had previously installed ruby via the synaptic package manager, gotten the same message, then tried again via sudo apt-get install ruby-full build-essential, none of which had relieved the issue.<br />
So, searching the googlenet, I came across this post:<br />
<a href="http://thoughtsincomputation.com/posts/ubuntu-and-ruby-191-zlib-missing">http://thoughtsincomputation.com/posts/ubuntu-and-ruby-191-zlib-missing</a><br />
He had run into the same issue, and noted that the actual missing library was called zlib1g. I checked synaptic, and I had that installed &#8211; but, he noted that he had compiled Ruby from source, which I hadn&#8217;t tried. So, following his instructions:<br />
sudo apt-get install zlib1g-dev</p>
<p>I then went to <a href="http://www.ruby-lang.org/en/downloads/">http://www.ruby-lang.org/en/downloads/</a> and got the source for version 1.9.2 (since this was the version I&#8217;m currently running on windows). I compiled ruby1.9.2 from source, and the problem was resolved.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffbarr.com/development/ruby-on-rails-on-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The User Controls The OS, Not The Other Way Around</title>
		<link>http://jeffbarr.com/writing/the-user-controls-the-os-not-the-other-way-around/</link>
		<comments>http://jeffbarr.com/writing/the-user-controls-the-os-not-the-other-way-around/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 06:57:29 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://jeffbarr.com/?p=51</guid>
		<description><![CDATA[I am not a Koan!]]></description>
			<content:encoded><![CDATA[<p>I am not a Koan!</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffbarr.com/writing/the-user-controls-the-os-not-the-other-way-around/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Wireless Adapter Working in Ubuntu 9.10 With RTL8192SE Linux driver</title>
		<link>http://jeffbarr.com/linux/getting-wireless-adaptor-working-in-ubuntu-9-10-with-rtl8192se-linux-driver/</link>
		<comments>http://jeffbarr.com/linux/getting-wireless-adaptor-working-in-ubuntu-9-10-with-rtl8192se-linux-driver/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 23:41:12 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jeffbarr.com/?p=18</guid>
		<description><![CDATA[If you have a Toshiba laptop, there&#8217;s a good chance it has a Realtek RTL8191SE Wireless LAN 802.11n PCI-E NIC or some minor variation of same. Realtek apparently doesn&#8217;t make it very easy to find drivers for linux for this card &#8211; the person who posted the driver said he got it from Realtek, and [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a Toshiba laptop, there&#8217;s a good chance it has a Realtek RTL8191SE Wireless LAN 802.11n PCI-E NIC or some minor variation of same. Realtek apparently doesn&#8217;t make it very easy to find drivers for linux for this card &#8211; the person who posted the driver said he got it from Realtek, and I don&#8217;t have any real reason to doubt that. It works for me, in  any case. Here are the steps I took to be able to use WiFi on my Toshiba Satellite P505. YMMV, so feel free to give a thorough read of the problem and solutions available at the <a href="http://https://bugs.launchpad.net/ubuntu/+source/linux/+bug/401126">Ubuntu help/bug forums</a>. The driver tarball is available to download from that thread. rtl8192se_linux_2.6.0010.1012.2009.tar.gz  (1.3 MiB, application/x-tar) </p>
<blockquote><p>only load the driver module to kernel and start up nic.<br />
	 1. Build up the drivers from the source code<br />
	  make<br />
         2. Copy firmware to /lib/firmware/ or /lib/firmware/(KERNEL_VERSION)/<br />
            cp -rf firmware/RTL8192SE /lib/firmware<br />
          or<br />
            cp -rf firmware/RTL8192SE /lib/firmware/(KERNEL_VERSION)<br />
          Note: This depends on whether (KERNEL_VERSION) subdirectory exists under /lib/firmware</p>
<p>	 3. Load driver module to kernel and start up nic.<br />
	  ./wlan0up</p></blockquote>
<p>And now back to writing.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffbarr.com/linux/getting-wireless-adaptor-working-in-ubuntu-9-10-with-rtl8192se-linux-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

