<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Auto Start your WiFi on Raspberry Pi</title>
	<atom:link href="http://stinebaugh.info/auto-start-your-wifi-on-raspberry-pi/feed/" rel="self" type="application/rss+xml" />
	<link>http://stinebaugh.info/auto-start-your-wifi-on-raspberry-pi/</link>
	<description>I Talk To Machines</description>
	<lastBuildDate>Sat, 18 May 2013 04:34:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: voyager</title>
		<link>http://stinebaugh.info/auto-start-your-wifi-on-raspberry-pi/comment-page-1/#comment-688</link>
		<dc:creator>voyager</dc:creator>
		<pubDate>Wed, 12 Sep 2012 20:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://stinebaugh.info/?p=3025#comment-688</guid>
		<description><![CDATA[The Roswill RNX-N180UBE works right out of box and has antenna extension cable and base of course its N.
I just followed the tutorial on installing Gnome network-manager so cli isn&#039;t needed every time.
cheep at newegg]]></description>
		<content:encoded><![CDATA[running <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/net/chrome.png' title='Google Chrome 21.0.1180.89' style='border:0px;vertical-align:middle;' alt='Google Chrome 21.0.1180.89'> Google Chrome 21.0.1180.89 on <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/os/win-4.png' title='Windows 7' style='border:0px;vertical-align:middle;' alt='Windows 7'> Windows 7<br><small>Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1</small><p>The Roswill RNX-N180UBE works right out of box and has antenna extension cable and base of course its N.<br />
I just followed the tutorial on installing Gnome network-manager so cli isn&#8217;t needed every time.<br />
cheep at newegg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XENwater</title>
		<link>http://stinebaugh.info/auto-start-your-wifi-on-raspberry-pi/comment-page-1/#comment-684</link>
		<dc:creator>XENwater</dc:creator>
		<pubDate>Fri, 31 Aug 2012 18:54:07 +0000</pubDate>
		<guid isPermaLink="false">http://stinebaugh.info/?p=3025#comment-684</guid>
		<description><![CDATA[Thanks for sharing, it works very good :-)
nice WLAN Stick with ext. antenna and without powered USB hub? I need this stick too ;-)

I have this stick, works very well with Linux but this stick need a powered usb hub:
http://www.bazoo.eu/multimedia/index.php?we_objectID=298]]></description>
		<content:encoded><![CDATA[running <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/net/firefox.png' title='Firefox 15.0' style='border:0px;vertical-align:middle;' alt='Firefox 15.0'> Firefox 15.0 on <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/os/linux.png' title='GNU/Linux x64' style='border:0px;vertical-align:middle;' alt='GNU/Linux x64'> GNU/Linux x64<br><small>Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0</small><p>Thanks for sharing, it works very good <img src='http://stinebaugh.info/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
nice WLAN Stick with ext. antenna and without powered USB hub? I need this stick too <img src='http://stinebaugh.info/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I have this stick, works very well with Linux but this stick need a powered usb hub:<br />
<a href="http://www.bazoo.eu/multimedia/index.php?we_objectID=298" rel="nofollow">http://www.bazoo.eu/multimedia/index.php?we_objectID=298</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phill</title>
		<link>http://stinebaugh.info/auto-start-your-wifi-on-raspberry-pi/comment-page-1/#comment-682</link>
		<dc:creator>Phill</dc:creator>
		<pubDate>Thu, 23 Aug 2012 05:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://stinebaugh.info/?p=3025#comment-682</guid>
		<description><![CDATA[Still unsolved... how to get the thing to automatically reconnect when the signal is dropped.      That works if I use &quot;Network Manager&quot; inside of X11, but I&#039;m really hoping eventually to deploy these little RPis as little &quot;agents&quot; --- embedded computers that will run headless and be managed by ssh&#039;ing into them.    

So, I want them to connect to a certain Wifi network on boot, and persistently try to reconnect (and re-up the DHCP lease) any time they lose that connection.    This solves the &quot;connect on boot&quot;, but the connection is lost, it stays lost.       

I could write my own daemon to check the health of the connection and bring it up back----but something tells me that&#039;s the wrong way to do it----i.e. that it is likely that wpasupplicant *is* the daemon that should be doing that, and perhaps it already can, f only I knew how to configure it to do so.]]></description>
		<content:encoded><![CDATA[running <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/net/chrome.png' title='Google Chrome 21.0.1180.82' style='border:0px;vertical-align:middle;' alt='Google Chrome 21.0.1180.82'> Google Chrome 21.0.1180.82 on <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/os/mac-3.png' title='Mac OS X 10.6.8' style='border:0px;vertical-align:middle;' alt='Mac OS X 10.6.8'> Mac OS X 10.6.8<br><small>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.82 Safari/537.1</small><p>Still unsolved&#8230; how to get the thing to automatically reconnect when the signal is dropped.      That works if I use &#8220;Network Manager&#8221; inside of X11, but I&#8217;m really hoping eventually to deploy these little RPis as little &#8220;agents&#8221; &#8212; embedded computers that will run headless and be managed by ssh&#8217;ing into them.    </p>
<p>So, I want them to connect to a certain Wifi network on boot, and persistently try to reconnect (and re-up the DHCP lease) any time they lose that connection.    This solves the &#8220;connect on boot&#8221;, but the connection is lost, it stays lost.       </p>
<p>I could write my own daemon to check the health of the connection and bring it up back&#8212;-but something tells me that&#8217;s the wrong way to do it&#8212;-i.e. that it is likely that wpasupplicant *is* the daemon that should be doing that, and perhaps it already can, f only I knew how to configure it to do so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Stinebaugh</title>
		<link>http://stinebaugh.info/auto-start-your-wifi-on-raspberry-pi/comment-page-1/#comment-681</link>
		<dc:creator>Daniel Stinebaugh</dc:creator>
		<pubDate>Wed, 22 Aug 2012 23:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://stinebaugh.info/?p=3025#comment-681</guid>
		<description><![CDATA[Awesome! Thanks for keeping us updated! I&#039;m sure this will help many others, as well as myself, as like I said, I&#039;ve still yet to get wifi on my 2nd pi.

You Rock!]]></description>
		<content:encoded><![CDATA[running <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/net/chrome.png' title='Google Chrome 21.0.1180.83' style='border:0px;vertical-align:middle;' alt='Google Chrome 21.0.1180.83'> Google Chrome 21.0.1180.83 on <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/os/win-4.png' title='Windows 7 x64 Edition' style='border:0px;vertical-align:middle;' alt='Windows 7 x64 Edition'> Windows 7 x64 Edition<br><small>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.83 Safari/537.1</small><p>Awesome! Thanks for keeping us updated! I&#8217;m sure this will help many others, as well as myself, as like I said, I&#8217;ve still yet to get wifi on my 2nd pi.</p>
<p>You Rock!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phill</title>
		<link>http://stinebaugh.info/auto-start-your-wifi-on-raspberry-pi/comment-page-1/#comment-680</link>
		<dc:creator>Phill</dc:creator>
		<pubDate>Wed, 22 Aug 2012 22:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://stinebaugh.info/?p=3025#comment-680</guid>
		<description><![CDATA[Never mind... figured it out!    

Here are details for anyone else that might be trying the script above, and running into problems.

As far as I can figure out, the RFKILL thing was a red herring.     

The real problems were:

(1) (duh...) I had a typo in the SSID in my wpa_supplicant.conf
(2) the next one was more subtle:

instead of: 

network={
ssid=&quot;YOURSSID&quot;
psk=&quot;YOURPASSWORD&quot;
}

I had to run the following command:

wpa_passphrase YOURSSID YOURPASSWORD

and then take the output and copy/paste it into my wpa_supplicant.conf, e.g.

network={
   ssid=&quot;YOURSSID&quot;
   #psk=&quot;YOURPASSWORD&quot;
   psk=some_long_string_of_hex_not_in_quotes 
}

I had assumed, since I tried my password not in quotes and it rejected it as &quot;not in the right format&quot;, that it was automatically doing the translation, but that was not the case.

(3) These next steps might or might not have been necessary----they were fumbling around in the dark before I finally changed the psk to the hex number generated by wpa_passphrase (which is the last thing I did before it worked.)

Knowing that I was using WPA2, I also put in some things I found on various websites, such as:

  scan_ssid=1
  proto=WPA RSA
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP
  auth_alg=OPEN

I don&#039;t know if any or all of those are needed... later when I have more patience and time, I might try removing them one at a time and see if it breaks.  (If anyone is following in my footsteps here, one caution:   there is no underscore between WPA and RSA... or CCMP and TKIP... those really are spaces.)

One debugging technique that was helpful was one I got from this page:

   https://live.gnome.org/NetworkManager/Debugging

This was relevant because I knew that my WIFI connection was working perfectly with the  &quot;NetworkManager&quot; program in the GUI (the one referred to on that page.)   So by turning on the debugging for that, I was able to see some of the low level details of what things looked like when there was a _successful_ connection.     That was somewhat helpful in figuring out what was wrong.]]></description>
		<content:encoded><![CDATA[running <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/net/chrome.png' title='Google Chrome 21.0.1180.83' style='border:0px;vertical-align:middle;' alt='Google Chrome 21.0.1180.83'> Google Chrome 21.0.1180.83 on <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/os/win-4.png' title='Windows 7' style='border:0px;vertical-align:middle;' alt='Windows 7'> Windows 7<br><small>Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.83 Safari/537.1</small><p>Never mind&#8230; figured it out!    </p>
<p>Here are details for anyone else that might be trying the script above, and running into problems.</p>
<p>As far as I can figure out, the RFKILL thing was a red herring.     </p>
<p>The real problems were:</p>
<p>(1) (duh&#8230;) I had a typo in the SSID in my wpa_supplicant.conf<br />
(2) the next one was more subtle:</p>
<p>instead of: </p>
<p>network={<br />
ssid=&#8221;YOURSSID&#8221;<br />
psk=&#8221;YOURPASSWORD&#8221;<br />
}</p>
<p>I had to run the following command:</p>
<p>wpa_passphrase YOURSSID YOURPASSWORD</p>
<p>and then take the output and copy/paste it into my wpa_supplicant.conf, e.g.</p>
<p>network={<br />
   ssid=&#8221;YOURSSID&#8221;<br />
   #psk=&#8221;YOURPASSWORD&#8221;<br />
   psk=some_long_string_of_hex_not_in_quotes<br />
}</p>
<p>I had assumed, since I tried my password not in quotes and it rejected it as &#8220;not in the right format&#8221;, that it was automatically doing the translation, but that was not the case.</p>
<p>(3) These next steps might or might not have been necessary&#8212;-they were fumbling around in the dark before I finally changed the psk to the hex number generated by wpa_passphrase (which is the last thing I did before it worked.)</p>
<p>Knowing that I was using WPA2, I also put in some things I found on various websites, such as:</p>
<p>  scan_ssid=1<br />
  proto=WPA RSA<br />
  key_mgmt=WPA-PSK<br />
  pairwise=CCMP TKIP<br />
  group=CCMP TKIP<br />
  auth_alg=OPEN</p>
<p>I don&#8217;t know if any or all of those are needed&#8230; later when I have more patience and time, I might try removing them one at a time and see if it breaks.  (If anyone is following in my footsteps here, one caution:   there is no underscore between WPA and RSA&#8230; or CCMP and TKIP&#8230; those really are spaces.)</p>
<p>One debugging technique that was helpful was one I got from this page:</p>
<p>   <a href="https://live.gnome.org/NetworkManager/Debugging" rel="nofollow">https://live.gnome.org/NetworkManager/Debugging</a></p>
<p>This was relevant because I knew that my WIFI connection was working perfectly with the  &#8220;NetworkManager&#8221; program in the GUI (the one referred to on that page.)   So by turning on the debugging for that, I was able to see some of the low level details of what things looked like when there was a _successful_ connection.     That was somewhat helpful in figuring out what was wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Stinebaugh</title>
		<link>http://stinebaugh.info/auto-start-your-wifi-on-raspberry-pi/comment-page-1/#comment-679</link>
		<dc:creator>Daniel Stinebaugh</dc:creator>
		<pubDate>Wed, 22 Aug 2012 21:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://stinebaugh.info/?p=3025#comment-679</guid>
		<description><![CDATA[For this walk through I was using the recommended Raspbian release, as I figured it would benifit the largest amount of people, however I&#039;m also running an Arch Linux build, which I&#039;m guessing you are as well being rfkill is an arch package.

I&#039;ll make another guide soon for getting wifi working on arch, so hang tight, or if you get this figured out before I do, Please feel free to post your experience and steps you took or at least a link to a post you&#039;ve made here as well!]]></description>
		<content:encoded><![CDATA[running <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/net/chrome.png' title='Google Chrome 21.0.1180.83' style='border:0px;vertical-align:middle;' alt='Google Chrome 21.0.1180.83'> Google Chrome 21.0.1180.83 on <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/os/win-4.png' title='Windows 7 x64 Edition' style='border:0px;vertical-align:middle;' alt='Windows 7 x64 Edition'> Windows 7 x64 Edition<br><small>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.83 Safari/537.1</small><p>For this walk through I was using the recommended Raspbian release, as I figured it would benifit the largest amount of people, however I&#8217;m also running an Arch Linux build, which I&#8217;m guessing you are as well being rfkill is an arch package.</p>
<p>I&#8217;ll make another guide soon for getting wifi working on arch, so hang tight, or if you get this figured out before I do, Please feel free to post your experience and steps you took or at least a link to a post you&#8217;ve made here as well!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phill</title>
		<link>http://stinebaugh.info/auto-start-your-wifi-on-raspberry-pi/comment-page-1/#comment-678</link>
		<dc:creator>Phill</dc:creator>
		<pubDate>Wed, 22 Aug 2012 20:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://stinebaugh.info/?p=3025#comment-678</guid>
		<description><![CDATA[Nice article.  Unfortunately, it didn&#039;t work for me... I got these errors:

rfkill: Cannot open RFKILL control device
ioctl[SIOSCIWAP]: Device or resource busy
ioctl[SIOSCIWESSID]: Device or resource busy

I did an strace on the wpasupplicant command and it appears it is trying to access /dev/rfkill which doesn&#039;t exist in my build.     What build are you using?]]></description>
		<content:encoded><![CDATA[running <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/net/chrome.png' title='Google Chrome 21.0.1180.83' style='border:0px;vertical-align:middle;' alt='Google Chrome 21.0.1180.83'> Google Chrome 21.0.1180.83 on <img src='http://stinebaugh.info/wp-content/plugins/wp-useragent/img/24/os/win-4.png' title='Windows 7' style='border:0px;vertical-align:middle;' alt='Windows 7'> Windows 7<br><small>Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.83 Safari/537.1</small><p>Nice article.  Unfortunately, it didn&#8217;t work for me&#8230; I got these errors:</p>
<p>rfkill: Cannot open RFKILL control device<br />
ioctl[SIOSCIWAP]: Device or resource busy<br />
ioctl[SIOSCIWESSID]: Device or resource busy</p>
<p>I did an strace on the wpasupplicant command and it appears it is trying to access /dev/rfkill which doesn&#8217;t exist in my build.     What build are you using?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  stinebaugh.info/auto-start-your-wifi-on-raspberry-pi/feed/ ) in 0.58612 seconds, on Jun 20th, 2013 at 1:12 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Jun 20th, 2013 at 2:12 am UTC -->