<?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>apfelkraut.org &#187; Ubuntu</title>
	<atom:link href="http://www.apfelkraut.org/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.apfelkraut.org</link>
	<description>::: Blog ::: Open Source ::: Photography :::</description>
	<lastBuildDate>Thu, 02 Sep 2010 16:39:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>HowTo: WLAN Ralink RT2870 USB Stick + (K)Ubuntu 8.10</title>
		<link>http://www.apfelkraut.org/2009/02/howto-wlan-ralink-rt2870-usb-stick-kubuntu-810/</link>
		<comments>http://www.apfelkraut.org/2009/02/howto-wlan-ralink-rt2870-usb-stick-kubuntu-810/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 20:31:04 +0000</pubDate>
		<dc:creator>apfelkraut</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WLAN]]></category>

		<guid isPermaLink="false">http://www.apfelkraut.org/?p=451</guid>
		<description><![CDATA[This is a HowTo about getting a Ralink RT2870 WLAN USB Stick on a Siemens Fujitsu PI 3645 with (K)Ubuntu 8.10 64bit (Intrepid Ibex) to work. The native Linux driver provided by Ralink Technology is being used. I recently bought a Siemens Fujitsu Desktop PC PI 3645 and was really amazed that nearly all hardware [...]]]></description>
			<content:encoded><![CDATA[<p>This is a HowTo about getting a Ralink RT2870 WLAN USB Stick on a Siemens Fujitsu PI 3645 with (K)Ubuntu 8.10 64bit (Intrepid Ibex) to work. The native Linux driver provided by Ralink Technology is being used.</p>
<p><span id="more-451"></span></p>
<p>I recently bought a <a href="http://www.fujitsu-siemens.com/" class="broken_link">Siemens Fujitsu</a> Desktop PC PI 3645 and was really amazed that nearly all hardware was working out of the box with <a href="http://www.kubuntu.org/">Kubuntu</a> 8.10 64bit.</p>
<p>However the built-in WLAN adapter was not working. It showed up that it is a Ralink RT2870 USB Stick, somehow integrated although I haven&#8217;t found it yet.</p>
<p>My first try to get it working was with <a href="http://ndiswrapper.sourceforge.net/">ndiswrapper</a>. But I didn&#8217;t have a 64 bit Windows driver at hand, so I decided to use the original <a href="http://www.ralinktech.com/license_us.php?n=2&#038;p=0&#038;t=U0wyRnpjMlYwY3k4eU1EQTVMekV5THpFMUwyUnZkMjVzYjJGa05UYzBNVFExTkRNNU5TNWllakk5UFQxU1ZESTROekJmVEdsdWRYaFRWRUZmVmpJdU15NHdMakF1ZEdGeUxuUmhjZz09Qw%3D%3D">Linux driver</a> provided by <a href="http://www.ralinktech.com/">Ralink Technology</a>. </p>
<p>The following posts have been of good use to me, still they have been a way too complicated or did not describe the way I got it working: <a href="http://blog.delgurth.com/tag/rt2870/">&#8220;Followup on the Belkin F5D8053 and Ubuntu&#8221;</a>, <a href="http://ubuntuforums.org/showthread.php?t=960642">&#8220;Install linux drivers for ralink rt2870&#8243;</a> or <a href="http://ubuntuforums.org/showthread.php?t=837548">&#8220;rt2870&#8243;</a>.</p>
<p><em>UPDATE (2009/10/02):</em> The links to the official Ralink drivers have been updated as version 2.2.0.0 of the driver package was released in Aug 2009. Still this version was not tested by me but I am happy if you leave a comment about your experiences.</p>
<p>Now let&#8217;s get started:</p>
<p>1.) First thing is to prepare the system for the driver compilation. Therefore it is needed to install certain tools and the headers of the running kernel:</p>
<ul>
<li><code>sudo apt-get install build-essential linux-headers-`uname -r`</code></li>
</ul>
<p>2.) Now the source for the Linux driver needs to be downloaded from the <a href="http://www.ralinktech.com/support.php?s=2">Linux support page</a> of Ralink Technology.</p>
<ul>
<li>Download <a href=http://www.ralinktech.com/license_us.php?n=2&#038;p=0&#038;t=U0wyRnpjMlYwY3k4eU1EQTVMekV5THpFMUwyUnZkMjVzYjJGa05UYzBNVFExTkRNNU5TNWllakk5UFQxU1ZESTROekJmVEdsdWRYaFRWRUZmVmpJdU15NHdMakF1ZEdGeUxuUmhjZz09Qw%3D%3D">this package</a> (<a href="http://www.apfelkraut.org/download/RT2870_LinuxSTA_V2.3.0.0.tar.tar.bz2"><strong>alternative mirror</strong></a>):<br />
<code>wget http://www.ralinktech.com/license_us.php?n=2&#038;p=0&#038;t=U0wyRnpjMlYwY3k4eU1EQTVMekV5THpFMUwyUnZkMjVzYjJGa05UYzBNVFExTkRNNU5TNWllakk5UFQxU1ZESTROekJmVEdsdWRYaFRWRUZmVmpJdU15NHdMakF1ZEdGeUxuUmhjZz09Qw%3D%3D</code></li>
<li>Extract it somewhere:<br />
<code>tar xvfj RT2870_LinuxSTA_V2.3.0.0.tar.tar.bz2</code></li>
</ul>
<p>3.) Now the support of <a href="http://hostap.epitest.fi/wpa_supplicant/">wpa_supplicant</a> should be enabled in the file <code>os/linux/config.mk</code> of the driver package.</p>
<ul>
<li>Open the file with your favorite text editor, for example <a href="http://www.gnu.org/software/emacs/">GNU Emacs</a>:<br />
<code>emacs os/linux/config.mk</code></li>
<li>Change the following attributes from &#8220;no (=n)&#8221;:<br />
<blockquote><p><code># Support Wpa_Supplicant<br />
HAS_WPA_SUPPLICANT<strong>=n</strong></code></p>
<p><code># Support Native WpaSupplicant for Network Maganger<br />
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT<strong>=n</strong></code></p></blockquote>
<p>&#8230; to value &#8220;yes (=y)&#8221;:</p>
<blockquote><p><code># Support Wpa_Supplicant<br />
HAS_WPA_SUPPLICANT<strong>=y</strong></code></p>
<p><code># Support Native WpaSupplicant for Network Maganger<br />
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT<strong>=y</strong></code></p></blockquote>
</li>
</ul>
<p>4.) Afterwards the driver needs to be build and installed. Make sure to execute both commands in the root of the driver package and with superuser privileges:</p>
<ul>
<li><code>sudo make</code></li>
<li><code>sudo make install</code></li>
</ul>
<p>5.) Last thing is to add this driver to <code>/etc/modules</code> so that it is loaded automatically every time the system is rebooted.</p>
<ul>
<li>Open the file with your favorite text editor, for example <a href="http://www.gnu.org/software/emacs/">GNU Emacs</a>:<br />
<code>emacs /etc/modules</code></li>
<li>Add the following line:<br />
<code>rt2870sta</code> </p>
<p>(others reported that they had only success by adding &#8220;<code>alias ra0 rt2870sta</code>&#8220;)</li>
</ul>
<p>6.) If you do not want to reboot your machine, you should execute the following two lines with superuser privileges to load the driver and to integrate it in your networking configuration:</p>
<ul>
<li><code>sudo modprobe rt2870sta</code></li>
<li><code>sudo /etc/init.d/networking restart</code></li>
</ul>
<p>Now in my case with Kubuntu the <a href="http://en.opensuse.org/Projects/KNetworkManager" class="broken_link">KNetworkManager</a> came up and listed me all available WLAN networks. Even without <a href="http://hostap.epitest.fi/wpa_supplicant/">wpa_supplicant</a> I was able to connect to my <a href="http://en.wikipedia.org/wiki/Wpa2">WPA2</a> encrypted network as KNetworkManager seems to have build-in WPA2 support.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;HowTo%3A+WLAN+Ralink+RT2870+USB+Stick+%2B+%28K%29Ubuntu+8.10&quot;+-+from+http://b2l.me/z688u" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=HowTo%3A+WLAN+Ralink+RT2870+USB+Stick+%2B+%28K%29Ubuntu+8.10+-+http://b2l.me/z688u&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.apfelkraut.org/2009/02/howto-wlan-ralink-rt2870-usb-stick-kubuntu-810/&amp;t=HowTo%3A+WLAN+Ralink+RT2870+USB+Stick+%2B+%28K%29Ubuntu+8.10" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.apfelkraut.org/2009/02/howto-wlan-ralink-rt2870-usb-stick-kubuntu-810/&amp;title=HowTo%3A+WLAN+Ralink+RT2870+USB+Stick+%2B+%28K%29Ubuntu+8.10" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.apfelkraut.org/2009/02/howto-wlan-ralink-rt2870-usb-stick-kubuntu-810/&amp;title=HowTo%3A+WLAN+Ralink+RT2870+USB+Stick+%2B+%28K%29Ubuntu+8.10" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.apfelkraut.org/2009/02/howto-wlan-ralink-rt2870-usb-stick-kubuntu-810/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.apfelkraut.org/2009/02/howto-wlan-ralink-rt2870-usb-stick-kubuntu-810/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
