Cannot Connect to AP - MSI PC54G2 Ubuntu 7.10 (Gusty)

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4494

silver

11-12-2007 04:55:22

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 223654 GMT 2007 i686 GNU/Linux

Hardware information
MSI PC54G2
lspci 0108.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 pciv00001814d00000201sv*sd*bc*sc*i*
depends
vermagic 2.6.22-14-386 mod_unload 486
parm debugDebug mask n selects filter, 0 for none (int)
parm ifnameNetwork device name (default ra%d) (charp)

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

rt2500 ioctlSIOCGIWESSID (Len=24, ssid=Belkin_N_Wireless_C2B785...)
rt2500 ioctlSIOCGIWMODE(=1)
rt2500 INFONetwork is down!
rt2500 ioctlSIOCGIWAP(=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.

Spy84464

11-12-2007 19:16:20

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

silver

12-12-2007 00:12:21

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.