<?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>noorul islam :: my thoughts &#187; wpa_supplicant</title>
	<atom:link href="http://noorul.com/blog/tag/wpa_supplicant/feed/" rel="self" type="application/rss+xml" />
	<link>http://noorul.com/blog</link>
	<description>gnu/linux, emacs and random thoughts</description>
	<lastBuildDate>Wed, 01 Aug 2012 02:24:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Setting up wpa_supplicant on Debian etch (linux 2.6.25.3)</title>
		<link>http://noorul.com/blog/2008/06/04/setting-up-wpa_supplicant-on-debian-etch-linux-26253/</link>
		<comments>http://noorul.com/blog/2008/06/04/setting-up-wpa_supplicant-on-debian-etch-linux-26253/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 01:38:53 +0000</pubDate>
		<dc:creator>noorul</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[wpa]]></category>
		<category><![CDATA[wpa+psk]]></category>
		<category><![CDATA[wpa_supplicant]]></category>

		<guid isPermaLink="false">http://noorul.wordpress.com/?p=15</guid>
		<description><![CDATA[Recently, I was trying to connect to a WiFi access point in my room. Some how the system not able to associate to the access point. It took lots of time for me to find out that WPA-PSK encryption is used. Following steps helped me to setup wpa_supplicant which encrypts the stream. 1. Create wpa_supplicant.conf. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I was trying to connect to a WiFi access point in my room. Some how the system not able to associate to the access point. It took lots of time for me to find out that WPA-PSK encryption is used. Following steps helped me to setup wpa_supplicant which encrypts the stream.</p>
<p>1. Create wpa_supplicant.conf. Mine is located at /etc/</p>
<pre>ctrl_interface=/var/run/wpa_supplicant
network={
	ssid="Access Point SSID"
	scan_ssid=1
	proto=WPA
	key_mgmt=WPA-PSK
	psk="Really Secret"
	priority=5
}</pre>
<p>2. Put following commands inside a shell script</p>
<pre>
#!/bin/sh
wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -Bw
dhclient eth2
</pre>
<p>3. Run the above script to bring the link up.</p>
<p>Now have fun with browsing!</p>
<p><b>Update:</b> Recently I upgraded my Debian version to Squeeze (6.0). When I was using etch, I used the above script to start wpa_supplicant. Now I no longer use that method. Now I have the following entry in /etc/network/interfaces</p>
<pre>
auto eth1
iface eth1 inet dhcp
	wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
</pre>
<p>This will automatically load wpa_supplicant during start up. Also the following commands can be used to bring up and down wireless network.</p>
<pre>
$ ifdown eth1
$ ifup eth1
</pre>
]]></content:encoded>
			<wfw:commentRss>http://noorul.com/blog/2008/06/04/setting-up-wpa_supplicant-on-debian-etch-linux-26253/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
