<?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; Tutorials</title>
	<atom:link href="http://hauntedshell.com/category/tutorials/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>One cable to rule them all: POE for your WRT54G</title>
		<link>http://hauntedshell.com/2008/07/25/one-cable-to-rule-them-all-poe-for-your-wrt54g/</link>
		<comments>http://hauntedshell.com/2008/07/25/one-cable-to-rule-them-all-poe-for-your-wrt54g/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 15:40:20 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Warranty? What warranty?]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linksys wrt54g]]></category>
		<category><![CDATA[poe]]></category>
		<category><![CDATA[power over ethernet]]></category>
		<category><![CDATA[wrt54g]]></category>
		<category><![CDATA[wrt54g hacks]]></category>

		<guid isPermaLink="false">http://www.hauntedshell.com/?p=22</guid>
		<description><![CDATA[Last updates: 21-Jun-2009 Warning: This hack will not just void your warranty. It will drop-kick it to the floor, stomp it in the gonads five or six times, shoot it in the head, douse the body in petrol and set it ablaze THEN spit on the remains for good measure. And that doesn&#8217;t take into [...]]]></description>
			<content:encoded><![CDATA[<p>Last updates: 21-Jun-2009</p>
<p><strong>Warning</strong>: This hack will not just void your warranty. <strong><em>It will drop-kick it to the floor, stomp it in the gonads five or six times, shoot it in the head, douse the body in petrol and set it ablaze THEN spit on the remains for good measure</em>.</strong> And that doesn&#8217;t take into consideration what it could do to you or your equipment . You have been warned. Don&#8217;t try this unless you&#8217;re comfortable with multimeters and soldering irons.<br />
Now, on to the good stuff. Suppose you have a Linksys WRT54G router &amp; antenna that you want to mount somewhere, say on your roof. So, one fine Saturday morining, you grab a few tools and get to work. About 35 minutes into your little project, it hits you: How exactly do you get power for your router? The roof has no power outlets and you need to keep the antenna cable as short as possible to minimize signal losses.<span id="more-22"></span></p>
<p>You start wondering, &#8220;Maybe I should have gotten a Meraki. They come with Power Over Ethernet(POE).&#8221; Then, it hits you, &#8220;Wait! Maybe I could run some power over the ethernet cable&#8230;&#8221; So you do a little scholarly research(a la google) and find a few people who have modified their routers to support POE.<br />
Basically, ye olde ethernete cable has 4 pairs of wires, each pair consisting of a solidily coloured cable and a white-striped cable of the same colour. The usual arrangement(<a href="http://en.wikipedia.org/wiki/TIA/EIA-568-A">TIA/EIA-568-B</a>) for most patch cables is:<br />
<a href="http://www.hauntedshell.com/wp-content/uploads/2008/07/ethcable568b.gif"><img class="aligncenter size-medium wp-image-56" title="Ethernet CAble" src="http://www.hauntedshell.com/wp-content/uploads/2008/07/ethcable568b-300x187.gif" alt="" width="300" height="187" /></a><br />
100BASE-TX makes use of wires 1,2,3 &amp; 6 to transmit and receive data, leaving wires 4,5,7 &amp; 8 for our use.</p>
<p><strong>Update:</strong> I forgot to mention. Once you do this hack, you have to remember that <strong>if you power the router up in the normal manner, power will still be supplied from the power terminals to pin 5 and pin 8 on the WAN port</strong>. Keep this in mind if you&#8217;re connecting the router to other equipment to avoid &#8230;unexpected results. I use a customized cable that has wires 4, 5 ,7 &amp; 8 cut and terminated in the middle of the cable just to be safe</p>
<p>First we need to do is solder a couple of wires, one from pin 5 to the positive terminal on the router&#8217;s board and the other from pin 8 to the negative terminal. This will transfer the power coming in over the cable to the power jack on the board where the router can make use of it.<br />
[singlepic=2,320,240,,center]<br />
<a class="thickbox" href="http://www.hauntedshell.com/wp-content/gallery/poe/DSCN1999.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/poe/thumbs/thumbs_DSCN1999.JPG" alt="          " /></a> <a class="thickbox" href="http://www.hauntedshell.com/wp-content/gallery/poe/DSCN2000.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/poe/thumbs/thumbs_DSCN2000.JPG" alt="          " /></a> <a class="thickbox" href="http://www.hauntedshell.com/wp-content/gallery/poe/DSCN2001.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/poe/thumbs/thumbs_DSCN2001.JPG" alt="          " /></a><br />
This is the only modification that needs to be done on the router itself. However, don&#8217;t pack everything up until you&#8217;ve tested to make sure its working.<br />
Next up will be our injector. Now, there are many ways to feed power into the cable. You can buy a power over ethernet injector, splice the power cable directly in the network cable or build your own injector. I&#8217;d recommend buying a power over ethernet injector; it&#8217;s a more reliable option and you don&#8217;t have to mutilate the poor cables.</p>
<p>But then, if you&#8217;re reading this guide, you probably don&#8217;t have an injector available or are thinking,&#8221;Building my own POE injector is just so much cooler!!&#8221;  In that case, you&#8217;ll need a keystone jack, a spare ethernet cable, and a power brick for the router (It&#8217;s usually better to get a spare of equivalent rating as the original since these instructions will make it &#8230;unwieldy for normal use)</p>
<p>[singlepic=9,320,240,,center]</p>
<p>What you do trim off one end of your ethernet cable and connect wires 1,2,3 and 6 to the jack. These are your data lines.<br />
<a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2106.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2106.JPG" alt="DSCN2106.JPG" /></a><a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2108.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2108.JPG" alt="DSCN2108.JPG" /></a><a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2109.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2109.JPG" alt="DSCN2109.JPG" /></a></p>
<p>Then you take the plug off your power brick and connect the +ve to pin 5 on the jack and the -ve to pin 8. Trim off any unnessary lengths and you have your own power injector.<br />
<a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2112.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2112.JPG" alt="DSCN2112.JPG" /></a><a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2113.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2113.JPG" alt="DSCN2113.JPG" /></a><a rel="lightbox[]" href="http://www.hauntedshell.com/wp-content/gallery/injector/DSCN2117.JPG"><img class="ngg-singlepic ngg-none" src="http://www.hauntedshell.com/wp-content/gallery/injector/thumbs/thumbs_DSCN2117.JPG" alt="DSCN2117.JPG" /></a></p>
<p>Once that&#8217;s done, feel free to call all your friends and gloat over how clever you are.</p>
<p>Router:</p>
<p>Power Injector:</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2008/07/25/one-cable-to-rule-them-all-poe-for-your-wrt54g/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Make a big Splashy during boot</title>
		<link>http://hauntedshell.com/2008/07/09/make-a-big-splashy-during-boot/</link>
		<comments>http://hauntedshell.com/2008/07/09/make-a-big-splashy-during-boot/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 12:38:43 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Pimp my PC]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.hauntedshell.com/?p=17</guid>
		<description><![CDATA[Anyone who&#8217;s ever tried to customize the Usplash theme that comes with Ubuntu knows that it&#8217;s a bit of pain. And if you&#8217;re trying to create your own theme, things just get a bit more difficult. Enter Splashy, a boot splash manager with some very flexible features. One of the thing I like about it [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone who&#8217;s ever tried to customize the Usplash theme that comes with Ubuntu knows that it&#8217;s a bit of pain. And if you&#8217;re trying to create your own theme, things just get a bit more difficult.</p>
<p>Enter <a href="http://splashy.alioth.debian.org/wiki/">Splashy</a>, a boot splash manager with some very flexible <a href="http://splashy.alioth.debian.org/wiki/about">features</a>. One of the thing I like about it is that it does require any kernel patching and runs completely in userspace. And it supports 8bit, 16bit and 24bit framebuffers and TrueType fonts. Even better, its ridiculously easy to create themes for Splashy.<span id="more-17"></span></p>
<p>This tutorial was written with Ubuntu Hardy 8.04 in mind but with a little tweaking, it can be applied to Fiesty and Gutsy(if you&#8217;re using anything older, you really really realy should upgrade).</p>
<p>First, we need to get splashy on your system. Make sure your sources have <a href="https://wiki.ubuntu.com/AddingRepositoriesHowto">universe enabled</a> and are up to date. Fire up your favourite terminal and:</p>
<p><code>apt-get update</code></p>
<p>Once that&#8217;s done, next up is:</p>
<p><code>apt-get install splashy splashy-themes</code></p>
<p>This will install Splashy, a few themes and <strong>uninstall Usplash!</strong>. Once this is done,  you need to edit your GRUB configuration file to setup the frame buffer:<br />
<code>sudo gedit /boot/grub/menu.list</code><br />
Scroll down and add vga=791(1024&#215;768 millions colors) or vga=791 (1024&#215;768 thousands colors to your default boot option<br />
<code>title		Ubuntu, kernel 2.6.10-5-k7 Default<br />
root		(hd0,0)<br />
kernel	/vmlinuz root=/dev/hde6 ro quiet splash vga=792<br />
initrd		/initrd.img<br />
savedefault<br />
boot<br />
</code><br />
Save and reboot. Voila! You should be looking at your new boot splash. However, the default splash is a bit &#8230; bland. If you want to spice this a bit, you can change to one of the themes you installed. First check to see what themes are installed.<br />
<code>kwame@amaterasu:~$ ls  /etc/splashy/themes<br />
aqua    carbonalien   default   crux   debian-cubism<br />
kwame@amaterasu:~$</code><br />
So let&#8217;s say I want to use the aqua theme, I used the <strong>splashy_config -s </strong> to set the theme<br />
<code>kwame@amaterasu:~$ sudo splashy_config -s aqua<br />
&gt;Set theme as: aqua          [ DONE ]<br />
</code><br />
Next, you&#8217;ll have to update your initramfs or it&#8217;ll look like the change hasn&#8217;t taken effect.<br />
<code>kwame@amaterasu:~$ sudo update-initramfs  -u<br />
update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic</code><br />
You can then reboot and admire your new theme.</p>
<p>You can get some <a href="http://ubuntuforums.org/showthread.php?t=41709">more info</a> here.</p>
<p>Coming soon..How to make your own Splashy Themes</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2008/07/09/make-a-big-splashy-during-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 98 Boot Disks and Linux</title>
		<link>http://hauntedshell.com/2007/12/18/windows_98_boot_disks_and_linux/</link>
		<comments>http://hauntedshell.com/2007/12/18/windows_98_boot_disks_and_linux/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 00:16:15 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[bootdisk]]></category>
		<category><![CDATA[system recovery]]></category>

		<guid isPermaLink="false">http://hauntedshell.com/2007/12/18/windows_98_boot_disks_and_linux/</guid>
		<description><![CDATA[<p>
If you've ever had to reinstall Windows on a computer, be it yours or someone else's, you probably know that boot disks can be rather useful things to have around. The best kind are the Windows 98 boot disks (IMHO); they fit onto one floppy and give you access to the cdrom even if the computer's BIOS doesn't support booting from cdrom.
</p>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever had to reinstall Windows on a computer, be it yours or someone else&#8217;s, you probably know that boot disks can be rather useful things to have around. The best kind are the Windows 98 boot disks (IMHO); they fit onto one floppy and give you access to the cdrom even if the computer&#8217;s BIOS doesn&#8217;t support booting from cdrom.</p>
<p>So what do you do when you need to reinstall Windows and the computer your&#8217;re working is a tiny laptop with no floppy, no cdrom and a serious malware overdose?<span id="more-12"></span> Since the computer supported booting from USB, all I had to do was figure out a way to get the Windows 98 bootdisk on a USB key. I tried several utilities but none worked for me.This is where Qemu and dd come in. Basically, what you do is :</p>
<ul>
<li> Download a Windows 98 Boot Image.</li>
<li> Create a Qemu RAW disk image (big enough to hold the bootdisk files and any other files you might need. Mine was about 700MB)</li>
<li> Boot up a Qemu virtual machine with the boot image for your floppy device and the disk image as your primary hard drive</li>
<li> Use <strong>fdisk</strong> and <strong>format</strong> to partition and format the disk image</li>
<li> Transfer boot &amp; command system to disk image with <strong>sys</strong>.</li>
<li> Use <strong>dd</strong> to  strip off the first 63 512-byte blocks on the disk image</li>
<li> Use <strong>dd</strong> to copy the disk image to USB Key.</li>
</ul>
<p>Now for more detailed instructions:</p>
<p>Open a terminal (xterm, konsole, gnome-terminal; whatever you&#8217;re comfortable with)</p>
<p>Create a folder to contain all your files<br />
<code>ray@zangetsu:~$ mkdir win98boot<br />
ray@zangetsu:~$ cd win98boot<br />
</code></p>
<p>Download the Windows 98 boot image from <a href="http://www.hauntedshell.com/files/win98se.img">here</a><br />
<code>ray@zangetsu:~/win98boot$ wget http://<br />
</code></p>
<p>Create a 256MB Qemu  RAW disk image (or whatever size you need)<br />
<code>ray@zangetsu:~/win98boot$ qemu-img create -f raw drive_c.dsk 256M<br />
</code><br />
Next, we load a virtual machine that boots from the floppy image<br />
<code>ray@zangetsu:~/win98boot$ qemu -fda  win98se.img -hda drive_c.dsk  -boot a -m 32<br />
</code><br />
Once the VM boots up, you should see something similar to the following:</p>
<p><a href="http://picasaweb.google.com/kwame.nkansah/Screenshots/photo#5145110101942516018"><img src="http://lh6.google.com/kwame.nkansah/R2caYLSOuTI/AAAAAAAAAVg/yMP9Cd9mrlQ/s400/Qemu-7.png" alt="" /></a></p>
<p><a href="http://picasaweb.google.com/kwame.nkansah/Screenshots/photo#5132998437149276242"><img src="http://lh4.google.com/kwame.nkansah/RzwS4f7q-FI/AAAAAAAAAT4/AsOiigZik_Q/s400/Screenshot-QEMU.jpg" alt="" /></a></p>
<p>What we need to do is partition our virtual drive, so<br />
<code>A:\fdisk C:<br />
</code></p>
<p>Enter 1 at the first screen to select the first option (Create a DOS partition or Logical DOS Drive)</p>
<p><a href="http://picasaweb.google.com/kwame.nkansah/Screenshots/photo#5132998484393916514"><img src="http://lh3.google.com/kwame.nkansah/RzwS7P7q-GI/AAAAAAAAAUA/UpzfWFIbOY0/s400/Screenshot-QEMU-1.jpg" alt="" /></a></p>
<p>Enter 1 at the next screen to Create a Primary DOS partition</p>
<p><a href="http://picasaweb.google.com/kwame.nkansah/Screenshots/photo#5132998531638556786"><img src="http://lh6.google.com/kwame.nkansah/RzwS9_7q-HI/AAAAAAAAAUI/M09kCeUICVE/s400/Screenshot-QEMU-2.jpg" alt="" /></a></p>
<p>Answer yes if fdisk asks you if you want make maximum use of your disk</p>
<p><a href="http://picasaweb.google.com/kwame.nkansah/Screenshots/photo#5132998574588229762"><img src="http://lh4.google.com/kwame.nkansah/RzwTAf7q-II/AAAAAAAAAUQ/cYNMzLUd0wk/s400/Screenshot-QEMU-3.jpg" alt="" /></a></p>
<p>After fdisk finishes, you will need to restart the VM before you can format your drive.</p>
<p><a href="http://picasaweb.google.com/kwame.nkansah/Screenshots/photo#5134362243884578978"><img src="http://lh4.google.com/kwame.nkansah/R0DrQf7q-KI/AAAAAAAAAU4/0PhP6K6QNS8/s400/Screenshot-QEMU-4.jpg" alt="" /></a></p>
<p>Just close it and run the following again:<br />
<code>ray@zangetsu:~/win98boot$ qemu -fda  win98se.img -hda drive_c.dsk  -boot a -m 32<br />
</code><br />
Now you can format:<br />
<code>A:\format C:<br />
</code><br />
Answer yes when asked if you want to proceed with format. After formating is done, you will be prompted to enter a volume label. This is optional.</p>
<p><a href="http://picasaweb.google.com/kwame.nkansah/Screenshots/photo#5145110101942516002"><img src="http://lh6.google.com/kwame.nkansah/R2caYLSOuSI/AAAAAAAAAVY/HMFyC0kqC5A/s400/Qemu-6.png" alt="" /></a></p>
<p>Next, we transfer system to c:<br />
<code>A:\sys C:<br />
</code></p>
<p><a href="http://picasaweb.google.com/kwame.nkansah/Screenshots/photo#5145110106237483330"><img src="http://lh3.google.com/kwame.nkansah/R2caYbSOuUI/AAAAAAAAAVo/YuyI9ma08ZM/s400/Qemu-8.png" alt="" /></a></p>
<p>Once that&#8217;s done. Close your VM and boot it up once more but without the floppy image this time.<br />
<code>ray@zangetsu:~/win98boot$ qemu -hda drive_c.dsk -m 32<br />
</code><br />
If you did everything right, the windows 98 splash screen should flash briefly and you should get something like this:</p>
<p><a href="http://picasaweb.google.com/kwame.nkansah/Screenshots/photo#5145110106237483346"><img src="http://lh3.google.com/kwame.nkansah/R2caYbSOuVI/AAAAAAAAAVw/spiy1ijXwZI/s400/Qemu-9.png" alt="" /></a></p>
<p>Before we can copy the image to our usb drive, we need to modify it a little. This strips off the first 63 blocks of the image( Found this useful piece of info thanks to <a href="http://colinux.wikia.com/wiki/Converting_Distributions"></p>
<p>http://colinux.wikia.com/wiki/Converting_Distributions</a>)</p>
<p><code>ray@zangetsu:~/win98boot$ dd if=drive_c.dsk of=boot.img bs=512 skip=63<br />
</code><br />
We can now copy the image to the drive. In this case, my drive happens to be /dev/sdb. You can use <strong>dmesg</strong> to find out what it is on your machine.<br />
<code>ray@zangetsu:~/win98boot$ dd if=boot.img of=/dev/sdb bs=512<br />
524288+0 records in<br />
524288+0 records out<br />
268435456 bytes (256 MB) copied, 108.920273 seconds, 18.5 MB/s<br />
</code><br />
Voila, you have a working Win98 bootable USB drive. You can now mount the drive and copy whatever else you need onto it. Your results may vary depending on the options you choose but they should be similar to the above.</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2007/12/18/windows_98_boot_disks_and_linux/feed/</wfw:commentRss>
		<slash:comments>2</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>Web Interface for OpenWrt Kamikaze</title>
		<link>http://hauntedshell.com/2007/09/20/web_interface_for_openwrt_kamikaze/</link>
		<comments>http://hauntedshell.com/2007/09/20/web_interface_for_openwrt_kamikaze/#comments</comments>
		<pubDate>Thu, 20 Sep 2007 11:58:41 +0000</pubDate>
		<dc:creator>Kwame</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[kamikaze]]></category>
		<category><![CDATA[meraki]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://hauntedshell.com/2007/09/20/web_interface_for_openwrt_kamikaze/</guid>
		<description><![CDATA[Warning: This can brick your router. Goes without saying, I will not take responsibility for whatever havoc you wreak. You have been warned. If you use your router for internet access, tt's best to have an alternative method of getting online.  You have been warned!<br />]]></description>
			<content:encoded><![CDATA[<p>Warning: This can brick your router. Goes without saying, I will not take responsibility for whatever havoc you wreak. You have been warned. If you use your router for internet access, tt&#8217;s best to have an alternative method of getting online.  You have been warned!</p>
<p>I have a Meraki mini I&#8217;ve been playing around with. I&#8217;m running OpenWRT Kamikaze 7.06 on it and I love it. It&#8217;s very flexible piece of hardware and comes with an 8mb flash and 32mb of RAM, which is more than enough for the stuff I run on it. The only annoying thing is the lack of a web interface.<span id="more-10"></span> It&#8217;s not that I have problems with using the terminal; it&#8217;s just that, it becomes annoying to switch on my desktop just to attend to a minor detail. Or I&#8217;m downstairs in a friend&#8217;s room and just need to check if my internet connection is alive. A web interface would allow me do all that from a browser as long as I was connected to the network.<br />
Thankfuly there&#8217;s the Webif frontend by <a href="http://x-wrt.org">X-WRT </a>.  From what I&#8217;ve seen so far, it&#8217;s quite good though it&#8217;s still beta.  It does everything I want it to do so I can&#8217;t complain. </p>
<p><b>Installing</b><br />
You first need to install the haserl package, which webif depends on.Telnet or SSH into your router and enter the following:</p>
<blockquote><p>
	ipkg update
</p></blockquote>
<p>
This updates your package list</p>
<blockquote><p>
	ipkg install haserl
</p></blockquote>
<p>
Installs haserl which allows you to embed shell scripts in html.</p>
<blockquote><p>
	ipkg install http://downloads.x-wrt.org/xwrt/kamikaze/7.06/atheros-2.6/webif_latest.ipk
</p></blockquote>
<p>
Download and install webif from the x-wrt.org site since webif is not yet in the kamikaze repository</p>
<p><b>Note: the webif install will reboot your router!!<br />
</b><br />
Once the router is back up, open up a browser of your choice and enter your router&#8217;s ip address. Voila</p>
]]></content:encoded>
			<wfw:commentRss>http://hauntedshell.com/2007/09/20/web_interface_for_openwrt_kamikaze/feed/</wfw:commentRss>
		<slash:comments>1</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>
