rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Wed Jun 19, 2013 6:52 pm

All times are UTC


Forum rules


Important: Read Project restructuring announcement regarding the pending removal of the legacy drivers from this project.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Tue Dec 11, 2007 4:55 am 
Offline

Joined: Tue Dec 11, 2007 4:37 am
Posts: 2
Location: Sydney, Australia
I am unable to connect to an access point with the CVS version of the RT2500 legacy driver (2007121020).

I am using Ubuntu 7.10 with the following kernel:
Linux rome 2.6.22-14-386 #1 Sun Oct 14 22:36:54 GMT 2007 i686 GNU/Linux

Hardware information:
MSI PC54G2
lspci: 01:08.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)

Steps to reproduce error:

# ifconfig ra0 down
# rmmod rt2500
# insmod rt2500,ko debug=31
# iwconfig ra0 essid Belkin_N_Wireless_C2B785 (no security)
# iwconfig ra0 essid Belkin_N_Wireless_C2B785 (no security)
# sudo iwconfig ra0 essid parnet key s:"......" (WEP)

There is no problem with the access point or the hardware since I am able to connect using ndiswrapper. Also the wireless card worked out of the box with Ubuntu 7.04 (kernel 2.6.20.15).

Output from modinfo:

filename: rt2500.ko
license: GPL
description: Ralink RT2500 802.11g WLAN driver 1.1.0 CVS 2007121020
author: http://rt2x00.serialmonkey.com
srcversion: 9DCDE21C533B1CEA5A6A472
alias: pci:v00001814d00000201sv*sd*bc*sc*i*
depends:
vermagic: 2.6.22-14-386 mod_unload 486
parm: debug:Debug mask: n selects filter, 0 for none (int)
parm: ifname:Network device name (default ra%d) (charp)

An extract from the debug showing that wireless card cannot connect to AP:

rt2500: ioctl::SIOCGIWESSID (Len=24, ssid=Belkin_N_Wireless_C2B785...)
rt2500: ioctl::SIOCGIWMODE(=1)
rt2500: INFO::Network is down!
rt2500: ioctl::SIOCGIWAP(=EMPTY)

It would be fantastic if you someone could have a look at this, I am more than happy to test anything you need me to.

Thanks.


Attachments:
File comment: Kernel log from /var/log/debug.
rt2500_kern_log2.txt [28.62 KiB]
Downloaded 83 times
Top
 Profile  
 
 Post subject: up
PostPosted: Tue Dec 11, 2007 7:16 pm 
Offline

Joined: Sun Jun 26, 2005 10:26 am
Posts: 1685
Location: Marseille, France
Hello,
The interface needs to be "up" to be properly configured. So bring it up, then run all "iwconfig" commands. If no security is used on the network, why are you setting a wep key? It will prevent things from working.

Regards,
Romain

_________________
RutilT developer


Top
 Profile  
 
PostPosted: Wed Dec 12, 2007 12:12 am 
Offline

Joined: Tue Dec 11, 2007 4:37 am
Posts: 2
Location: Sydney, Australia
Sorry, I normally don't normally use iwconfig, I use /etc/network/interfaces file to configure the wireless. I was wondering why the log file was so small.

I did a proper test this this time. For some reason, if I try to use iwconfig after putting up the interface, it doesn't work. I had to use iwconfig before putting up the interface.

The reason for setting the key was because I was testing it with an encrypted network and a non encrypted one. I figured that might complicate things so just tried with unencrypted network this time.

Commands:

# insmod rt2500.ko debug=31
# iwconfig ra0 essid Belkin_N_Wireless_C2B785
# ifconfig ra0 up
# dhclient3 ra0

I had a look at the log file and there seems to be an error at PeerBeaconAndProbeRspSanity and SYNC - (PeerBeaconAtScanAction).

I have also attached a file containing the commands I ran and output from iwconfig and ifconfig.

Thanks.


Attachments:
File comment: Commands run to produce error.
command_log.txt [4.93 KiB]
Downloaded 91 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group