Welcome to Eric Hameleers (Alien BOB)'s Wiki pages.

If you want to support my work, please consider a small donation:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

slackware:rt2xxx [2007/05/12 11:29]
alien Added IWPRIV example for Slackware > 11.0
slackware:rt2xxx [2008/09/11 11:52] (current)
alien WPA configuration information has it's own page now.
Line 1: Line 1:
-===== The rt2x00 project =====+===== The rt2x00 project ======
  
-Wireless cards based on RaLink's chipsets are very well-suited for Linux computers. RaLink actively supports Linux and the Open Source community by releasing the code for a driver and configuration utility. Based on that code, re-developed driver for these cards is hosted at [[http://rt2x00.serialmonkey.com]]. This driver (although still in beta) is working good and is quite stable. It is different from other modern wireless drivers in that it has built-in WPA support. It is not dependent on a third-party tool like [[http://hostap.epitest.fi/wpa_supplicant/ | wpa_supplicant]]. The rt2x00 driver will eventually replace the current rt2400, rt2500 and rt2570 drivers.+Wireless cards based on RaLink's chipsets are very well-suited for Linux computers. RaLink actively supports Linux and the Open Source community by releasing the code for a driver and configuration utility. Based on that code, re-developed drivers for these cards are hosted at [[http://rt2x00.serialmonkey.com]]. These drivers (although still in beta) are working well and are quite stable. They are different from other modern wireless drivers in that they have built-in WPA support. It is not dependent on a third-party tool like [[http://hostap.epitest.fi/wpa_supplicant/ | wpa_supplicant]]. The rt2x00 driver will eventually replace the current rt2400, rt2500rt2570, rt61 and rt73 drivers.
  
 +==== Kernel-supported rt2x00 (2.6.24 and later) ====
 +
 +The rt2x00 driver included in the Linux kernels since 2.6.24 and which replaces all of the legacy RaLink drivers, does not have a built-in WPA support. Instead, it communicates with wpa_supplicant through the **''wext''** driver of wpa_supplicant. For more information on how to configure wpa_supplicant see the [[:slackware:network#wpa_encryption|WPA section of my //Slackware network configuration// page]].
 +
 +==== Legacy drivers ====
 +
 +I still use the "legacy" drivers from the Serialmonkey web site myself, since I do not consider the kernel's own rt2x00 driver stable enough (for me the rt2x00 often does not work with WPA connections). Therefore, the rest of this article concerns itself with building and configuring these out-of-kernel modules.
  
 === Getting the software === === Getting the software ===
  
-I maintain a Slackware package for the rt2500 driver (54Mbit wireless cards) [[http://www.slackware.com/~alien/slackbuilds/rt2500/ | here]]. Install a package for your release of Slackware (the version number should correspond with your running kernel) or build your own package using the [[http://www.slackware.com/~alien/slackbuilds/rt2500/build/rt2500.SlackBuild | SlackBuild script]] and the other files found in that location. An easy way to download all source files in one command is <code>+I maintain a Slackware package for several RaLink drivers. For instance, you will find the rt2500 driver (54Mbit wireless cards) [[http://www.slackware.com/~alien/slackbuilds/rt2500/ | here]]. Install a package for your release of Slackware (the version number should correspond with your running kernel) or build your own package using the [[http://www.slackware.com/~alien/slackbuilds/rt2500/build/rt2500.SlackBuild | SlackBuild script]] and the other files found in that location. An easy way to download all source files in one command is <code>
 lftp -c "open http://www.slackware.com/~alien/slackbuilds/rt2500/; mirror build" lftp -c "open http://www.slackware.com/~alien/slackbuilds/rt2500/; mirror build"
 </code> When this command completes, you will end up with a subdirectory called "//build//" in your current directory. Build the package as follows: <code> </code> When this command completes, you will end up with a subdirectory called "//build//" in your current directory. Build the package as follows: <code>
 cd build cd build
 sh rt2500.SlackBuild sh rt2500.SlackBuild
-</code> THe resulting package will be created in the ''/tmp'' directory and can be installed with (for example) <code> +</code> The resulting package will be created in the ''/tmp'' directory and can be installed with (for example) <code> 
-installpkg /tmp/rt2500-1.1.0.b4_2.6.13-i486-1.tgz+installpkg /tmp/rt2500-20080517_2.6.24.5_smp-i486-1alien.tgz
 </code>  </code> 
 +SlackBuild scripts and packages for the rt2570, rt61 and rt73 drivers can be found at the same location. Build and installation is analogous to the above instructions for the rt2500 driver.
 +
  
 === Loading and configuring the rt2500 driver === === Loading and configuring the rt2500 driver ===
Line 37: Line 46:
 The last line (//WLAN_IWPRIV[5]//) is the necessary configuration for WPA. The 64-character string '//12345.....901234//' I copied in there should be replaced by your Access Point's 64-character hexadecimal WPA key. The last line (//WLAN_IWPRIV[5]//) is the necessary configuration for WPA. The 64-character string '//12345.....901234//' I copied in there should be replaced by your Access Point's 64-character hexadecimal WPA key.
  
-<note warning>The above notation for the **//WLAN_IWPRIV//** variable has changed after Slackware 11.0. The new notation for ''IWPRIV'' in newer releases of Slackware is like this: +<note warning>The above notation for the **//WLAN_IWPRIV//** variable has changed starting with Slackware 12.0. The old notation for ''IWPRIV'' in before Slackware 12.0 was like this: \\ ''WLAN_IWPRIV[5]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=the64characterkey"'' \\ Starting with Slackware 12.0, you should use the new syntax <code> 
-<code> +WLAN_IWPRIV[5]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=the64characterkey"
-WLAN_IWPRIV[5]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=1234567890123456789012345678901234567890123456789012345678901234"+
 </code></note> </code></note>
 +
 +

Personal Tools
sponsoring