En:HOWTO: Ralink RT73 USB Wireless Set-up

From Sabayon Wiki
Jump to: navigation, search
Outdated RT73 Based wifi works out of the box with linux-sabayon-2.6.27+

The modules are in portage, however, I couldn't get it to work with the ones included in 3.2 DVD and lsmod would actually show both the rt2500 and rt73 modules loaded. I tried for about 3 hours to get it to work with the one for my card, which uses the rt73 module.

The modules are also available at http://rt2x00.serialmonkey.com

1. Download the daily CVS from the above address - rt73-cvs-daily.tar.gz

2. Extract it:

tar xzfvp rt73-cvs-daily.tar.gz

3. Remove the ones that are in portage:

# emerge -C rt2500
# emerge -C rt73
# emerge -C rt73-firmware

4. Remove the left over modules in your kernel modules directory, since I am still running 2.6.18-gentoo-4, mine are at:

rm /lib/modules/2.6.18-gentoo-r4/net/rt2500.ko
rm /lib/modules/2.6.18-gentoo-r4/net/rt73.ko

5. Change to the directory you extracted the daily cvs:

# cd rt73*/Module

6. Make and make install:

# make && make install

7. Edit the file /etc/modules.d/rt73 and change it to:

File: /etc/modules.d/rt73
#alias usbra? rt73
    alias ra0 rt73

8. Run modules-update force:

# modules-update force

9. Load the module:

# modprobe rt73

10. Now, run the command iwconfig and it should show something about rausb0 but it wont have an ip address yet.

# iwconfig

11. create the net.rausb0 by linking it to net.eth0 in init.d directory:

# ln -s /etc/init.d/net.eth0 /etc/init.d/net.rausb0

12. If you don't need anything special, such as setting ESSID or Encryption, you can go ahead and now run:

# /etc/init.d/net.rausb0 start
And use default settings.

13.If you need to set ESSID or Encryption, you will need to modify /etc/conf.d/wireless

14. When done, you should be able to run iwconfig and show your connected settings:

localhost ~ # iwconfig
    lo        no wireless extensions.

    eth0      no wireless extensions.

    vmnet1    no wireless extensions.

    vmnet8    no wireless extensions.

    rausb0    RT73 WLAN  ESSID:"tSp"
              Mode:Managed  Frequency=2.462 GHz  Access Point: 00:06:25:A5:A4:F5
              Bit Rate=11 Mb/s
              RTS thr:off   Fragment thr=65534 B
              Encryption key:off
              Link Quality=77/100  Signal level:-62 dBm  Noise level:-99 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0

--Thev00d00 20:21, 12 November 2007 (UTC)