Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old November 2nd, 2007   #1
balak
A Carafe of Ubuntu
 
Join Date: Dec 2005
Location: Austin
Beans: 100
Rt61, Gutsy, WPA 2 Help

Hi All,

I have a specific question regarding WPA2 networks. I have a ralink rt61 wireless card:

Code:
02:09.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
I haven't messed around with the drivers. I have a clean install of gutsy and WEP worked out of the box with the default drivers (rt61pci). I did read the thread for installing the windows driver using ndiswrapper etc. - however I ran into issues finding the 64-bit driver for my card. Well, I downloaded the self-extracting exe from ralink website, but it always extracts a 32-bit version of the driver in crossover office

Back to my question. I can connect to WEP at home. And I can connect to some WPA2 networks but not others.

Here is a sample wpa_supplicant config. file for the network I CAN connect to now in gutsy. I actually use networkmanager to connect, but this is to give you the network details.

Code:
network={
        ssid="xyz"
        key_mgmt=WPA-EAP
        phase2="auth=MSCHAPV2"
        eap=TTLS
        ca_cert="/etc/cert/xyz.pem"
        subject_match="CN=xyz"
        identity="ME"
        passwd="MYPASSWD"
}
The other network I am not able to connect is the following. I cannot connect to this network either using networkmanager or using wpa_supplicant in commandline. Note that I can connect to this network from feisty installation (with my own compiled driver of rt61).

Code:
network={
      ssid="abc"
      key_mgmt=IEEE8021X
      eap=peap
      phase2="auth=MSCHAPV2"
      ca_cert="/etc/cert/abc.pem"
      identity="ME"
      passwd="MYPASSWD"
}
Anybody knows what is the difference between the two networks listed above?
__________________
Laptop 1: Averatec 2150 running Karmic Laptop 2: HP dv4z running Karmic
Laptop 3: Sony Vaio SR220J running Karmic (amd64) Desktop: AMD Athlon X2 4000+ ABIT AN-M2 nVidia GeForce 7025-630a running Karmic (amd64)
balak is offline   Reply With Quote
Old November 7th, 2007   #2
balak
A Carafe of Ubuntu
 
Join Date: Dec 2005
Location: Austin
Beans: 100
Re: Rt61, Gutsy, WPA 2 Help

bump!!

Did anybody get the default rt61 drivers in gutsy to work with WPA2
__________________
Laptop 1: Averatec 2150 running Karmic Laptop 2: HP dv4z running Karmic
Laptop 3: Sony Vaio SR220J running Karmic (amd64) Desktop: AMD Athlon X2 4000+ ABIT AN-M2 nVidia GeForce 7025-630a running Karmic (amd64)
balak is offline   Reply With Quote
Old November 7th, 2007   #3
wieman01
Himbeer Brombeer Macchiato
 
wieman01's Avatar
 
Join Date: May 2006
Location: 100acrewood
Beans: 7,259
Kubuntu 9.10 Karmic Koala
Re: Rt61, Gutsy, WPA 2 Help

I doubt the current Ralink driver supports WPA2-EAP. PSK is no problem for sure, but EAP...

You might have to replace the current driver with "ndiswrapper" and the native Windows driver. That should let you use WPA2-EAP through Network Manager.
wieman01 is offline   Reply With Quote
Old November 7th, 2007   #4
balak
A Carafe of Ubuntu
 
Join Date: Dec 2005
Location: Austin
Beans: 100
Re: Rt61, Gutsy, WPA 2 Help

Thanks for replying wieman01

Quote:
Originally Posted by wieman01 View Post

You might have to replace the current driver with "ndiswrapper" and the native Windows driver. That should let you use WPA2-EAP through Network Manager.
I tried using ndiswrapper but I need the 64-bit windows driver. Is there a place where this is available?

I downloaded the driver from the Ralink website, but its an .EXE file and it always extracts the 32 bit driver.
__________________
Laptop 1: Averatec 2150 running Karmic Laptop 2: HP dv4z running Karmic
Laptop 3: Sony Vaio SR220J running Karmic (amd64) Desktop: AMD Athlon X2 4000+ ABIT AN-M2 nVidia GeForce 7025-630a running Karmic (amd64)

Last edited by balak; November 7th, 2007 at 12:29 AM.. Reason: typo
balak is offline   Reply With Quote
Old November 7th, 2007   #5
zero244
Quad Shot of Ubuntu
 
Join Date: Mar 2007
Beans: 491
Re: Rt61, Gutsy, WPA 2 Help

I couldn't get WPA to work in Gutsy, but like you I did get WEP to work. Using WEP is better than using nothing. I am thankful that the RT61 chip works at all in Ubuntu.
I dont have to connect to WPA networks since I use my wireless at home only.
Let us know if you get it to work.
Good Luck.
zero244 is offline   Reply With Quote
Old November 7th, 2007   #6
wieman01
Himbeer Brombeer Macchiato
 
wieman01's Avatar
 
Join Date: May 2006
Location: 100acrewood
Beans: 7,259
Kubuntu 9.10 Karmic Koala
Re: Rt61, Gutsy, WPA 2 Help

Quote:
Originally Posted by balak View Post
I tried using ndiswrapper but I need the 64-bit windows driver. Is there a place where this is available?

I downloaded the driver from the Ralink website, but its an .EXE file and it always extracts the 32 bit driver.
Mmm... 64-bit should be found somewhere. I know at least of one guy who got a Ralink card working using my tutorial on 64-bit system. I have helped him a bit and he eventually found out that all he had to do was use the 64-bit version of the driver. Take a look at the tutorial (see signature) and post there if you need help.

If Network Manager does not support WPA2-EAP (whatever type of EAP you plan to use), I should be able to work something out for you as well (see other tutorial). But let's do one step at a time.
wieman01 is offline   Reply With Quote
Old November 7th, 2007   #7
wieman01
Himbeer Brombeer Macchiato
 
wieman01's Avatar
 
Join Date: May 2006
Location: 100acrewood
Beans: 7,259
Kubuntu 9.10 Karmic Koala
Re: Rt61, Gutsy, WPA 2 Help

Quote:
Originally Posted by zero244 View Post
I couldn't get WPA to work in Gutsy, but like you I did get WEP to work. Using WEP is better than using nothing. I am thankful that the RT61 chip works at all in Ubuntu.
I dont have to connect to WPA networks since I use my wireless at home only.
Let us know if you get it to work.
Good Luck.
WEP is actually just as secure as... well, nothing. If you know what you are doing of course.
wieman01 is offline   Reply With Quote
Old November 9th, 2007   #8
Ronin69
First Cup of Ubuntu
 
Ronin69's Avatar
 
Join Date: Nov 2007
Location: Iowa
Beans: 7
Kubuntu 7.10 Gutsy Gibbon
Re: Rt61, Gutsy, WPA 2 Help

Wow! How did you get RT61 to work with Gutsy out of the box?

I've been struggling with this for 2 days. My Access Point is blank and I can't ping the router. Loopback works. Not sure if Logical Name: wmaster0 makes any difference from wlan0 that is listed in the interface file.

Any help would be appreciated.
Ronin69 is offline   Reply With Quote
Old November 11th, 2007   #9
Andrew MacDonald
First Cup of Ubuntu
 
Join Date: May 2006
Beans: 8
Ubuntu 7.10 Gutsy Gibbon
Re: Rt61, Gutsy, WPA 2 Help

rt61 with WPA worked out of the box for me with Gutsy-amd64 using Network Manager. However, it seems the stock drivers (rt61pci module) are poor. My maximum throughput was around 1 Mbps.

Next I tried ndiswrapper with some 64 bit Windows drivers. They seemed extremely sketch, so I was quite surprised when they actually worked, and I had good throughput. My intuition was correct in the end though, as after a week I traced the source of badass freezing (requiring hard reset) to this driver. If you want to try your luck with it anyway:
http://forums.linksys.com/linksys/bo...essage.id=2699

I ended up using the serialmonkey legacy drivers. The only downside is that I had to ditch Network Manager, and go with manual configuration. NM doesn't seem to be able to use them. Otherwise they're working flawlessly (including WPA2). The steps I followed:

1. Download the serialmonkey rt61 legacy CVS tarball http://rt2x00.serialmonkey.com/wiki/index.php/Downloads

2. Remove the rt61pci module
Code:
sudo modprobe -r rt61pci
3. Blacklist the module, by adding the line
Code:
blacklist rt61pci
to /etc/modprobe.d/blacklist

4. Quit Network Manager if it's running.

5. Install the drivers following the directions in Module/README (the directions are excellent and include instructions on configuring WPA)

6. If it's working you can uninstall Network Manager at this point, or at least keep it from starting up (I just unchecked it in Preferences->Sessions).

7. To get wireless working on startup, I use the following stanza in /etc/network/interfaces (just following the serialmonkey directions)
Code:
auto wlan0
iface wlan0 inet dhcp
pre-up iwconfig wlan0 mode managed
pre-up ifconfig wlan0 up
pre-up iwconfig wlan0 essid [your SSID]
pre-up iwpriv wlan0 set AuthMode=WPA2PSK
pre-up iwpriv wlan0 set WPAPSK=[your ascii key]
pre-up iwpriv wlan0 set EncrypType=AES
Andrew MacDonald is offline   Reply With Quote
Old November 13th, 2007   #10
brodiepearce
Just Give Me the Beans!
 
brodiepearce's Avatar
 
Join Date: Feb 2007
Location: Australia
Beans: 72
Xubuntu 9.04 Jaunty Jackalope
Send a message via MSN to brodiepearce
Re: Rt61, Gutsy, WPA 2 Help

Quote:
Originally Posted by balak View Post
Here is a sample wpa_supplicant config. file for the network I CAN connect to now in gutsy. I actually use networkmanager to connect, but this is to give you the network details.
Hi.. unrelated to your problems, but is there anything in particular you set to connect to WPA networks through the network manager (in the limited cases that you were able to)? As of yet I've been unable to connect to my router using WPA-PSK and WPA2-PSK, tried disabling mac filtering etc. to no success.
brodiepearce is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:55 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry