I cannot connect using this wifi adaptor in Live opensuse 13.1 with KDE (it’s the same on GNOME):
linux@linux:~> lsusb
Bus 002 Device 013: ID 2001:3c15 D-Link Corp. DWA-140 RangeBooster N Adapter(rev.B3) [Ralink RT5372]
linux@linux:~> uname -r
3.11.6-4-default
The device is correctly recognized and scans all the network but when I try to connect to a Network, it fails. The drivers are correclty installed:
linux:/home/linux # lsmod | grep rt
rt2800usb 22485 0
rt2800lib 74211 1 rt2800usb
rt2x00usb 20041 1 rt2800usb
rt2x00lib 53042 3 rt2800usb,rt2800lib,rt2x00usb
mac80211 548058 3 rt2800lib,rt2x00usb,rt2x00lib
cfg80211 444345 2 rt2x00lib,mac80211
crc_ccitt 12627 2 rt2800lib,ppp_async
I use this device also on opensuse
12.1 and there it works perfeclty.
Then try to connect, and report any errors here. If you are using network manager, you can also examine /var/log/NetworkManager. That should help you determine the cause of failure.
BTW, have you installed the ralink-firmware package?
I’ve noticed that I can connect when the signal is high but then the connection is too slow that it is unusable and after a while it disconnects. When it is successful I get:
linux:/home/linux # tail -f /var/log/messages
2014-04-11T10:40:11.862151+02:00 linux kernel: 1317.769465] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
2014-04-11T10:40:11.862155+02:00 linux kernel: 1317.769467] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
2014-04-11T10:40:13.186063+02:00 linux kernel: 1319.093492] wlan0: authenticate with 00:1e:40:41:5e:dc
2014-04-11T10:40:13.210064+02:00 linux kernel: 1319.113959] wlan0: send auth to 00:1e:40:41:5e:dc (try 1/3)
2014-04-11T10:40:13.210079+02:00 linux kernel: 1319.115663] wlan0: authenticated
2014-04-11T10:40:13.210083+02:00 linux kernel: 1319.115897] rt2800usb 1-1.1:1.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
2014-04-11T10:40:13.210086+02:00 linux kernel: 1319.115903] rt2800usb 1-1.1:1.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
2014-04-11T10:40:13.210088+02:00 linux kernel: 1319.117886] wlan0: associate with 00:1e:40:41:5e:dc (try 1/3)
2014-04-11T10:40:13.214036+02:00 linux kernel: 1319.119951] wlan0: RX AssocResp from 00:1e:40:41:5e:dc (capab=0x401 status=0 aid=2)
2014-04-11T10:40:13.222048+02:00 linux kernel: 1319.128075] wlan0: associated
inux:/home/linux # tail -f /var/log/messages
2014-04-11T10:52:39.230094+02:00 linux kernel: 2064.818528] wlan0: direct probe to 00:1e:40:41:5e:dc (try 3/3)
2014-04-11T10:52:39.434126+02:00 linux kernel: 2065.022501] wlan0: authentication with 00:1e:40:41:5e:dc timed out
2014-04-11T10:53:35.278058+02:00 linux kernel: 2120.845158] wlan0: authenticate with 00:1e:40:41:5e:dc
2014-04-11T10:53:35.294046+02:00 linux kernel: 2120.861155] wlan0: direct probe to 00:1e:40:41:5e:dc (try 1/3)
2014-04-11T10:53:35.498145+02:00 linux kernel: 2121.062815] wlan0: direct probe to 00:1e:40:41:5e:dc (try 2/3)
2014-04-11T10:53:35.702138+02:00 linux kernel: 2121.266749] wlan0: direct probe to 00:1e:40:41:5e:dc (try 3/3)
2014-04-11T10:53:35.906155+02:00 linux kernel: 2121.470583] wlan0: authentication with 00:1e:40:41:5e:dc timed out
2014-04-11T10:53:55.834134+02:00 linux kernel: 2141.394102] EXT4-fs (sdb1): error count: 151
2014-04-11T10:53:55.834166+02:00 linux kernel: 2141.394188] EXT4-fs (sdb1): initial error at 1395651731: ext4_mb_generate_buddy:741
2014-04-11T10:53:55.834182+02:00 linux kernel: 2141.394203] EXT4-fs (sdb1): last error at 1397206182: ext4_mb_generate_buddy:755
linux:/home/linux # tail -f /var/log/NetworkManager
2014-04-11T10:50:38.664700+02:00 linux NetworkManager[1527]: <warn> Activation (wlan0/wireless): association took too long, failing activation.
2014-04-11T10:50:38.665663+02:00 linux NetworkManager[1527]: <info> (wlan0): device state change: config -> failed (reason ‘SSID not found’) [50 120 53]
2014-04-11T10:50:38.666575+02:00 linux NetworkManager[1527]: <info> NetworkManager state is now DISCONNECTED
2014-04-11T10:50:38.668321+02:00 linux NetworkManager[1527]: <info> Marking connection ‘CN405WL54’ invalid.
2014-04-11T10:50:38.670022+02:00 linux NetworkManager[1527]: <warn> Activation (wlan0) failed for connection ‘CN405WL54’
2014-04-11T10:50:38.671871+02:00 linux NetworkManager[1527]: <info> (wlan0): device state change: failed -> disconnected (reason ‘none’) [120 30 0]
2014-04-11T10:50:38.673644+02:00 linux NetworkManager[1527]: <info> (wlan0): deactivating device (reason ‘none’) [0]
2014-04-11T10:50:38.675456+02:00 linux NetworkManager[1527]: <warn> Couldn’t disconnect supplicant interface: This interface is not connected.
2014-04-11T10:50:38.677287+02:00 linux NetworkManager[1527]: <warn> Couldn’t disconnect supplicant interface: This interface is not connected.
2014-04-11T10:50:38.967470+02:00 linux NetworkManager[1527]: <info> (wlan0): supplicant interface state: scanning -> inactive
It is worth specifing that I’m try to connect to an open Network without key and with the same signal level I can successfully connect via opensuse 12.1 and windows. I’ve not installed any ralink-firmware package since that on the opensuse site it says it should work out of the box.
Not a good idea to double post, but in any case the wireless forum is probably more appropriate anyway. Larry’s advice regarding kernel version is plausible. Other than that, maybe this is a congested network, or interference is present (eg other nearby wireless networks operating on same frequency).
if it was a problem related to the network I should have encountered the same problem under windows or opensuse 12.1, in both of which I can connect without problems to the same network…