E-Mail:

Ralink Help-For-Ubuntu-Feisty

Part 1 | Part 2
If you are reading this, chances are you are running a Ralink RT2500 chipset wireless card that worked perfectly with Ubuntu Edgy and then stopped working after your upgrade to Feisty. Am I pretty close? Yeah, I feel ya, believe me. Well today, I have a solution for you that will hopefully offer you a way to get around Ubuntu’s latest wireless “fix”. In the interest of keeping this as doable as possible, I will be explaining this as straight forward as I possibly can.

How do I know if I am using a RT2500 chipset?

In Ubuntu Feisty, go to Applications, accessories, then choose Terminal. In the command line, copy and paste in the following.

iwconfig

If you are using a card based on the RT2500 chipset, you will see something like:

ra1 RT2500 Wireless ESSID:”blah” Nickname:”blah,blah”

Now you know that you are using a Ralink card based on the RT2500 chipset. Okay, let’s keep going.

Installing WiFi Radar.

Now because Ubuntu Feisty is using an applet called Network Manager and considering that it does not work with any Ralink based chipsets, you might as well kick it to the curb. You can safely uninstall it without any hassles.

Goto System, Administration and select Synaptic. You can use this tool to remove network-manager. If you are unfamiliar with Synaptic, use this tute for assistance.

After removing Network-Manager, you should use Synaptic again to install a program called wifi-radar. Once this is installed, now you will want to download this zip file.

Extract the file and then browse into the folder itself. Remember what the name of your interface was from the previously executed iwconfig? If not, run it again as described above and double click on the wifi-radar-ra0.conf, choose “Display”. Make sure the interface is set to Ra0 or Ra1, depending on the output of your iwconfig. Now do the same with the file named ra0-auto.sh. Remember, choose display, not run.

Connecting to your network.

Now before we even get started with making the actual connection, you should understand that without help from a Windows driver, WPA is not going to happen. Other chipsets, sure. But I have never had success with WPA and the RT2500 chipset in Linux myself. With this in mind, let’s come to grips with WEP for the time being.

Browse to your folder containing the ra0-auto.sh file. Right click on it and then go to properties, then permissions. Make sure this can be executed. From here, with the card inserted into the PCMCIA slot, double click on the ra0-auto.sh, enter your Ubuntu “sudo” password and let it run. You will eventually see the wifi-radar interface come up. You will also see a dialog come up and then need to click on the “new” button. Assuming you highlighted the correct network name, you should be able to leave the dialog options at their default settings as we are skipping WEP for the moment. Save everything and you should be connecting. The open command line (terminal window), will provide you with a behind the scenes.

Tried, but still no love.

So you tried this and it’s still not connecting? No worries, I will be back tomorrow to walk you through all the common “oops factors” that may have come up. Well that and whether or not this can be set to start up at each boot and how this works differently between Ubuntu and Linux Mint. Part 2, tomorrow.

[tags]Linux,network adapter[/tags]

7 Comments

Excellent guide!
However, after upgrading to Feisty, my RT2500 wireless card was still perfectly configured and in full working order. I believe your allegations that the network manager doesn’t support _any_ Ralink cards are not entirely just (as my card is still working even with the network manager).
Aside from that, I am sure this article will help many Ubuntu users that did happen to have the problem.

I have spoken to a couple of Ubuntu devs on this - it in fact, doesn’t support RT2500 chpsets (at least officially, due to a bug). That said, there is a rebuild of of NM in Linux Mint that is displaying all Ralink cards out of the box.

RT61 chipsets (Edimax cards), if PCMCIA, must be compiled from Serial-Monkey’s website as the existing one in Feisty/Edgy only works with the PCI RT61 cards. ;) I have been going full time on wireless for about year now - Linux user since 2003.

Oh as for RT2500 cards not working, in non-layman’s terms - it was an initializtion problem that has plagued a LOT of users. So I created a script that offers a up, down, up command that gets things rolling where as WiFi Radar can then take over.

Michael Friedrich

June 16th, 2007
at 2:54pm

I don’t know much about Feisty, but NetworkManager / WPA works with rt2500-based cards on Fedora Core 7 without too much hassle. The beta driver (rt2xxx) has its issues (at home, WPA will only work if the wifi card is present at system startup) but works for simple use cases.

If you are willing to use the console/mess around with some scripts you can probably improve the result but I don’t have enough time to do that.

You can set up WPA TKIP with Ralink 2500. It is pretty easy. You have to modify your /etc/network/interfaces file

Mine looks like this

This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto ra0

#WPA Stuff
iface ra0 inet dhcp
pre-up ifconfig ra0 up
pre-up ifconfig ra0 down
pre-up ifconfig ra0 up
pre-up ifconfig ra0 down
pre-up iwconfig ra0 essid “frank”
pre-up iwconfig ra0 mode managed
pre-up iwpriv ra0 set AuthMode=WPAPSK
pre-up iwpriv ra0 set EncrypType=TKIP
pre-up iwpriv ra0 set WPAPSK=”Your Password here”
pre-up ifconfig ra0 up

Try that

Thanks Frank (and everyone else), I will look at creating another bash script that will backup the user’s /etc/network/interfaces config, then replacing it with yours. I will create one assuming ra0 and another assuming ra1 as it can vary sometimes. ;)

Links to “Part Two” have been fixed, too.

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense hard-earned information back to the community, stake a claim on your very own Lockergnome blog today! You can write about anything - no matter the topic. Sign-up to start blogging!

64 queries / 0.671 seconds.