RT73 Wireless

From ArchWiki
Revision as of 02:20, 18 February 2013 by Fengchao (Talk | contribs) (Non-Roaming Setup: Remove deprecated info. rt73sta.dat have been removed from the driver in favour of using iwconfig and iwpriv.)

Jump to: navigation, search


This page describes how you can make the original Ralink RT73 (aka RT2571) drivers work. This page does not describe how to make the new from-scratch drivers written by the rt2x00 project. (For rt2x00, visit rt2x00 wiki page)

Several USB WiFi dongles use this chipset, including the Linksys WUSB54GC and the Belkin Wireless G USB key (F5D7050 v3000)


-----UPDATE-----

RT73 has support built into the kernel since 2.6.25, the steps below may no longer be necessary.

However, some RT73 devices (eg: Linksys WUSB54GC) need to load the firmware, or they won't really work (you can find the firmware requests by dmesg command, eg: dmesg |grep rt73). So you have to install the linux-firmware package, using:

   pacman -S linux-firmware

Testing The Driver

We will now test the functionality of the driver we just installed before altering the rc.conf file. This method may also be used when the WiFi dongle is used infrequently or you prefer retaining control over the entire connection process.

There are two ways to manually configure the dongle, iwconfig and iwpriv. Note that iwpriv must be used to set the SSID when compiling against kernel 2.6.19 and above.

Note: These steps may also be thrown in a script if you prefer.

Plug your WiFi dongle into a USB port.

Make sure the device is recognized using:

dmesg

You can check to make sure your system realizes it's a wireless device using:

iwconfig

There should be a device named rausb0 near the bottom.

Bring the WiFi dongle up using:

ifconfig rausb0 up

The rausb0 device should show up now in:

ifconfig

Although without an IP address since we aren't associated with an Access Point(AP) yet.

You can associate the WiFi dongle with an AP using:

iwconfig rausb0 essid <your_ESSID>

Or, if you have WEP:

iwconfig rausb0 essid <your_ESSID> key <your_WEP_key>

If you are using kernel 2.6.19 and above, the previous command will set the WEP key but not the ESSID. You must set the ESSID before the WiFi dongle will associate with an Access Point. You have to use iwpriv to set the ESSID now:

iwpriv rausb0 set SSID="<your_ESSID>"

Remember you can scan for APs using:

iwlist rausb0 scan


Finally, let the dhcpcd client get an IP address for your WiFi dongle.

dhcpcd rausb0

If everything worked you should now have network access using your WiFi dongle. If you don't, check the routes:

route

There should be a path to your gateway listed. If there is not, you can set one up using:

route add default gw <gateway-ip> rausb0