Ralink RT2870 based USB Wireless N adapters (Ubuntu)

OK, looks like you were right, rt2870sta IS conflicting with the rt3572sta module…
(Please see the IMPORTANT note at the bottom first)

You’ll need to blacklist the rt2870sta module, so open a terminal and run:

sudo gedit /etc/modprobe.d/blacklist.conf

add a new line that reads

blacklist rt2870sta

Save the file and exit.

Now run:

sudo modprobe -r rt2870sta

then

sudo modprobe rt3572sta

If it works, but doesn’t survive a reboot, run:

sudo sh -c 'echo rt3572sta >> /etc/modules'

and reboot.


THIS IS IMPORTANT (if you use WPA(2) encryption) …

If you DIDN’T make the edits to the Ralink driver for WPA(2) support BEFORE compiling and installing.

Download these drivers from my dropbox, they are allready edited to give WPA(2) support:
http://dl.dropbox.com/u/11876059/2011_0427_RT3572_Linux_STA_v2.5.0.0.DPO.tar.bz2

then compile and install them.

Honestly Mark, You have no idea how grateful I am for your help. I had to go out and I am now back. Ill do everything you said before later, but for now I installed the driver the laptop, except… It will not connect to my network and consistently tries to reconnect but never gets there. with Airodump-ng it wont pick up any networks even though its in monitor mode. Maybe you can help with that? I do have a WPA network and I did make the WPA config change. The computer recognizesthe card fine and “finds” networks but wont connect and like I said, It doesnt find anything with airodump-ng… here are some things you might ask for.

fatguy1121@fatguy1121-Qosmio-X505:~$ sudo -s
[sudo] password for fatguy1121: 
Sorry, try again.
[sudo] password for fatguy1121: 
root@fatguy1121-Qosmio-X505:~# lshw -C network
  *-network               
       description: Wireless interface
       product: RTL8191SEvB Wireless LAN Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:0a:00.0
       logical name: wlan0
       version: 10
       serial: 1c:65:9d:0f:56:98
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192se driverversion=3.0.0-16-generic firmware=N/A ip=1.2.3.196 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:16 ioport:4000(size=256) memory:f0600000-f0603fff
  *-network
       description: Ethernet interface
       product: AR8131 Gigabit Ethernet
       vendor: Atheros Communications
       physical id: 0
       bus info: pci@0000:0b:00.0
       logical name: eth0
       version: c0
       serial: 60:eb:69:50:24:3d
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.1.0-NAPI firmware=N/A latency=0 link=no multicast=yes port=twisted pair
       resources: irq:46 memory:f0400000-f043ffff ioport:5000(size=128)
  *-network
       description: Wireless interface
       physical id: 2
       logical name: ra0
       serial: 78:44:76:8d:b5:f4
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=RALINK WLAN promiscuous=yes wireless=Ralink STA
root@fatguy1121-Qosmio-X505:~# lsmod
Module                  Size  Used by
parport_pc             32114  0 
ppdev                  12849  0 
joydev                 17393  0 
snd_hda_codec_hdmi     31426  4 
bnep                   17923  2 
rfcomm                 38408  8 
rt3572sta             597215  1 
arc4                   12473  2 
snd_hda_codec_conexant    52418  1 
snd_hda_intel          24262  3 
snd_hda_codec          91859  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
uvcvideo               67271  0 
videodev               85626  1 uvcvideo
snd_hwdep              13276  1 snd_hda_codec
btusb                  18160  2 
snd_seq_midi           13132  0 
snd_pcm                80435  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
bluetooth             148839  23 bnep,rfcomm,btusb
snd_rawmidi            25241  1 snd_seq_midi
snd_seq_midi_event     14475  1 snd_seq_midi
psmouse                73673  0 
snd_seq                51567  2 snd_seq_midi,snd_seq_midi_event
snd_timer              28932  2 snd_pcm,snd_seq
snd_seq_device         14172  3 snd_seq_midi,snd_rawmidi,snd_seq
i7core_edac            23254  0 
nouveau               663226  2 
rtl8192se              94139  0 
edac_core              46858  3 i7core_edac
rtlwifi                95614  1 rtl8192se
mac80211              393421  2 rtl8192se,rtlwifi
serio_raw              12990  0 
ttm                    65224  1 nouveau
drm_kms_helper         32889  1 nouveau
drm                   192194  4 nouveau,ttm,drm_kms_helper
cfg80211              172427  2 rtlwifi,mac80211
snd                    55902  16 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i2c_algo_bit           13199  1 nouveau
mxm_wmi                12859  1 nouveau
soundcore              12600  1 snd
snd_page_alloc         14115  2 snd_hda_intel,snd_pcm
video                  18908  1 nouveau
sparse_keymap          13658  0 
toshiba_bluetooth      12711  0 
wmi                    18744  1 mxm_wmi
binfmt_misc            17292  1 
lp                     17455  0 
parport                40930  3 parport_pc,ppdev,lp
ahci                   21634  1 
libahci                25727  1 ahci
atl1c                  36638  0 
firewire_ohci          35854  0 
firewire_core          56937  1 firewire_ohci
crc_itu_t              12627  1 firewire_core
sdhci_pci              13658  0 
sdhci                  27360  1 sdhci_pci
root@fatguy1121-Qosmio-X505:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"FUCK YOU!"  
          Mode:Managed  Frequency:2.417 GHz  Access Point: 00:14:D1:CD:F0:AC   
          Bit Rate=150 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=70/70  Signal level=-35 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:11   Missed beacon:0

ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"RT3572STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:1 Mb/s   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@fatguy1121-Qosmio-X505:~# 

Forget that realtek card, it sucks, and it isnt even realtek its Atheros

Nice wlan0 ESSID. :wink:

Firstly can you mind the language please.

Secondly this will get confusing very quickly if we’re working on 2 PC’s with different setups at the same time … I mean, I have no idea what has or hasn’t been done on the laptop, no idea what distro/version, etc.

Also can we leave and airodump-ng out of it … I can’t help with that, and because (IIRC) it sometimes needs a modification to the wireless cards firmware, which may have a bearing on whether the card works or not as a regular Wifi adapter ?

I will try to help you with the drivers to get the card working as a normal Wifi card if you want, but need to know if you’ve been messing with the firmware ?


@BkS

It is kinda funny as an SSID, but not so much on a public forum that’s here to help everyone, including kids and those that may be offended.

Have you tried turning off wireless security in the router … just to check if it connects … you can turn it back on afterwards … I just want to rule out encryption and/or a problem with the wireless key.

Can you also try setting the router to wireless G (54mbps) or mixed mode G/N … and not N only … just as a test.

Once we know it’s not an issue with wireless security, or speed settings … we can maybe try some other drivers.

I know this seems obvious, but have you also ruled out it just being a signal strength issue ?

Can you send the output from

ifconfig

and

iwconfig

and

iwlist scanninng

[EDIT]

Also, turn OFF the onboard wireless adapter … so we’re only working with the rt3572 based card.

Is the rt3572 set to get its IP from the routers DHCP server ? or have you given it a static IP ?

Something else I’ve noticed (from your previous iwconfig output) is that the adapter seems to be in “Auto” mode … can you go into NetworkManager and set the mode to “infrastructure”.

I checked all the settings and they are what you said they should be at. I removed all security and reset the SSID to default “TRENDnet TEW-691GR”

It connected for about 2 minutes then disconnected I was typing this message when it stopped.

Here are the outputs from the commands. I am working with the onboard wireless for now, and the receiver is not but 5’ away from the router

fatguy1121@fatguy1121-Qosmio-X505:~$ sudo -s
[sudo] password for fatguy1121: 
root@fatguy1121-Qosmio-X505:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 60:eb:69:50:24:3d  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:47 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2768 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2768 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:218672 (218.6 KB)  TX bytes:218672 (218.6 KB)

ra0       Link encap:Ethernet  HWaddr 78:44:76:8d:b5:f4  
          inet6 addr: fe80::7a44:76ff:fe8d:b5f4/64 Scope:Link
          UP BROADCAST  MTU:1500  Metric:1
          RX packets:15783 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3830 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3750911 (3.7 MB)  TX bytes:457007 (457.0 KB)

wlan0     Link encap:Ethernet  HWaddr 1c:65:9d:0f:56:98  
          inet addr:1.2.3.101  Bcast:1.2.3.255  Mask:255.255.255.0
          inet6 addr: fe80::1e65:9dff:fe0f:5698/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5047 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5004 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2758416 (2.7 MB)  TX bytes:849416 (849.4 KB)

root@fatguy1121-Qosmio-X505:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"TRENDnet TEW-691GR"  
          Mode:Managed  Frequency:2.417 GHz  Access Point: 00:14:D1:CD:F0:AC   
          Bit Rate=150 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=70/70  Signal level=-35 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ra0       Ralink STA  ESSID:"FUCK YOU!"  Nickname:"RT3572STA"
          Mode:Auto  Frequency=2.417 GHz  Access Point: 00:14:D1:CD:F0:AC   
          Bit Rate=1 Mb/s   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=100/100  Signal level:-41 dBm  Noise level:-41 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@fatguy1121-Qosmio-X505:~# iwlist scanning
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:14:D1:CD:F0:AC
                    Channel:2
                    Frequency:2.417 GHz (Channel 2)
                    Quality=69/70  Signal level=-41 dBm  
                    Encryption key:off
                    ESSID:"TRENDnet TEW-691GR"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000002c0c9166
                    Extra: Last beacon: 50760ms ago
                    IE: Unknown: 00125452454E446E6574205445572D3639314752
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030102
                    IE: Unknown: 2A0100
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A6E1017FFFFFF00010000000000000000000000000F0000000000
                    IE: Unknown: 3D1602050400000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: Unknown: DD180050F2020101030003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B0501001F127A
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: DD07000C4307000000

ra0       Scan completed :
          Cell 01 - Address: 08:86:3B:17:51:9A
                    Protocol:802.11b/g/n
                    ESSID:"belkin.19a"
                    Mode:Managed
                    Frequency:2.417 GHz (Channel 2)
                    Quality=0/100  Signal level=-93 dBm  Noise level=-88 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD0E0050F204104A0001101044000102
          Cell 02 - Address: 08:86:3B:1A:E1:08
                    Protocol:802.11b/g/n
                    ESSID:"belkin.108"
                    Mode:Managed
                    Frequency:2.417 GHz (Channel 2)
                    Quality=7/100  Signal level=-87 dBm  Noise level=-82 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD0E0050F204104A0001101044000102
          Cell 03 - Address: 20:4E:7F:6C:DD:B1
                    Protocol:802.11b/g/n
                    ESSID:"reagansavestheday"
                    Mode:Managed
                    Frequency:2.422 GHz (Channel 3)
                    Quality=13/100  Signal level=-85 dBm  Noise level=-80 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 04 - Address: 00:1E:E5:45:42:9F
                    Protocol:802.11b/g
                    ESSID:"TheRays"
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality=2/100  Signal level=-89 dBm  Noise level=-84 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
          Cell 05 - Address: 00:1E:E5:B5:15:73
                    Protocol:802.11b/g
                    ESSID:"@Home1573"
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality=47/100  Signal level=-71 dBm  Noise level=-66 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 06 - Address: 00:1C:DF:D8:E1:17
                    Protocol:802.11b/g
                    ESSID:"homemj"
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality=0/100  Signal level=-95 dBm  Noise level=-102 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
          Cell 07 - Address: 00:1F:C6:74:45:03
                    Protocol:802.11b/g
                    ESSID:"TWC7932"
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality=26/100  Signal level=-79 dBm  Noise level=-86 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
          Cell 08 - Address: 00:24:B2:B7:1B:86
                    Protocol:802.11b/g
                    ESSID:"Danielle-PC-Wireless"
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality=2/100  Signal level=-89 dBm  Noise level=-84 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
          Cell 09 - Address: B8:C7:5D:0C:1E:73
                    Protocol:802.11b/g
                    ESSID:"Tranquility Base"
                    Mode:Managed
                    Frequency:2.452 GHz (Channel 9)
                    Quality=0/100  Signal level=-91 dBm  Noise level=-86 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 10 - Address: 00:14:D1:CD:F0:AC
                    Protocol:802.11b/g/n
                    ESSID:"TRENDnet TEW-691GR"
                    Mode:Managed
                    Frequency:2.417 GHz (Channel 2)
                    Quality=100/100  Signal level=-41 dBm  Noise level=-92 dBm
                    Encryption key:off
                    Bit Rates:300 Mb/s

root@fatguy1121-Qosmio-X505:~# 


EDIT: Now that I look at iwconfig it is listing the thing as connected to the old SSID, that doesnt exist anymore.
EDIT/EDIT I unplugged the thing and rebooted. It connected again for only a few minutes then disconnected.

OK, let’s try an older pre-modified driver …
(this is pre-modified, so no need to change the WPA lines in config.mk)

Just follow these instructions -

Open a terminal and run:

cd ~

then

wget http://dl.dropbox.com/u/11876059/2010_0709_RT3572_Linux_STA_v2.4.0.1.tar.bz2

then

tar -xjvf 2010_0709_RT3572_Linux_STA_v2.4.0.1.tar.bz2

then

cd 2010_0709_RT3572_Linux_STA_v2.4.0.1

then

make

then

sudo make install

then

sudo modprobe -r rt3572sta

then

sudo modprobe rt3572sta

Then check the version with:

modinfo rt3572sta | grep version

if it reads -
version: 2.4.0.0

REBOOT, and test your wireless.

Mark, You amaze me. Thank You so much! It is finally working, and believe it or not, It has a light on it… i never saw the light on the adapter before. I saved the download for all my other machines.

The only problem now is that airodump-ng doesnt work, it doesnt display any networks… can you help me with that? Do you know anything about aircrack? Should I start a new thread for it?

As far as I’m aware, I think you have to put the adapter into “monitor mode”

But I’m not an aircrack/dump-ng expert … you’d probably be better off asking on their forum:

Sorry.

[EDIT]

Bit of info (which could be wrong) … this topic:

seems to suggest the rt3572sta driver isn’t supported by aircrack-ng, but the rt2800usb driver IS supported.

The good news for you is that I’m fairly sure your cards ID strings (148f:3572) have been added to rt2800usb in kernel 3.2 … so you can either wait for Ubuntu 12.04, Switch to Debian, or install the 3.2 kernel in 11.10

It’s definitely supported by the rt2800usb thats included in the 3.2 kernel in Debian … see here:
http://wiki.debian.org/rt2800usb

Anyway … Good luck.

Well, I kinda screwed myself because the whole reason I got this network adapter was so that I could use aircrack-ng. All of my Atheros wireless cards dont have native linux support and I figured that if I found one that did have native linux drivers that I could. Then I went off and bought this card… So if I update the kernel to 3.2 will I need to reinstall the drivers and crap?

Hopefully not … you’d (hopefully) just need to use the rt2800usb driver (which is built into the 3.2 kernel) instead of the rt3572sta staging driver.

If you can wait till tomorrow, I’ll test it and get back to you.

Meanwhile it would be a good idea for you to search the aircrack forums for any info on whether the rt3572sta drivers ARE supported … and if not, how to make it work with the rt2800usb drivers (if we can get them to work)

At the end of the day I may be able to help get the rt2800usb drivers to work with your card … but I won’t be able to give you help with aircrack-ng … the last thing I want is to get bombarded by requests for hep with aircrack-ng, so have to run off and learn all the ins and outs of it :wink: … that’s what their forum is for :slight_smile:

Have you considered asking if you can return the card for another make/model, then asking on the aircrack-ng forum for suggestions on which one to get ?

Hey there! I’m having an identical issue with a different wireless card. I’m currently using the ASUS PCE-N15 and running Kubuntu 11.10.
For reference: http://www.newegg.com/Product/Product.aspx?Item=N82E16833320074

lsmod | grep rt
snip
rtl8192ce 84775 0
rtl8192c_common 75767 1 rtl8192ce
rtlwifi 110972 1 rtl8192ce
mac80211 462046 3 rtl8192ce,rtl8192c_common,rtlwifi
cfg80211 199630 2 rtlwifi,mac80211
snip

Any recommendations on a fix I could implement? I’m reasonably savvy. I’m capable of manual or automatic patches, recompiling, etc.

Thanks in advance for any pointers you might have!

  • Josh

What makes you think this card has a Ralink chip ? … your lsmod output seems to be suggesting it’s a Realtek chip, my guess is an

product: RTL8188CE 802.11b/g/n WiFi Adapter vendor: Realtek Semiconductor Co., Ltd.

Can you post the output from:

lspci -vnn

So we can get the Vendor:Product ID string, and work out what the card is.

Can you also post the output from

sudo lshw -C network

and

ifconfig

and

iwconfig

and

iwlist scanning

and

rfkill list

And preferably a description of what the problem actually is …

I'm having an identical issue with a different wireless card.

isn’t very helpful in a topic that contains MANY different issues :wink:

And is this the ONLY wireless adapter fitted to the system.

[EDIT]

Have you tried the driver from the ASUS site:
http://www.asus.com/Networks/Wireless_Adapters/PCEN15/#download
?

Hi!

Wow, you seem to rock hard!

I just got a Tenda Adapter W311MI and it claims to have a 148F:5370, but I tried the original driver and it did not work, I also tried your 5372 driver and it loads but does not show any devices, I am about to try installing linux 3.3 on Centos 6.2 x86_64 instead.

Any suggestions? I would love a fail safe to be able to use this 5370 card on any linux based distro (at least ubuntu 11.10/12.04) if at all possible, just if it is not too much to ask, could you point me in the right direction?

Your devices vendor:product ID strings are contained in the Ralink
2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO.tar.bz2
driver.

Which can be downloaded from here:
http://eng.ralinktech.com.tw/en/Products/support_list.php?sn=5003#

You’ll have to fill in a name and email, but you can put whatever you like (it’s not checked), and click the Accept button.

Name:a
email:a@b.com

will do

DON’T FORGET - be sure to make the edits to /os/linux/config.mk if you want/need WPA(2) support … and that make && make install MUST be run as root.

and the you have to modprobe rt5370sta not rt2870sta

You may also need to blacklist the rt2870sta module if it’s being loaded.

I have problem with ASUS n-11 USB, instal driver was successful (make and install - no error) but nothing happen when i put wifi in USB.

ubuntu 12.04

sudo lsmod | grep rt28
rt2870sta             570836  0 
mediacenter@mediacenter-xbmc:~$
iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
sudo lshw -C network
  *-network               
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: eth0
       version: 03
       serial: 20:cf:30:f2:df:c6
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168d-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:41 ioport:e800(size=256) memory:f8fff000-f8ffffff memory:f8ff8000-f8ffbfff memory:fbff0000-fbffffff

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 15d9:0a4c Trust International B.V. USB+PS/2 Optical Mouse
Bus 002 Device 002: ID 14cd:6600 Super Top USB 2.0 IDE DEVICE
Bus 002 Device 003: ID 1058:0706 Western Digital Technologies, Inc. 
Bus 004 Device 002: ID 0bc7:0006 X10 Wireless Technology, Inc. Wireless Transceiver (ACPI-compliant)
Bus 002 Device 007: ID 1761:0b05 ASUSTek Computer, Inc. (wrong ID) 802.11n Network Adapter (wrong ID - swapped vendor and device)

What`s wrong?

Mmm, it’s looking a bit like that driver doesn’t support your particular network card … however;

Take a look at;

common/rtusb_dev_id.c

Try adding;

{USB_DEVICE(0x1761,0x0B05)}, 

To the list of recognised devices, then recompile, rmmod, insmod, and try again …

Any particular reason you’re not using rt2800usb which contains that VENDOR:DEVICE ID string:-

alias: usb:v1761p0B05d*dc*dsc*dp*ic*isc*ip*

What happens if you run:

sudo modprobe -r rt2870sta

then

sudo modprobe rt2800usb

Does Wireless spring to life ?

Take a look at;

Code: [Select]

common/rtusb_dev_id.c

Try adding;

Code: [Select]

{USB_DEVICE(0x1761,0x0B05)},

To the list of recognised devices, then recompile, rmmod, insmod, and try again …



BIG THX - asus n-11 USB - its live

Any particular reason you're not using rt2800usb which contains that VENDOR:DEVICE ID string:-
wifi is suspended after 20 minutes and I have to reset the device to re-work...

Hello,
I try to install a rt2870sta driver a 4th day (I am newbie in Linux) and its still not working, fully desperated I decided to ask you whats wrong. I read steps written here but nothing helped me. This is output what i get

root@cataleyo:/home/cataleyo/2010_0709_RT2870_Linux_STA_v2.4.0.1# make && make install
make -C tools
make[1]: Entering directory `/home/cataleyo/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/cataleyo/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
/home/cataleyo/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools/bin2h
cp -f os/linux/Makefile.6 /home/cataleyo/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/Makefile
make -C /lib/modules/2.6.32-25-generic/build SUBDIRS=/home/cataleyo/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux modules
make: *** /lib/modules/2.6.32-25-generic/build: No such file or directory.  Stop.
make: *** [LINUX] Error 2

uname -a output:

Linux cataleyo 2.6.32-25-generic #44-Ubuntu i686 GNU/Linux

its NodeZero linux

I was trying this drivers:
2009_0302_RT2870_Linux_STA_v2.1.0.0
2010_0709_RT2870_Linux_STA_v2.4.0.1

also tried this commands to edit:

make clean
find . -name \*.[ch] -exec grep usb_buffer_alloc "{}" ";" -exec sed -i 's/usb_buffer_alloc/usb_alloc_coherent/g' "{}" ";"
find . -name \*.[ch] -exec grep usb_buffer_free "{}" ";" -exec sed -i 's/usb_buffer_free/usb_free_coherent/g' "{}" ";"