<?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; wpa</title>
	<atom:link href="http://tech.rehaniftikhar.com/tag/wpa/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>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>
	</channel>
</rss>
