<!> These are old instructions. The new version can be found at WifiDocs/Driver/RalinkRT2500 This page describes how to download, compile and install the open source wireless drivers for R'aLink Rt2500-based wi-fi cards. Note: This is only needed for users of Ubuntu 5.04. Ubuntu 5.10 and 6.06 have these drivers already installed Please note you will need to have an active internet connection for these instructions to work, so you may need to hook up via ethernet temporarily.
Get Driver and RaConfig
1. Open a Terminal window (found under the "System Tools" group, in the "Applications" menu). Most of the work will be done through the Terminal. 2. Download RT2500 Beta or RT2500 CVS (the Beta Release is considered more stable, but for packet injection mode, which tools like Aircrack require, the CVS Version is necessary).
You can find the Rt2500 download page on http://rt2x00.serialmonkey.com/wiki/index.php/Downloads
- For downloading the Beta Release follow the "Latest BETA rt2500 driver" download link.
- For downloading the CVS Release follow the "rt2500 nightly CVS tarball" download link.
After you downloaded the driver, open console, go into the directory where you downloaded the driver and type:
tar -xzf <driver name>
to unpack it. 3. At the Terminal Type:
sudo apt-get install build-essential linux-headers-$(uname -r)
This will install necessary packages for the compilation, after typing your password. Note for Breezy: You need to install gcc-3.4 instead of (or along with) the default gcc-4 using the following command:
sudo apt-get install gcc-3.4
Note if this doesn't work because it's complaining about
E: Couldn't find package gcc-3.4
then you need to add the main repository to your apt sources. The easiest way of doing this is:
- by launching the System -> Administration -> Synaptic Package Management program,
- clicking the Settings -> Repositories menu,
- clicking Add, selecting the "Ubuntu 5.10 Breezy Badger" repository,
- checking the "Community Maintained (Universe)" box
- clicking OK and OK again.
Then you should quit the Synaptic program and try the install command again.
Installing the Driver
The first step is to compile and install the driver: 1. Now type:
This will bring you into the driver folder. If you extracted it somewhere else, adjust the address accordingly. 2. Type:
3. The module is now built. Before we install it, let's test it. Type:
sudo insmod rt2500.ko
4. Now, if you require WPA encryption, or for any other reason need the raconfig utility, carry on to the next section if not, carry on to the dontneed "And If I Don't Need raconfig" section.
Installing RaConfig/RutilT, and using it
You can also install another GUI application for the driver instead of R'aConfig called RutilT. After the the will of the developers this tool is going to replace R'aConfig, since R'aConfig won't be developed any further. At this point RutilT is still under heavy developement (I'm talking about RutilT v0.06) and in comparison to R'aConfig it has the following advantages/disadvantages:
- It supports several R'alink chipsets and not only Rt2500 (they're going to implement all R'aLink chipsets).
- It's based on GTK, so Ubuntu users don't have to install kdebase.
- The new R't2X00 Driver is supported, which is a complete new driver and supports all R'aLink chipsets (this driver is still very unstable).
- Users are going to be able to run this tool as non-root user (not implemented yet).
- It doesn't support WPA yet.
1. To install the utility, you'll need to download and install the kdebase and qt3 development packages. Type:
sudo apt-get install kdebase
note that if you're using Kubuntu, you need not install this package. Also type:
sudo apt-get install qt3-dev qt3-dev-tools
If qt3-dev fails to install, you might try libqt3-dev - see the comments at the foot of this page. If you use Ubuntu 5.10 install libqt3-mt-dev. 2. Now type:
sudo qmake -o Makefile raconfig2500.pro
5. Under System -> Administration you will find networking. Your Ralink card will be listed there. Activate it. 6. In the Terminal, type:
sudo cp <path to RaConfig2500 executable> /usr/local/bin
7. launch R'aConfig by typing in console:
8. The present wireless networks will be listed. Pick one, click "Add Profile" and fill in the correct details. Save the profile, click connect, close the utility, and the browser window.
1. First we're going to download the tool. Visit the tool's homepage at http://cbbk.free.fr/bonrom/ and download the newest version. 2. Now to solve the dependencies:
sudo apt-get install libgtk2.0-dev
and, if you haven't already done this before,
sudo apt-get install build-essential linux-headers-$(uname -r)
3. We need to unpack the archive you downloaded, so open a console and go into the directory where you downloaded the archive. Type
tar -xzf <archive name>
4. After unpacking the archive we will open the new folder:
cd <path to folder>
5. Now, we're going to compile the application:
If you want to compile it with packet injection mode type:
instead. (note: If you want to compile it with packet injection mode, you must use the CVS driver version, otherwise R'uTilt won't work) 6. In order to install the executable in /usr/bin type:
sudo make install
7. Under System -> Administration you will find networking. Your Ralink card will be listed there. Activate it. 8. You can now run the RutilT by typing "rutilt" in console.
And What If I Don't Need RaConfig or RutilT
1. Under System -> Administration you will find networking. Your Ralink card will be listed there. Click properties and configure it. Click activate.
Loading the module
1. First, disconnect - click Deactivate in the Networking window, or use the Terminal:
sudo ifdown ra0
2. Optional, only do this when you're using an Ubuntu Version of Breezy Badger or higher in combination with the CVS driver (in order to uninstall the old driver):
sudo rm -r /lib/modules/`uname -r`/kernel/drivers/net/wireless/rt2500
sudo cp ~/rt2500-cvs-daily/Module/rt2500.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/
echo "alias ra0 rt2500" | sudo tee /etc/modprobe.d/rt2500
6. That's it! The driver's installed! You can now erase the unpacked rt2500 folder and the archive itself.
From FabiánRodríguez Fri Apr 15 05:52:38 +0100 2005 From: Fabián Rodríguez Date: Fri, 15 Apr 2005 05:52:38 +0100 Subject: Font size is too big - some text not visible Message-ID: <[email protected]> Depending on your configuration and resolution, the text in the RaConfig utility may not be all visible. The qt3-qtconfig package can be installed, then run the qtconfig utility as root to change the font size. From OlivierMagere Sun Apr 17 00:34:31 +0100 2005 From: Olivier Magere Date: Sun, 17 Apr 2005 00:34:31 +0100 Subject: Message-ID: <[email protected]https://www.ubuntulinux.org> it's libqt3-dev that needs to be installed, not qt3-dev that doesn't exist. From SamCox Fri Apr 29 10:07:57 +0100 2005 From: Sam Cox Date: Fri, 29 Apr 2005 10:07:57 +0100 Subject: Almost perfect! Message-ID: <[email protected]> This guide worked almost perfectly, except for the qt3-dev package fix above. Also I needed to run "sudo echo "alias ra0 rt2500" >/etc/modprobe.d/rt2500" as root in a terminal, sudo did not seem to work. From OwainEvans Thu May 5 21:47:42 +0100 2005 From: Owain Evans Date: Thu, 05 May 2005 21:47:42 +0100 Subject: Message-ID: <[email protected]https://www.ubuntulinux.org> No need to install kdebase if qt3-qtconfig is installed. From WinstonLee Sun May 8 08:42:42 +0100 2005 From: Winston Lee Date: Sun, 08 May 2005 08:42:42 +0100 Subject: Packages not available Message-ID: <[email protected]https://www.ubuntulinux.org> If kdebase, qt3-dev, etc is not available, you will need to enable universe/multiverse repository. See: https://www.ubuntulinux.org/wiki/HowToEnableTheMultiverseRepositoryInUbuntu From WoutervanWijk Thu May 19 15:50:07 +0100 2005 From: Wouter van Wijk Date: Thu, 19 May 2005 15:50:07 +0100 Subject: betas Message-ID: <[email protected]https://www.ubuntulinux.org> Maybe it's saver to use the betas/release candidates at this page: http://sourceforge.net/project/showfiles.php?group_id=107832&package_id=144813 From WoutervanWijk Thu May 19 16:50:02 +0100 2005 From: Wouter van Wijk Date: Thu, 19 May 2005 16:50:02 +0100 Subject: usb Message-ID: <[email protected]> Another note: when you have an USB Wireless device (with rt2570 chipset), you better use this driver: http://software.linspire.com/pool-src/r/rt2570-2.6.10/rt2570-2.6.10_1.0.3-22.214.171.124.linspire0.1.tar.gz It's not GPL (yet?) but it works very well for me (I used the original non-linspire archive inside this archive). From JérémyBobbio Sat May 21 13:38:52 +0100 2005 From: Jérémy Bobbio Date: Sat, 21 May 2005 13:38:52 +0100 Subject: ural-linux: port of *BSD RT2500USB driver to Linux Message-ID: <[email protected]https://www.ubuntulinux.org> ural-linux is a port of Damien Bergamini's *BSD driver for RT2500USB based cards: http://etudiants.insia.org/~jbobbio/ural-linux/ From JanneBlomqvist Mon May 23 16:59:53 +0100 2005 From: Janne Blomqvist Date: Mon, 23 May 2005 16:59:53 +0100 Subject: Compile the driver with debug settings! Message-ID: <[email protected]https://www.ubuntulinux.org> I spent a few evenings trying to get my rt2500 PCI card to work on Hoary. The problem was that I couldn't get encryption (neither WEP nor WPA) to work. Eventually I found out that compiling the driver with debug settings (e.g. type "make debug" instead of "make" in step 5 above) made it work. I guess there's some variable that should be declared volatile in the driver, but who knows... From RobSharp Wed Jun 1 23:39:24 +0100 2005 From: Rob Sharp Date: Wed, 01 Jun 2005 23:39:24 +0100 Subject: Official Ralink USB (rt2570) drivers Message-ID: <[email protected]https://www.ubuntulinux.org> Looks like ralink have released USB drivers for linux. http://www.ralinktech.com/supp-1.htm