Rt61 Wireless Howto

From Gentoo Linux Wiki

Jump to: navigation, search
Merge-arrows.gif It has been suggested that this article be Merged into one article with Rt61.    (Discuss)

Contents

[edit] Introduction

I've noticed many people are having problems installing drivers for this particular chipset, so here is a guide to get it up and running. I've read somewhere this driver is available in kernel 2.6.24, but if you don't want to deal with the test kernel, this guide is for you.

Note: If you choose to go with the kernel driver, you still need to get the firmware from ralink

[edit] Download

First of all, make sure you have the correct hardware by running lspci, you should see rt61 on that list. Download the latest driver from the ralink site: http://www.ralinktech.com/ralink/Home/Support/Linux.html. In there you will find a link to the latest rt61 driver. My way of doing it is to open a rooted window and type:

Code: Download Source Code
wget http://www.ralinktech.com.tw/data/drivers/2007_1210_RT61_Linux_STA_v1.1.2.0.tar.bz2
tar -vjxf 2007_1210_RT61_Linux_STA_v1.1.2.0.tar.bz2
cd 2007_1210_RT61_Linux_STA_v1.1.2.0/Module

[edit] Compilation & Build

Once you are in the working folder read the README file if you want some background, here is what you will find in the build document:

Code: Compile Source Code
$cp Makefile.4  ./Makefile       # [kernel 2.4]
$cp Makefile.6  ./Makefile       # [kernel 2.6]
$cp Makefile.RTL865x ./Makefile  #  big endian platform
[kernel 2.4] $chmod 755 Configure
             $make config         # config build linux os version
$make all            # compile driver source code
$make install
$cp rt2561.bin /etc/Wireless/RT61STA/        # copy firmware
$cp rt2561s.bin /etc/Wireless/RT61STA/
$cp rt2661.bin /etc/Wireless/RT61STA/
$cp rt61sta.dat /etc/Wireless/RT61STA/rt61sta.dat
Warning: Make sure you have basic wireless support enabled in your kernel.

[edit] Installation

Once the steps above are complete, you need to edit your rt61sta.dat file and add the proper settings for your wireless router. Finally, to get everything else setup on Gentoo, simply do the following:

Code: Install Chipset
cd /etc/init.d
ln -s net.lo net.ra0
rc-update add net.ra0 default
modprobe rt61
echo "rt61" >> /etc/modules.autoload.d/kernel-2.6

Once the module is loaded, and ready to go, you may play with iwconfig to see if it recognizes your new wireless card. If that fails, reboot the machine. This may not be the 'Gentoo Way' of doing it but it worked for me. --Camilo Reyes 16:28, 11 March 2008 (UTC)

Personal tools