LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-06-2007, 03:00 PM   #1
computergee
Member
 
Registered: Feb 2005
Posts: 58

Rep: Reputation: 15
RT61 Wireless Chipset, anyway to Plug and Play?


I have a wireless card which uses the RT61 chipset and I've always had trouble getting it to work right. I got it working with Ubuntu with the official linux drivers (from ralink), but I do not like the fact that you have to change the configuration file when you change access points, because every time I messed with it, I would have a hard time getting it to work again. It's embarrassing going to someones house, and taking an hour to connect to their wireless network. I've seen that they have some open source RT61 drivers here:
http://rt2x00.serialmonkey.com/wiki/...itle=Downloads

But these are in beta. My question is do these support the plug and play functionality I'm after? If not, is there a way to pull it off with this chipset?
 
Old 03-06-2007, 03:11 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I would definitely use the rt2x00 drivers rather than the official Ralink ones.

They are built on the original drivers, and even though they are listed as BETA they are very stable. I have never had a problem with them. Granted I have not used the RT61 branch of the drivers, only the RT2500/RT2570 drivers.
 
Old 03-06-2007, 06:27 PM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
The driver has nothing to do with the config files though. Anytime you are connecting to a different network, the config files need to be changed, either at the command line or by editing them.

You'll want 2 packages installed - iwconfig and wpasupplicant. Iwconfig is small and fast, and great for connecting to unsecured networks, or those protected with WEP. Wpasupplicant is for connecting to wpa encrypted networks. It can also be used on WEP, but I prefer iwconfig because it is what I am more familiar with.

Connecting to a new network literally can be accomplished in about 15 - 20 seconds as long as you know the passwords or have someone with you who does. I would do it like this, either as root or with the sudo command:

Code:
iwlist scan            #(gives list of available networks)
(we'll call your friend's network friend_network for this example)
iwconfig (interface) essid friend_network key s:password
ifdown (interface)
ifup (interface)
That would do it. Obviously the interface can be different, for me my wireless card is eth1, but you also see alot of cards identified as wlan0 and other names. So if your friend was running an open network (aka bad idea), you could leave the key part out. If they have a WEP key, and it is say abCde, then with a wireless card of eth1, the commands would be exactly:

Code:
iwconfig eth1 essid friend_network key s:abCde
ifdown eth1
ifup eth1
Game over. For wpasupplicant you usually need to physically get the key via usb stick, then point wpasupplicant at that key.

In any case, I don't know what you were doing, but it sounds like you were screwing up the files with manual editing if it was taking you half an hour. Try things out by going to coffee shops and see how quickly you can get on their open networks. That should be super quick as they tend to be open.

Peace,
JimBass
 
Old 03-06-2007, 07:40 PM   #4
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
I'm sorry, but I guess I wasn't clear. The config file I was referring to was the RT61sta.dat file that is required by the official RaLink drivers. With the official drivers, this file has to be edited each time you change access points, and is a huge pain in the butt, because sometimes it doesn't even work right.
 
Old 03-06-2007, 07:48 PM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
That is very strange. I would certainly pursue the open sorce driver mentioned above. There should be no need to edit a driver based on what network you connect to, the driver should just provide the OS with a way to access the card, not configure the card for use. They are mixing functions there. Sorry for the confusion.

Peace,
JimBass
 
Old 03-06-2007, 09:02 PM   #6
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
No problem, it's all very confusing lol. I guess the driver uses this configuration file, instead of the ones that are regularly used. As you can tell, it's very troublesome.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make wireless more portale, RT61 Chipset computergee Linux - Wireless Networking 2 12-30-2006 09:19 AM
Are there any wireless cards that work plug and play style? supremo13 Linux - Wireless Networking 1 08-09-2006 02:25 PM
Plug 'N Play Wireless PC Cards under Fedora Core 5? cs76737 Linux - Wireless Networking 1 05-30-2006 07:11 AM
Plug and play wireless card avenolpey Ubuntu 4 08-20-2005 03:55 PM
wireless cards plug 'n play with fedora 3 s9547654 Linux - Wireless Networking 2 01-12-2005 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration