<?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>Midnight Oil &#187; Uncategorized</title>
	<atom:link href="http://tech.rehaniftikhar.com/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://tech.rehaniftikhar.com</link>
	<description>Losing sleep on Open Source Software</description>
	<lastBuildDate>Tue, 03 Nov 2009 18:24:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Why does my keypad reset my X server?</title>
		<link>http://tech.rehaniftikhar.com/uncategorized/why-does-my-keypad-reset-my-x-server</link>
		<comments>http://tech.rehaniftikhar.com/uncategorized/why-does-my-keypad-reset-my-x-server#comments</comments>
		<pubDate>Mon, 06 Oct 2008 19:20:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tech.rehaniftikhar.com/uncategorized/why-does-my-keypad-reset-my-x-server</guid>
		<description><![CDATA[For a while I&#8217;ve had this weird bug on my Ubuntu laptop where, while using an external keyboard, if I hit any key on the numeric keypad the current X server would reset. Incredibly annoying. What&#8217;s worse, is that I never really got around to &#8220;fixing&#8221; the problem, I just trained my right hand to [...]]]></description>
			<content:encoded><![CDATA[<p>For a while I&#8217;ve had this weird bug on my Ubuntu laptop where, while using an external keyboard, if I hit any key on the numeric keypad the current X server would reset. Incredibly annoying. What&#8217;s worse, is that I never really got around to &#8220;fixing&#8221; the problem, I just trained my right hand to not stray too far to the right. But of course, accidents happen, and this last time of losing work was the final &#8220;home loan that brought down the US economy&#8221;.</p>
<p>The problem originates somewhere between XGL and using your numeric keypad to control the pointer (known as Mouse Keys).</p>
<p>If you&#8217;re sure you don&#8217;t need XGL (check your xorg.conf first!), then simply remove it:</p>
<p><code>sudo apt-get remove xserver-xgl</code></p>
<p>And disable your Mouse Keys:</p>
<ol>
<li><strong>System -&gt; Preferences -&gt; Keyboard</strong></li>
<li><strong>Mouse Keys </strong>(tab)<strong> </strong></li>
<li>Uncheck &#8220;Allow to control the pointer using the keyboard&#8221;</li>
</ol>
<p>Now restart your machine, and <em>Voilà</em></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.rehaniftikhar.com/uncategorized/why-does-my-keypad-reset-my-x-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion: undo files marked for deletion</title>
		<link>http://tech.rehaniftikhar.com/uncategorized/subversion-undo-files-marked-for-deletion</link>
		<comments>http://tech.rehaniftikhar.com/uncategorized/subversion-undo-files-marked-for-deletion#comments</comments>
		<pubDate>Mon, 21 Jul 2008 18:24:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tech.rehaniftikhar.com/uncategorized/subversion-undo-files-marked-for-deletion</guid>
		<description><![CDATA[Problem: While in Eclipse, my finger and thumb lost coordination and I accidentally dragged a folder up the file tree to a another folder. Since I have Subclipse installed, it automatically maked my changes for &#8220;addition&#8221; and &#8220;deletion&#8221; from the repo. A simple svn revert on the parent directory was not enough.
Solution:  For some reason [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> While in Eclipse, my finger and thumb lost coordination and I accidentally dragged a folder up the file tree to a another folder. Since I have Subclipse installed, it automatically maked my changes for &#8220;addition&#8221; and &#8220;deletion&#8221; from the repo. A simple <code>svn revert</code> on the parent directory was not enough.</p>
<p><strong>Solution:  </strong>For some reason I&#8217;m used to Subversion commands being recursive by default (guess I&#8217;m used to doing a lot of updating?). This is apparently not the case with <code>revert</code>. You need to explicitly indicate the <code>-R [ --recursive ]</code>  option</p>
<p><strong>To revert an entire directory:<br />
</strong><code>svn revert --recursive &lt;directory&gt;<directory></directory></code></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.rehaniftikhar.com/uncategorized/subversion-undo-files-marked-for-deletion/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSolaris: Getting WPA &#8216;to work&#8217;</title>
		<link>http://tech.rehaniftikhar.com/uncategorized/opensolaris-getting-wpa-to-work</link>
		<comments>http://tech.rehaniftikhar.com/uncategorized/opensolaris-getting-wpa-to-work#comments</comments>
		<pubDate>Sun, 11 May 2008 08:09:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[libssl]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[wpa]]></category>

		<guid isPermaLink="false">http://tech.rehaniftikhar.com/uncategorized/opensolaris-getting-wpa-to-work</guid>
		<description><![CDATA[I was eager to try out the new release of OpenSolaris (release Indiana I think). Popped in the LiveCD, got a nice boot menu, was greeted by a HUGE license agreement dialog, and the next think I knew I was up and running in a nice Gnome 2.2 Desktop (laptop?) environment.
There was even a convenient [...]]]></description>
			<content:encoded><![CDATA[<p>I was eager to try out the new release of OpenSolaris (release Indiana I think). Popped in the LiveCD, got a nice boot menu, was greeted by a HUGE license agreement dialog, and the next think I knew I was up and running in a nice Gnome 2.2 Desktop (laptop?) environment.</p>
<p>There was even a convenient and deceivingly helpful little WiFi network prompt that showed me all of my local networks. I found mine, and clicked connect. The screen went away, I <em>assumed</em> I was connected, but alas to not avail, I was not.</p>
<p>For some reason, the little WiFi tool (that shall remain nameless) could identify that my network used WPA security, but couldn&#8217;t connect to it. Helpful, but only in a deceiving way. At first I didn&#8217;t think much of it. Even Ubuntu has its WPA woes a few releases ago.</p>
<p>So then I embarked on the &#8220;chicken-egg-chicken-egg&#8221; scenario of downloading drivers from the internet that enable my computer to connect to the internet. One Ethernet cable and a Google search later, I found the OpenSolaris laptop support page with a mini tutorial on how to install the wpa_supplicant (again, very reminiscent of the Ubuntu olden days).</p>
<p>Got everything downloaded and installed, but when I tried to start the wpa_supplicant daemon, I got this nasty, brutish error:<br />
<code><br />
ld.so.1: wpa_supplicant: fatal : libssl.so.0.9.7: open failed: No such file or directory<br />
</code></p>
<p>&#8220;Okay&#8221; me thought to myself, &#8220;I need libssl&#8221;. But when I went to check, I sure enough had OpenSSL already and its version was 0.9.8a</p>
<p>At this point I was crying and screaming on the floor. My new toy wasn&#8217;t going to work. Why does this always happen to &#8220;me&#8221;?!? The last thing I wanted to do was start symlinking &#8220;shit&#8221; around in an OS I wasn&#8217;t familiar with.</p>
<p>What happened next is what highlights a fundamental difference b/w men and women (note: I am man). A woman by the name of Karen Tung simply asked how to fix this problem on an OpenSolaris <a href="http://ru.opensolaris.org/jive/thread.jspa?threadID=48443">forum.</a> I guess its like the proverbial &#8220;let&#8217;s stop and ask for directions&#8221;&#8230;&#8221;go to hell, I&#8217;m not lost&#8221; scenario.</p>
<p>Here is the solution, reposted in its infinite glory:<br />
<code><br />
# from the terminal...<br />
# change to the root account.<br />
# the root pw on the livecd is 'opensolaris'<br />
su root<br />
dladm create-secobj -c wpa mykey<br />
# enter your psk twice<br />
dladm connect-wifi -e "<essid>&lt;essid&gt;" -k mykey &lt;interface&gt;<interface><br />
</interface></essid></code></p>
<p>If you don&#8217;t get any &#8220;shitty&#8221; feedback like a segmentation fault, you should get that overly persistent, initially deceiving WiFi dialog popup (within a few minutes, hang tight). Find your ESSID you entered above, enter your psk ONE MORE TIME and you should be cool.  You should receive a dialog confirmation saying something like</p>
<blockquote><p>Brought interface interface up, got address xxx.xxx.xxx.xxx</p></blockquote>
<p>Now you can post on your blog from the liveCD&#8230;like someone I know&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.rehaniftikhar.com/uncategorized/opensolaris-getting-wpa-to-work/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSolaris: Not so fast</title>
		<link>http://tech.rehaniftikhar.com/uncategorized/opensolaris-not-so-fast</link>
		<comments>http://tech.rehaniftikhar.com/uncategorized/opensolaris-not-so-fast#comments</comments>
		<pubDate>Thu, 08 May 2008 07:35:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tech.rehaniftikhar.com/uncategorized/opensolaris-not-so-fast</guid>
		<description><![CDATA[Long story short:

Sun says: &#8220;OpenSolaris is desktop ready&#8221;
Out-of-the-box: no decent (WPA, etc) WiFi support
Manageable until: you realize OpenSolaris needs an internet connection to &#8220;function properly&#8221;.

Just upgraded to Ubuntu 8.04. Leave &#8220;desktop readiness&#8221; to the experts.
]]></description>
			<content:encoded><![CDATA[<p>Long story short:</p>
<ol>
<li>Sun says: &#8220;OpenSolaris is desktop ready&#8221;</li>
<li>Out-of-the-box: no decent (WPA, etc) WiFi support</li>
<li>Manageable until: you realize OpenSolaris needs an internet connection to &#8220;function properly&#8221;.</li>
</ol>
<p>Just upgraded to Ubuntu 8.04. Leave &#8220;desktop readiness&#8221; to the experts.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.rehaniftikhar.com/uncategorized/opensolaris-not-so-fast/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
