Difference between revisions of "Rt2x00 beta driver"

From ArchWiki
Jump to: navigation, search
(Configuring the driver for automatic startup on booting: Remove out of date info. Coverd by Network Configuration.)
(merged into main page)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Wireless Networking]]
#REDIRECT [[Wireless Setup#rt2x00]]
This page describes how you can make the new '''rt2x00''' drivers work. This page '''does not''' describe the legacy '''rt2500''', '''rt2400''', '''rt2570''', '''rt61''' and '''rt73''' drivers derived from the original Ralink drivers. The '''rt2x00''' driver has a few advantages over the legacy drivers: It works with all the standard tools, it is in active development as part of the kernel, and it is SMP-safe.
A lot has changed since these drivers were out-of-tree, so it's worth trying the modules (now in the main kernel package) even if the drivers have not worked for you in the past.
For help with these drivers see the [http://rt2x00.serialmonkey.com/phpBB/viewforum.php?f=5 rt2x00 Driver Support] section of the rt2x00 forums.
= Installing the driver =
The rt2x00 drivers are now part of the mainline kernel. One need only load the relevant module:
<pre>modprobe rt2400pci</pre>
<pre>modprobe rt2500pci</pre>
<pre>modprobe rt2500usb</pre>
<pre>modprobe rt61pci</pre>
<pre>modprobe rt73usb</pre>
The last two require a firmware file, provided by the Linux firmwares package:
<pre>pacman -S linux-firmware</pre>
= Using the driver =
== Setting the interface up ==
If you have module autoloading enabled, the drivers should be loaded automatically when you boot your machine or insert the device. If this doesn't work or autoloading is disabled, load the modules manually:
modprobe 80211
modprobe rc80211_simple
modprobe $driver
where $driver is one of the following: '''rt2500pci''', '''rt2400pci''', '''rt2500usb''' or '''rt61pci'''.
When the driver is loaded, you will have two interfaces, wmaster0 and wlan0.
== Using the driver ==
In the case of these drivers, the order in which you configure them is important. This is the preferred, and most likely to work order of configuring the device.
ifconfig wlan0 up
iwlist wlan0 scan
iwconfig wlan0 essid myessid
iwconfig wlan0 ap mybssid
To obtain an ip address after setup use '''ifconfig''' or '''dhcpcd'''  and wep or wpa if needed.
dhcpcd wlan0
== Extra utils for wep/wpa ==
=== wpa_supplicant ===
rt2x00 should work fine with the wpa_supplicant '''wext''' driver. It is not necessary to patch it any more. See [[WPA supplicant]]
=== Using WEP ===
WEP works with the wireless extensions used by iwconfig. See [[Wireless Setup#Wireless Quickstart]].

Revision as of 22:44, 3 August 2013