<?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>oh god, why'd it break‽ &#187; troubleshooting</title>
	<atom:link href="http://yokohead.com/category/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://yokohead.com</link>
	<description>screwing around with technology</description>
	<lastBuildDate>Mon, 26 Jul 2010 18:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configuring ecryptfs</title>
		<link>http://yokohead.com/2009/02/configuring-ecryptfs/</link>
		<comments>http://yokohead.com/2009/02/configuring-ecryptfs/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 07:59:20 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[configure]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[ecryptfs]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://yokohead.com/?p=220</guid>
		<description><![CDATA[I was reading through my buddy&#8217;s security blog, Security Aegis, and realized that my current security setup in Ubuntu is absolutely terrible &#8211; I have a Truecrypt container I dump things into from time to time,  and that&#8217;s really about it.  After recently discovering the Ubuntu Pocket Guide and Reference,  I took [...]]]></description>
			<content:encoded><![CDATA[<p>I was reading through my buddy&#8217;s security blog, <a href="http://www.securityaegis.com">Security Aegis</a>, and realized that my current security setup in Ubuntu is absolutely terrible &#8211; I have a Truecrypt container I dump things into from time to time,  and that&#8217;s really about it.  After recently discovering the <a href="http://www.ubuntupocketguide.com/index2.html">Ubuntu Pocket Guide and Reference</a>,  I took a quick look through there to see what might be available.</p>
<p>The guide mentioned Intrepid has the ability to create an automounting private folder using <em>ecryptfs‐utils </em>with next to no setup.  That&#8217;s nice,  but I&#8217;d rather have a bit more control over the folder &#8211; having it just pop up on login isn&#8217;t very appealing since my system gets used from time to time by other people.  A bit of googling around turned this up:</p>
<ol>
<li><a href="http://beginlinux.com/desktop_training/ubuntu/1084-solving-privacy-issues- ">How to auto-configure<br />
 </a></li>
<li><a href="http://www.ubuntugeek.com/how-to-create-a-private-encrypted-folder-on-ubuntu-810-intrepid.html">How to configure hands on</a></li>
<li><a href="http://tombuntu.com/index.php/2007/09/03/using-truecrypt-on-ubuntu-for-encryption/">The basic truecrypt way</a></li>
</ol>
<p><a href="http://ubuntugeek.com">Ubuntugeek</a> has a nice writeup on the under-the-hood way to use <em>ecryptfs-utils</em>.  The reason I&#8217;m going with this over <a href="http://truecrypt.org">Truecrypt</a> is I&#8217;d rather have the files encrypt on the fly without needing a set amount of space first (as in a container).  I&#8217;ll keep the containers on my thumb drives for now.</p>
<p>Started with the Ubuntugeek step by step:</p>
<ul>
<li><code>sudo aptitude install ecryptfs-utils</code></li>
<li><code>mkdir ~/crypt</code></li>
<li><code>chmod 700 ~/crypt</code></li>
<li><code>sudo mount -t ecryptfs ~/crypt ~/crypt
<ul>
<li>chose 4 for passphrase</li>
<li>created passphrase<</li>
<li>selected aes for cipher</li>
<li>16 for blocksize</li>
</ul>
<p></code></li>
</ul>
<p>After selecting my options:</p>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; text-align: left;" dir="ltr">
Attempting to mount with the following options:
 ecryptfs_key_bytes=16
 ecryptfs_cipher=aes
 ecryptfs_sig=1c56a17407ef3160
 WARNING: Based on the contents of [/root/.ecryptfs/sig-cache.txt],
 it looks like you have never mounted with this key
 before. This could mean that you have typed your
 passphrase wrong.

Would you like to proceed with the mount (yes/no)? yes
 Would you like to append sig [1c56a17407ef3160] to
 [/root/.ecryptfs/sig-cache.txt]
 in order to avoid this warning in the future (yes/no)? yes
 Successfully appended new sig to user sig cache file
 Mounted eCryptfs
</pre>
<p>Not quite sure what just happened there.  I just installed this thing,  of course I haven&#8217;t mounted with this key before.  I wasn&#8217;t asked for a plaintext passthrough either.  Check to see if it worked anyways.</p>
<ul>
<li><code>cp Firefox_wallpaper.png ~/crypt</code></li>
<li><code>ls ~/crypt</code></li>
<li><code>sudo umount ~/crypt</code></li>
<li><code>ls ~/ | grep crypt</code></li>
</ul>
<p>Crypt is still there!  Blast.</p>
<ul>
<li><code>ls ~/crypt</code></li>
</ul>
<p>It still shows my png file too!</p>
<ul>
<li><code>gnome-open ~/crypt/Firefox_wallpaper.png</code></li>
</ul>
<p>&#8220;Fatal error reading PNG image file: Not a PNG file&#8221;</p>
<p>Alright,  so that&#8217;s good,  it&#8217;s probably encrypted then.  I&#8217;ll remount and see if it&#8217;ll open.</p>
<ul>
<li><code>sudo mount -t ecryptfs ~/crypt ~/crypt -o key=passphrase,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_passthrough=n</code></li>
<li><code>gnome-open ~/crypt/Firefox_wallpaper.png</code></li>
</ul>
<p>Yep,  opens fine now.  Since I was expecting Truecrypt style mount behavior from Windows I was expecting the entire folder to just disapear (even though I specifically created one,  duh).  Reading through the <a href="https://launchpad.net/ecryptfs">ecryptfs page</a> and <a href=" http://www.makeuseof.com/tag/encrypt-your-files-in-linux-with-ecryptfs/">here</a> made a bit more sense.  Without pre-allocation there isn&#8217;t much of a choice anyways.  Time to turn this bulky command into an easy use alias:</p>
<ul>
<li><code>echo "alias mount-crypt='sudo mount -t ecryptfs ~/crypt ~/crypt -o key=passphrase,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_passthrough=n'" | tee -a ~/.bash_aliases</code></li>
<li><code>source .bashrc</code></li>
</ul>
<p>Figuring out the above took a bit longer than those two lines&#8230;  here&#8217;s some <a href="http://dl.getdropbox.com/u/461380/whyillneverprogram.txt">insight</a> into my rookie mistakes.  (460 through 471 was me playing videos in terminal via ascii, heh.)</p>
]]></content:encoded>
			<wfw:commentRss>http://yokohead.com/2009/02/configuring-ecryptfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logitech MX-518 with Gnome in Ubuntu 8.10</title>
		<link>http://yokohead.com/2009/02/logitech-mx-518-with-gnome-in-ubuntu-810/</link>
		<comments>http://yokohead.com/2009/02/logitech-mx-518-with-gnome-in-ubuntu-810/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 01:01:00 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[configure]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[programs]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[logitech]]></category>
		<category><![CDATA[mx518]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[x]]></category>

		<guid isPermaLink="false">http://yokohead.com/?p=166</guid>
		<description><![CDATA[Not having my back/forward keys working in anything in Ubuntu was driving me nuts &#8211; in Windows I was absolutely dependent on being able to lazily click the side buttons (even though I use mouse gestures).  The first thing I stumbled across seemed simple enough.
hyperq just replaced his InputDevice section with the code below, [...]]]></description>
			<content:encoded><![CDATA[<p>Not having my back/forward keys working in anything in Ubuntu was driving me nuts &#8211; in Windows I was absolutely dependent on being able to lazily click the side buttons (even though I use mouse gestures).  The first thing I <a href="http://ubuntuforums.org/showthread.php?t=664074&amp;highlight=mx518">stumbled across</a> seemed simple enough.</p>
<p>hyperq just replaced his <code>InputDevice</code> section with the code below,   when I checked my own xorg though I didn&#8217;t even have an <code>InputDevice</code> area at all &#8211; so I just pasted the following into the end of my <em>xorg.conf</em> and restarted X (ctrl+alt+backspace).</p>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; text-align: left;" dir="ltr">Section "InputDevice"
       Identifier      "Configured Mouse"
       Driver          "evdev"
       Option          "CorePointer"
       Option          "Buttons"       "7"
       Option          "ZAxisMapping"  "4 5"
       Option          "ButtonMapping" "1 2 3 6 7"
       Option          "Name"  "Logitech USB-PS/2 Optical Mouse"
EndSection</pre>
<p>Once X loaded up I was able to use the buttons in Firefox,  but that was about it.  Still didn&#8217;t work in Nautilus,  which is really where the functionality should be.</p>
<p>After a bit of hunting around I found this excellent <a href="http://ubuntuforums.org/showthread.php?t=219894&amp;highlight=logitech+how">UbuntuForum post</a> by <a href="http://ubuntuforums.org/member.php?u=45177">detyabozhye.</a></p>
<p>First step was to make sure that <em>xserver-xorg-input-evdev</em> was installed:</p>
<ul>
<li><code>locate evdev<br />
 </code></li>
</ul>
<p>Returned this for me:</p>
<p><a href="http://yokohead.com/wp-content/uploads/2009/02/screenshot-terminal.png"></a><a href="http://yokohead.com/wp-content/uploads/2009/02/screenshot-terminal1.png"><img class="alignnone size-thumbnail wp-image-178" title="screenshot-terminal1" src="http://yokohead.com/wp-content/uploads/2009/02/screenshot-terminal1-150x150.png" alt="screenshot-terminal1" width="150" height="150" /></a></p>
<p><em>xserver-xorg-input-evdev </em>is already installed,  no need to snag that particular package.  Next was checking my installed USB devices to see exactly what Ubuntu thinks my Logitech MX-518 actually is.</p>
<ul>
<li>c<code>at /proc/bus/input/devices</code></li>
</ul>
<p>The device list is quite extensive,  and I just pulled out the Logitech related bit</p>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; text-align: left;" dir="ltr">I: Bus=0003 Vendor=046d Product=c01e Version=0110
N: Name="<span style="color: #ff0000;"><strong>Logitech USB-PS/2 Optical Mouse</strong></span>"
P: Phys=usb-0000:00:0b.0-4/input0
S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb1/1-4/1-4:1.0/input/input4
U: Uniq=
H: Handlers=mouse1 event1
B: EV=17
B: KEY=ff0000 0 0 0 0
B: REL=103
B: MSC=10</pre>
<p>Perfect, this is the same thing I added into my xorg from earlier,  so it definitely has the right mouse,  and the Firefox back/forward buttons show this &#8211; but time to get it working with Nautilus.  Unfortunately there isn&#8217;t a native way to do this,  the buttons actually have to be bound to certain keys.</p>
<p>To do this there are two necessary packages,  <em>xvkbd</em> and <em>xbindkeys</em>.</p>
<ul>
<li><code>sudo apt-get install xvkbd xbindkeys</code></li>
</ul>
<p>Then <code>xbindkeys</code> needs to be configured to map the keys to Nautilus shortcuts.</p>
<ul>
<li><code>gedit ~/.xbindkeysrc</code></li>
</ul>
<p>Paste in the following:</p>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; text-align: left;" dir="ltr">"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[<span style="text-decoration: underline;">L</span>eft]""
  m:0x0 + b:6
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[<span style="text-decoration: underline;">R</span>ight]""
  m:0x0 + b:7</pre>
<p>Hit<strong> CTRL+S </strong>to save,  then <strong>ALT+F4</strong> to close.</p>
<p>Started up <em>xbindkeys</em> and tested it in Nautilus &#8211; and nothing happened.  Made sure the key commands themselves worked by hitting <strong>ALT+LEFT </strong>and <strong>ALT+RIGHT</strong> &#8211; moved back and forward just like it should,  but my side buttons didn&#8217;t do it.  The only thing different from what detabozhye did and myself is I defined the buttons,  so I removed that part and matched deta&#8217;s suggestion,  then restarted X.  Firefox still worked, Nautilus didn&#8217;t.</p>
<p>This time I loaded <code>xev</code> to try and see what button was /actually/ being pressed since it obviously wasn&#8217;t 6 or 7 at this point.</p>
<ul>
<li><code>xev</code></li>
</ul>
<p>(That was easy, eh?)  Unfortunately <code>xev</code> is a pain in the arse to actually use.  What I had to do was click,   and hold the button to stop <code>xev</code> output from spamming my terminal and make very sure to not move the mouse (or more mouse movement spam would scroll by).</p>
<p>When I held down my large side button and scanned the output I saw this:</p>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; text-align: left;" dir="ltr">ButtonPress event, serial 34, synthetic NO, window 0x4000001,
root 0x13b, subw 0x4000002, time 13076697, (36,18), root:(1014,814),
state 0x10, button 8, same_screen YES</pre>
<p>Finally,  it&#8217;s not 6,  it&#8217;s 8.  Great. The little upper one was 9.  Changed my .xbindkeysrc to update with the new buttons and then restarted <code>xbindkeys</code></p>
<ul>
<li><code>killall xbindkeys</code></li>
<li><code>xbindkeys</code></li>
</ul>
<p>Finally works.</p>
<p>Of course, after doing all of this I had a flash of insight&#8230; I <em>could&#8217;ve</em> simply had xev output to a file instead of trying to watch the terminal window and then searched for it later,   which I did as a test with a left click, then a right click, then a middle click.</p>
<ul>
<li><code>xev &gt; xevoutput.txt</code></li>
<li><em>left click, right click, then middle click</em> (in the xev window)</li>
<li><code>cat xevoutput.txt | grep button</code></li>
</ul>
<p>Returns:</p>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; text-align: left;" dir="ltr">state 0x10, button 1, same_screen YES
state 0x110, button 1, same_screen YES
state 0x10, button 3, same_screen YES
state 0x410, button 3, same_screen YES
state 0x10, button 2, same_screen YES
state 0x210, button 2, same_screen YES</pre>
<p>There ya go&#8230; left click = 1,  right click = 3,  middle mouse click = 2.  If I did that earlier (and made life easier on myself) it would&#8217;ve returned 8 and 9 respectively.</p>
<p>Now this needs to be added to your startup list so it isn&#8217;t necessary to start it each time manually.  The easy way to do this in Gnome is by clicking <strong>System -&gt; Preferences -&gt; Session</strong>.  Click &#8220;Add&#8221;,  then type <code>xbindkeys</code> for the name,  and <code>xbindkeys</code> for the command,  and a description if you&#8217;d like.</p>
<p>I don&#8217;t like doing things through the GUI if I don&#8217;t have to,  so I hunted around for a way to configure it manually (mainly because I spent half my time SSH&#8217;d into the box from work and would rather have the way to work with or without a mouse).  After all of the above though I decided I&#8217;m done screwing around with this nonsense for the day and will make that into another post later tonight.</p>
]]></content:encoded>
			<wfw:commentRss>http://yokohead.com/2009/02/logitech-mx-518-with-gnome-in-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Checking Ubuntu boot times</title>
		<link>http://yokohead.com/2009/01/checking-ubuntu-boot-times/</link>
		<comments>http://yokohead.com/2009/01/checking-ubuntu-boot-times/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 00:49:42 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[configure]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[programs]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[bootchart]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://yokohead.com/?p=92</guid>
		<description><![CDATA[Occasionally it&#8217;s fun to waste some time shooting your friends and unfortunately Ubuntu just isn&#8217;t up to speed when it comes to gaming &#8211; so I dual boot into a stripped Vista installation.  I&#8217;d like to make switching back and forth as quick as possible.
First thing I did was go and get Bootchart, &#8220;a tool [...]]]></description>
			<content:encoded><![CDATA[<p>Occasionally it&#8217;s fun to waste some time shooting your friends and unfortunately Ubuntu just isn&#8217;t up to speed when it comes to gaming &#8211; so I dual boot into a stripped Vista installation.  I&#8217;d like to make switching back and forth as quick as possible.</p>
<p>First thing I did was go and get <a href="http://www.bootchart.org/">Bootchart</a>, &#8220;<em>a tool for performance analysis and visualization of the GNU/Linux boot process&#8221;. </em>Bootchart is easy enough to install,  and unpacks at 51mb:</p>
<ul>
<li><code>sudo apt-get install bootchart</code></li>
</ul>
<p>Wandered over to the <a href="http://www.bootchart.org/docs.html">bootchart documentation</a> to see if there was anything special I ought to know about and realized I&#8217;m using Ubuntu&#8230; none of this is necessary.  Simply install and restart.</p>
<ul>
<li><code>sudo shutdown -r now</code></li>
</ul>
<p>Once restarted,  you&#8217;ll want to check out <strong>/var/log/bootchart</strong> for the png files with the bootchart output.  Here&#8217;s an <a href="http://yokohead.com/wp-content/uploads/2009/01/hardy-20090126-2.png">example</a> from my 8.04.2 test machine I&#8217;ve been working with today.</p>
<div id="attachment_106" class="wp-caption alignleft" style="width: 157px"><a href="http://yokohead.com/wp-content/uploads/2009/01/hardy-20090126-2.png"><img class="size-medium wp-image-106" title="hardy-20090126-2" src="http://yokohead.com/wp-content/uploads/2009/01/hardy-20090126-2-147x300.png" alt="hardy-20090126-2" width="147" height="300" /></a><p class="wp-caption-text">Ubuntu 8.04.2 bootchart</p></div>
<div id="attachment_151" class="wp-caption alignleft" style="width: 158px"><a href="http://yokohead.com/wp-content/uploads/2009/01/intrepid-20090127-1.png"><img class="size-medium wp-image-151" title="intrepid-20090127-1" src="http://yokohead.com/wp-content/uploads/2009/01/intrepid-20090127-1-148x300.png" alt="Ubuntu 8.10 bootchart" width="148" height="300" /></a><p class="wp-caption-text">Ubuntu 8.10 bootchart</p></div>
<div id="attachment_283" class="wp-caption alignleft" style="width: 89px"><a href="http://yokohead.com/wp-content/uploads/2009/01/desktop-karmic-20090620-1.png"><img class="size-medium wp-image-283" title="karmic-20090620-1" src="http://yokohead.com/wp-content/uploads/2009/01/desktop-karmic-20090620-1-79x300.png" alt="Ubuntu 9.10 Alpha 2 bootchart" width="79" height="300" /></a><p class="wp-caption-text">Ubuntu 9.10 Alpha 2 bootchart</p></div>
<p>For added awesome,  since I have <a href="http://yokohead.com/2009/01/installing-dropbox/">Dropbox</a> running on my work ubuntu,  work XP,  and home ubuntu installations I was able to do this to get the .png over to my WinXP while writing this post:</p>
<p><code>cp /var/log/bootchart/*.png /home/kyle-test/Dropbox/Public</code></p>
<p>By the time I had turned back to XP Dropbox had already synced,  and I was able to right click the uploaded PNG and choose Dropbox -&gt; Public link,  send a copy to my friend,  and upload here into the post with absolute minimum effort.  I&#8217;ll also have the file for comparison when I get home and do the same thing on 8.10.</p>
<p>Once I&#8217;ve learned enough to sufficiently decode this I&#8217;ll make another post explaining what each thing is and what can be configured/removed to make boot times faster.</p>
<p>In a nutshell,  my <a href="http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&amp;cc=us&amp;contentType=SupportManual&amp;prodTypeId=12454&amp;prodSeriesId=447468&amp;docIndexId=64180&amp;manualLang=en">HP dx5150</a> here at work boots in 30 seconds.</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>[UPDATE 6-20-09 4:36pm]<br />
 Just ran another bootchart on a fresh install of Ubuntu 9.10 Alpha 2 on my main machine &#8211; dropped from 24 seconds to 15,  probably due to ext4 being the main filesystem.</p>
<p>[UPDATE 1-28-09 12:28am]<br />
 Finally got around to getting bootchart up on the 8.10 installation at home,  this one clocks in at 24 seconds!  Taking a look between the two it seems as if hard drive throughput is my biggest limiter &#8211; I only dropped 6 seconds on total boot time and this machine is at least 5 times as powerful as the dx 5150 at work.</p>
]]></content:encoded>
			<wfw:commentRss>http://yokohead.com/2009/01/checking-ubuntu-boot-times/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing xchat with mircryption in Ubuntu x64 &amp; i386</title>
		<link>http://yokohead.com/2009/01/installing-xchat-with-mircryption-for-x64/</link>
		<comments>http://yokohead.com/2009/01/installing-xchat-with-mircryption-for-x64/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 09:37:24 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[programs]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[i386]]></category>
		<category><![CDATA[mircryption]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[x64]]></category>
		<category><![CDATA[xchat]]></category>

		<guid isPermaLink="false">http://yokohead.com/?p=79</guid>
		<description><![CDATA[x64 instructions:

sudo apt-get install xchat
wget http://mircryption.sourceforge.net/Downloads/mircryption_xchatsrc.zip
wget http://voobar.follvalsch.de/files/mcps_xchat_0.4.0-alpha.tar.bz2
unzip mircryption_xchatsrc.zip
tar -xvf mcps_xchat_0.4.0-alpha.tar.bz2 -C /src
cd /src/mcps_xchat_0.4.0-alpha
mv Makefile ../ &#38;&#38; mv dh1080 ../ &#38;&#38; mv mircryption.cpp ../
cd ..

Ran into this error on install and realized I hadn&#8217;t installed a compiler since reinstallation.  There actually is no readme.txt and no .so file was created.
Trying to install mircryption.so into ~/.xchat2 [...]]]></description>
			<content:encoded><![CDATA[<p>x64 instructions:</p>
<ul>
<li><code>sudo apt-get install xchat</code></li>
<li><code>wget <a href="http://mircryption.sourceforge.net/Downloads/mircryption_xchatsrc.zip">http://mircryption.sourceforge.net/Downloads/mircryption_xchatsrc.zip</a></code></li>
<li><code>wget <a href="http://voobar.follvalsch.de/mcpsx">http://voobar.follvalsch.de/files/mcps_xchat_0.4.0-alpha.tar.bz2</a></code></li>
<li><code>unzip mircryption_xchatsrc.zip</code></li>
<li><code>tar -xvf mcps_xchat_0.4.0-alpha.tar.bz2 -C /src</code></li>
<li><code>cd /src/mcps_xchat_0.4.0-alpha</code></li>
<li><code>mv Makefile ../ &amp;&amp; mv dh1080 ../ &amp;&amp; mv mircryption.cpp ../</code></li>
<li><code>cd ..</code></li>
</ul>
<p>Ran into this error on install and realized I hadn&#8217;t installed a compiler since reinstallation.  There actually is no readme.txt and no .so file was created.</p>
<p><em>Trying to install mircryption.so into ~/.xchat2 (see readme.txt for more info)<br />
cp mircryption.so ~/.xchat2<br />
cp: cannot stat `mircryption.so&#8217;: No such file or directory<br />
make: *** [install] Error</em></p>
<ul>
<li><code>sudo apt-get install g++</code></li>
<li><code>make install</code></li>
<li><code>xchat</code></li>
</ul>
<p>On first load mircryption will have you set a masterpass phrase.  /setkey &lt;key&gt; sets your key.  Oh yes,  and you&#8217;ll want to remove everything afterwards&#8230;</p>
<ul>
<li><code>cd ..</code></li>
<li><code>rm -R src/ README.txt mircryption_xchatsrc.zip mcps_xchat_0.4.0-alpha.tar.bz2</code></li>
</ul>
<p>i386 instructions:</p>
<ul>
<li><code>sudo apt-get install xchat</code></li>
<li><code>wget <a href="http://mircryption.sourceforge.net/Downloads/mircryption_xchatsrc.zip">http://mircryption.sourceforge.net/Downloads/mircryption_xchatsrc.zip</a></code></li>
<li><code>unzip mircryption_xchatsrc.zip</code></li>
<li><code>cd /src/xchat</code></li>
<li><code>make linux</code></li>
<li><code>make install</code></li>
<li><code>cd ../..</code></li>
<li><code>rm -R src/ README.txt mircryption_xchatsrc.zip</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://yokohead.com/2009/01/installing-xchat-with-mircryption-for-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Gears in Firefox x64 for Wordpress 2.7</title>
		<link>http://yokohead.com/2009/01/google-gears-in-firefox-x64-for-wordpress-27/</link>
		<comments>http://yokohead.com/2009/01/google-gears-in-firefox-x64-for-wordpress-27/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 07:33:22 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[programs]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[google gears]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://yokohead.com/?p=1</guid>
		<description><![CDATA[To resolve this error:
&#8220;Google Gears&#8221; could not be installed because it is not compatible with your Firefox build type (Linux_x86_64-gcc3). Please contact the author of this item about the problem
Stan Joel posted the lastest (5.18.0) on Issue 335

Download: http://jms.id.au/~shenki/gears/gears-linux-x86_64-opt-0.5.18.0.xpi
In Firefox,  click File -&#62; Open File, find gears-linux-opt-0.5.18.0.xpi
Click &#8220;Install Now&#8221; when prompted
Restart Firefox

I keep up to [...]]]></description>
			<content:encoded><![CDATA[<p>To resolve this error:</p>
<p><em>&#8220;Google Gears&#8221; could not be installed because it is not compatible with your Firefox build type (Linux_x86_64-gcc3). Please contact the author of this item about the problem</em></p>
<p><a href="http://code.google.com/p/gears/issues/detail?id=335#c28">Stan Joel</a> posted the lastest (5.18.0) on Issue 335</p>
<ul>
<li>Download: <a href="http://jms.id.au/~shenki/gears/gears-linux-x86_64-opt-0.5.18.0.xpi">http://jms.id.au/~shenki/gears/gears-linux-x86_64-opt-0.5.18.0.xpi</a></li>
<li>In Firefox,  click<strong> File</strong> -&gt; <strong>Open File, </strong>find<strong> </strong><em>gears-linux-opt-0.5.18.0.xpi</em></li>
<li>Click &#8220;<strong>Install Now</strong>&#8221; when prompted</li>
<li>Restart Firefox</li>
</ul>
<p>I keep up to date on the latest by checking <a href="http://code.google.com/p/gears/issues/detail?id=335">Issue 335 </a>on code.google.com. [Update #5]</p>
<p><br class="spacer_" /></p>
<hr />
<p>Just as I installed (and was very impressed by) Wordpress 2.7,  I immediately ran into an issue trying to get <a href="http://gears.google.com">Google Gears</a> going in Firefox x64.  It says right under the install button that it isn&#8217;t supported,  but of course I didn&#8217;t even notice that the first time around and got this error:</p>
<p><em>&#8220;Google Gears&#8221; could not be installed because it is not compatible with your Firefox build type (Linux_x86_64-gcc3). Please contact the author of this item about the problem</em></p>
<p>Did a quick <a href="&quot;Google Gears&quot; could not be installed because it is not compatible with your Firefox build type (Linux_x86_64-gcc3). Please contact the author of this item about the problem.">search</a> and found a <a href="http://www.techrecipes.net/linux/google-gears-in-64-bit-linux.html">TechRecipes</a> post <span style="text-decoration: line-through;">which has everything you need</span>.  Already having burned myself once,  I checked to see what the latest <a href="http://code.google.com/apis/gears/upcoming/history.html">Gears version</a> was,  then read through the <a href="http://groups.google.com/group/gears-users/browse_thread/thread/4584842dd14a4882/?pli=1">user group </a>link from TechRecipes which has a really interesting discussion between an <a href="http://www-personal.umich.edu/~swolchok/gears/">independent developer</a> and some of the Gears devs about earlier x64 patches.</p>
<p>Now that Gears 5.7.0 was installed I went back into my Wordpress Site Admin and clicked the Tools menu &#8211; the button still showed &#8220;Install Now&#8221;.  Burned twice.  Clicking &#8220;Install Now&#8221; took me to the Gears install site again.  I checked my Firefox addons and saw that 5.7.0 was successfully installed.  Took a look at the source code to see if there was a direct link and found a variety of status messages (gears-msg1 through 4 in source) so for some reason the site did not realize that I had Gears installed at all.  Went back to the drawing board from earlier and found that everyone who has said that Gears works for them was using <a href="http://www-personal.umich.edu/~swolchok/gears/gears-linux-opt-0.4.9.0.xpi">4.9.0</a>.  Removed 5.7.0,  restarted Firefox, installed 4.9.0 and was able to get &#8216;Turbo&#8217; mode working,  all files downloaded successfully.</p>
<p>Man, I gotta say &#8211; the dashboard is definitely snappier.  It was worth it.</p>
<p><em>(Update)</em> <a href="ivanhoe@freelosofia.org">Ivanhoe</a> has helpfully mentioned that his version was built for the latest <a href="http://gentoo.org">gentoo</a> in the <a href="http://yokohead.com/2009/01/google-gears-in-firefox-x64-for-wordpress-27/comment-page-1/#comment-2">comments</a> and will have instructions on making your own for the next update.</p>
<p>(Update #2) <a href="http://nielspeen.com/blog/">Neils Peen</a> has posted version <a href="http://nielspeen.com/blog/wp-content/uploads/2009/02/gears-linux-opt-05110.xpi">5.1.1</a><strong> </strong>compiled on Kubuntu using Firefox 3.0.5 &#8211; I removed the 4.9.0 addon and updated with his and it worked fine.  While digging around I also found <a href="http://code.google.com/p/gears/issues/detail?id=335">Issue 335</a> on Google Code which details this problem.</p>
<p>(Update #3) <a href="http://code.google.com/p/gears/issues/detail?id=335#c26">livibetter</a> has posted version <a href="http://gears.googlecode.com/issues/attachment?aid=865911321112980205&amp;name=gears-linux-opt-0.5.13.0.xpi">5.1.3</a> compiled on Fedora 10 x64_63 with <a href="http://fedoratux.blogspot.com/2009/02/building-google-gears-for-firefox-64.html">instructions</a> to do so yourself &#8211; I removed the 5.1.1 addon and updated with 5.1.3 &#8211; tested by removing my Wordpress Gears download and going through the process again successfully.</p>
<p>(Update #4) <a onclick="javascript:pageTracker._trackPageview('/outbound/article/fedoratux.blogspot.com');" href="http://fedoratux.blogspot.com/2009/02/building-google-gears-for-firefox-64.html">Tux Wears Fedora</a> has the <a href="http://gears.googlecode.com/issues/attachment?aid=865911321112980205&amp;name=gears-linux-opt-0.5.13.0.xpi">latest x64 Gears</a> version, tested with 8.10 &amp; Firefox 3.0.6,  worked fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://yokohead.com/2009/01/google-gears-in-firefox-x64-for-wordpress-27/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
