<?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>HauntedShell &#187; Troubleshooting</title>
	<atom:link href="http://hauntedshell.com/category/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://hauntedshell.com</link>
	<description>Just another Hauntedshell.com weblog</description>
	<lastBuildDate>Sat, 01 May 2010 20:05:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Finally: CSS &amp; XHTML Compliant</title>
		<link>http://hauntedshell.com/2008/07/23/finally-css-xhtml-compliant/</link>
		<comments>http://hauntedshell.com/2008/07/23/finally-css-xhtml-compliant/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 09:28:16 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.hauntedshell.com/?p=41</guid>
		<description><![CDATA[Haunted Shell validates as both XHTML and CSS compliant. There were a few minor issues with tag placement and a misplaced quote I had to fix up. Easiest validation I&#8217;ve ever done. Part of the reason validation was so easy was because the template (Changing man by Stuff And Nonsense) I built my theme from [...]]]></description>
			<content:encoded><![CDATA[<p>Haunted Shell validates as both XHTML and CSS compliant. There were a few minor issues with tag placement and a misplaced quote I had to fix up. Easiest validation I&#8217;ve ever done. Part of the reason validation was so easy was because the template (Changing man by <a href="http://www.stuffandnonsense.co.uk/">Stuff And Nonsense</a>) I built my theme from was so elegant and very compliant.</p>
<p>The main issue however was caused by the thickbox.css file used by the <a href="http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/">NextGen Gallery plugin</a>. <span id="more-41"></span>That I fixed by using a more compliant thickbox.css file from <a href="http://thestable.info/?p=18">TheStable.info</a>.That fixed my validation problems but unfortunately does look quite as good. I tried using the <a href="http://uninuni.com/wordpress-plugin-nextgen-smooth-gallery/">NextGen Smooth Gallery</a> plugin which makes allows me to use <a href="http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/">NextGen Gallery&#8217;s</a> excellent managament features and <a href="http://smoothgallery.jondesign.net/showcase/gallery/">Smooth Gallery&#8217;s</a> drool-inducing presentation. Bad idea, even more CSS errors.</p>
<p>Turns out all I needed to do was download the <a href="http://www.4mj.it/slimbox-wordpress-plugin/">SlimBox</a> plugin, enable it then go into the NextGen gallery settings and change the thumbnail effect to lightbox. That&#8217;s all. I get standards complaince <strong>and</strong> drool-inducing effects.</p>
<p>Edit: However, it seems like posts in which I include galleries won&#8217;t validate a XHTML compliant. That should not affect the home page itself since none of the galleries appear there. Have to take a further look into this.</p>
<p>Update: Turns out the problem wasn&#8217;t caused by the NextGen Gallery plugin(at least not directly). Seems like the NGG plugin may create validation problems for you if they are explicitly placed within tags(<em>Thanks, Mule!</em>). So I think I now have my layout and design problems licked. Now to focus on writing. <img src='http://hauntedshell.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2008/07/23/finally-css-xhtml-compliant/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CPU Frequency Scaling for Dell Dimension 3000</title>
		<link>http://hauntedshell.com/2008/06/22/cpu-frequency-scaling-for-dell-dimension-3000/</link>
		<comments>http://hauntedshell.com/2008/06/22/cpu-frequency-scaling-for-dell-dimension-3000/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 13:37:30 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.hauntedshell.com/?p=14</guid>
		<description><![CDATA[I use a Dell Dimension 3000 at home. It has a 2.8Ghz Pentium 4 so it generates a  bit of heat and power usage. I generally tend to enable CPU frequency scaling on any computer I use. So I went through the normal procedure I use. First: kwame@amaterasu:~$ sudo dpkg-reconfigure gnome-applets Select yes when I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>I use a Dell Dimension 3000 at home. It has a 2.8Ghz Pentium 4 so it generates a  bit of heat and power usage. I generally tend to enable CPU frequency scaling on any computer I use. <span id="more-14"></span>So I went through the normal procedure I use. First:</p>
<p><code>kwame@amaterasu:~$ sudo dpkg-reconfigure gnome-applets</code></p>
<p><a href="http://www.hauntedshell.com/wp-content/uploads/2008/06/cpufreq-1.jpg"><img class="aligncenter size-medium wp-image-15" title="Set up suid on gnome-applets" src="http://www.hauntedshell.com/wp-content/uploads/2008/06/cpufreq-1-300x187.jpg" alt="allow suid for cpufreq-selector" width="300" height="187" /></a><br />
Select yes when I&#8217;m asked if I want to allow cpufreq-selector to run with root priveleges.</p>
<p><a href="http://www.hauntedshell.com/wp-content/uploads/2008/06/cpufreq-2.jpg"><img class="aligncenter size-medium wp-image-16" title="CPU Frequency Scaling Applet for GNOME" src="http://www.hauntedshell.com/wp-content/uploads/2008/06/cpufreq-2-300x262.jpg" alt="CPU Frequency Scaling Applet for GNOME" width="300" height="262" /></a><br />
Then I add the CPU Frequency Scaling Monitor applet to the panel. I then select my desired scaling governor or speed and voila!</p>
<p>Not so with this computer. For some reason, it decided that &#8220;CPU frequency scaling is unsupported&#8221;. Turns out the kernel module for frequency scaling was not being loaded. So, it was off to the commandline:</p>
<p><code>kwame@amaterasu:~$ sudo modprobe p4_clockmod</code></p>
<p>Depending on your processor, you might have to change the module. See below.</p>
<p>Pentium 4, Celeron D, Pentium D, Celeron M :<strong> p4_clockmod</strong><br />
Pentium M, Core Duo, Core 2 Duo: <strong>speedstep_centrino</strong><br />
AMD K6: <strong>powernow_k6&gt;</strong><br />
AMD K7 (Athlon, Duron, Sempron 32): <strong>powernow_k7</strong><br />
AMD K8 (Athlon 64, Turion 64, Sempron 64, Opteron 64): <strong>powernow_k8</strong><br />
None of above: <strong>acpi_cpufreq</strong> (may or may not work!)</p>
<p>Next is to load a module for your policy governor- which is a rule that determines how the scaling is carried out.</p>
<p><code>kwame@amaterasu:~$ sudo modprobe cpufreq_ondemand</code></p>
<p>There are 4 governors I know about &#8211; ondemand, performance, conservative and powersave. To load the appropriate module, you do a modprobe cpufreq_&lt;nameofgovernor&gt;.</p>
<p>Once that is done. I remove the CPU Frequency Scaling Monitor applet and add it again. Now that&#8217;s better.</p>
<p>One more thing to do. Use your favorite editor to open up /etc/modules and add the modules you used, each to a line and save. Now when you boot up, everything should be fine and dandy.</p>
<p>NB: The commands  were meant for a Dell Dimension 3000 but you should be to tweak them for your own setup.<strong> Remember,  ask for clarification when in doubt </strong>. You can probably get some more details from <a title="Green PCs: CPU frequency scaling in Linux" href="http://polishlinux.org/linux/debian/green-pcs-cpu-frequency-scaling-in-linux/">PolishLinux</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2008/06/22/cpu-frequency-scaling-for-dell-dimension-3000/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>All that glitters is not beryl</title>
		<link>http://hauntedshell.com/2007/10/15/all_that_glitters_is_not_beryl/</link>
		<comments>http://hauntedshell.com/2007/10/15/all_that_glitters_is_not_beryl/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 22:11:33 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Beryl]]></category>
		<category><![CDATA[Eye Candy]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://hauntedshell.com/2007/10/15/all_that_glitters_is_not_beryl/</guid>
		<description><![CDATA[<p>
I was trying to install Beryl on a friend's machine earlier today and I run into a few speed bumps. Beryl would exit immediately I started it and  gave me this message:
</p>
<p>
<code>
/usr/bin/compiz: GLX_EXT_texture_from_pixmap is missing <br />
/usr/bin/compiz: Failed to manage screen: 0 <br />
/usr/bin/compiz: No manageable screens found on display :0.0</code>
</p>]]></description>
			<content:encoded><![CDATA[<p>
I was trying to install Beryl on a friend&#8217;s machine earlier today and I run into a few speed bumps. Beryl would exit immediately I started it and  gave me this message:
</p>
<p>
<code>/usr/bin/compiz: GLX_EXT_texture_from_pixmap is missing <br />
/usr/bin/compiz: Failed to manage screen: 0 <br />
/usr/bin/compiz: No manageable screens found on display :0.0</code>
</p>
<p><span id="more-11"></span></p>
<p>
I did a little looking around online and I found out that I needed to add the following to the Device section of my xorg.conf file
</p>
<p><code>Option &quot;UseFBDev&quot; &quot;true&quot;<br />
Option &quot;XAANoOffscreenPixmaps&quot; &quot;true&quot;<br />
Option &quot;AllowGLXWithComposite&quot; &quot;true&quot;<br />
</code></p>
<p>
I then gave X the three fingered salute( for all you ex Win 98 users, I&#8217;m not talking about that one&#8230; I mean Ctrl-Alt-Backspace) and Beryl was loading now. But unfortunately, I hit another pothole. Window decorations were not displaying. Tried the normal GTK and Emerald decorations but no success with any of them. Turns out my version of libdecoration0 was being held back for some reason. This is what my sources.list looked like before I installed beryl:
</p>
<p><code>deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse<br />
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted<br />
deb http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse<br />
deb http://download.tuxfamily.org/3v1deb feisty eyecandy<br />
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy<br />
</code></p>
<p>
The beryl packages were supposed to come from the download.tuxfamily.org repo but the libdecoration0 seemed to be loaded from the main ubuntu servers.
</p>
<p>
So  I commented out the entries for the ubuntu servers:
</p>
<p><code>#deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse<br />
#deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted<br />
#deb http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse<br />
deb http://download.tuxfamily.org/3v1deb feisty eyecandy<br />
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy<br />
</code></p>
<p>
Then:
</p>
<p><code>apt-get update<br />
apt-get install libdecoration0<br />
</code></p>
<p>When I reloaded Beryl, window decorations were back!!<br />
Screenshots right after this commercial break:
</p>
<p>
<a href="/files/images/beryl-screenshots1.jpg"><img src="/files/images/beryl-screenshots1_thumb.jpg" height="150" width="200" /><br />
</a><a href="/files/images/beryl-screenshots2.jpg"><img src="/files/images/beryl-screenshots2_thumb.jpg" height="150" width="200" /><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2007/10/15/all_that_glitters_is_not_beryl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cantenna Chronicles &#8211; Part 1</title>
		<link>http://hauntedshell.com/2007/09/15/cantenna_chronicles_-_part_1/</link>
		<comments>http://hauntedshell.com/2007/09/15/cantenna_chronicles_-_part_1/#comments</comments>
		<pubDate>Sat, 15 Sep 2007 19:51:23 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[cantenna]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://hauntedshell.com/2007/09/15/cantenna_chronicles_-_part_1/</guid>
		<description><![CDATA[One of the problems I have with living off campus is that of internet access.. There is a wireless hotspot I can connect to but who want's to pay for slow internet access when you can get slightly faster internet access for free. The only hitch: I live so far from c ampus, my received signal levels are just depressing.]]></description>
			<content:encoded><![CDATA[<p>One of the problems I have with living off campus is that of internet access.. There is a wireless hotspot I can connect to but who want&#8217;s to pay for slow internet access when you can get slightly faster internet access for free. The only hitch: I live so far from campus, my received signal levels are just depressing.<br />
<a href="/files/images/site_map_wifi.jpg"><img src="/files/images/site_map_wifi.jpg" alt="Location Map. Yeah, quite a distance" height="260" width="400" /></a><br />
That leaves me with three options:<br />
<span id="more-9"></span></p>
<ul>
<li>Forget about ever getting internet access ( not really much of a choice).</li>
<li>Suscribe to the commercial hotspot.</li>
<li>Find a way to improve my signal level</li>
</ul>
<p>Now the first option is like asking me not to breathe. The second is not such a bad option, I make it a point not to pay for internet access if I can get it for free (umm&#8230;. legally of course. &gt;:) ). So I guess it&#8217;s time to get out my toolkit and start voiding warranties. Now the best way to improve your wireless signal is to get a better antenna. I didn&#8217;t have much in the way of resources so I decided to opt of a &#8216;cantenna&#8217;, which basically is a waveguide antenna (if you need details, you won&#8217;t find them here. Ever heard of google?). Anyways, what I needed was a tin can, a bit of thick copper wire, an N-connector and a pigtail. Now anyone who lives in Ghana knows those last two items are virually impossible to find. So I had to improvise. I had these cables for an indoor antenna I got from a friend. One end has a magnetic base with a female SMA connector and the other end has a male SMA connector. There was also an SMA to RP-TNC connector included as well.</p>
<p align="left">
So I&#8217;ll it a try and see what happens. Updates coming soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2007/09/15/cantenna_chronicles_-_part_1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unbricking Linksys WRT54G v5</title>
		<link>http://hauntedshell.com/2007/09/11/unbricking_linksys_wrt54g_v5/</link>
		<comments>http://hauntedshell.com/2007/09/11/unbricking_linksys_wrt54g_v5/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 02:07:28 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[linksys wrt54g]]></category>
		<category><![CDATA[unbricking]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://hauntedshell.com/2007/09/11/unbricking_linksys_wrt54g_v5/</guid>
		<description><![CDATA[Before I begin: This <b><u>WILL</u></b> void your warranty (if you haven't done that already) and <b>might result in damage to your router</b> or <b>cause you to sustain injury</b>. You have been warned. I <u>will not</u> take any responsibility for any mishaps that may occur as a result of this post.
<p align="left">
&#160;
</p>]]></description>
			<content:encoded><![CDATA[<p align="left">Before I begin: This <strong><span style="text-decoration: underline">WILL</span></strong> void your warranty (if you haven&#8217;t done that already) and <strong>might result in damage to your router</strong> or <strong>cause you to sustain injury</strong>. You have been warned. I <span style="text-decoration: underline">will not</span> take any responsibility for any mishaps that may occur as a result of this post.</p>
<p>My Linksys WRT54G version 5 suddenly stopped working over the weekend. On powering the router, all lights powered on and stayed that way. I had previously been running DD-WRT Micro.I tried holding the reset button for 30 seconds, powering the router, holding for another 30 seconds and then usnig TFTP tool to flash the router but that did not work. My situation was desperate and I was ready for desperate measures.<span id="more-8"></span> So I used this guide : <a href="http://voidmain.is-a-geek.net/redhat/wrt54g_revival.html">http://voidmain.is-a-geek.net/redhat/wrt54g_revival.html</a> So I had to open up the router and short out pins 15-16 on the chip. The problem though was that in the pictures I saw, there were differences in the location of some of the components. So I&#8217;m posting a picture of what my board looks like just in case anyone has something similar to mine:</p>
<p><a href="http://www.hauntedshell.com/wp-content/files/images/router_board.jpg"><img title="WRT54G v5 board" src="http://www.hauntedshell.com/wp-content/files/images/router_board.jpg" border="0" alt="WRT54G v5 board" width="320" height="240" /></a></p>
<p align="left">I won&#8217;t go into the details of the process since they are already  <a href="http://voidmain.is-a-geek.net/redhat/wrt54g_revival.html">documented elsewhere</a>. All I&#8217;ll add is, funnily enough, after shorting out the pins, my router started working properly without me needed to reflash the firmware. Might work differently for you though.</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2007/09/11/unbricking_linksys_wrt54g_v5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
