Author Topic: Ralink RT2870 based USB Wireless N adapters (Ubuntu)  (Read 197990 times)

0 Members and 1 Guest are viewing this topic.

Offline Noobuntu

  • Jr. Member
  • **
  • Posts: 37
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #15 on: May 17, 2011, 05:36:27 am »
Sorry, I edited my original post that had all the command results, it's at the bottom.

root@logan-Studio-XPS-8000:/home/logan/2010_0709_RT2870_Linux_STA_v2.4.0.1# lsusb
Bus 002 Device 006: ID 13b1:002f Linksys AE1000 v1 802.11n [Ralink RT2870]
Bus 002 Device 005: ID 0461:4d65 Primax Electronics, Ltd
Bus 002 Device 004: ID 0b38:0003 Gear Head
Bus 002 Device 003: ID 18e3:9106 Fitipower Integrated Technology Inc
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Naw, it's a desktop.  Only laptop I got is a netbook, hehe.

Offline Noobuntu

  • Jr. Member
  • **
  • Posts: 37
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #16 on: May 17, 2011, 05:40:02 am »
Sorry, I've been trying to just repost it, but for some reason it's not letting me.  But it's at the end of that post that has all the commands in it, as an edit when I realized I mistyped the 'lusb' command.

Offline Noobuntu

  • Jr. Member
  • **
  • Posts: 37
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #17 on: May 17, 2011, 05:41:38 am »
HAH!  And then they all went through at once. . .  :-[

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #18 on: May 17, 2011, 06:07:43 am »
OK, I've added your cards ID string to the driver, so you're going to have to download it again...

First delete everything (files and folders) in your home folder that has RT2870 in it's name.

Now download the new driver:
http://dl.dropbox.com/u/11876059/Noobuntu.tar.bz2

and put it in your home folder.

unpack it with:
Code: [Select]
cd ~
then:
Code: [Select]
tar -xjvf Noobuntu.tar.bz2
change to root:
Code: [Select]
sudo su
cd into the unpacked directory:
Code: [Select]
cd /home/username/2010_0709_RT2870_Linux_STA_v2.4.0.1
(be sure to change the username to YOUR username in the above command)
now build the driver:
Code: [Select]
make
now install it with:
Code: [Select]
make install

Then see what:
Code: [Select]
modprobe rt2870sta
then:
Code: [Select]
exit
then:
Code: [Select]
iwconfig
gives you.



If it works, but doesn't survive a reboot... run this:
Code: [Select]
sudo sh -c 'echo rt2870sta >> /etc/modules'
and reboot again.
« Last Edit: May 17, 2011, 06:22:38 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Noobuntu

  • Jr. Member
  • **
  • Posts: 37
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #19 on: May 17, 2011, 06:19:56 am »
Okey dokey, here's what happened when I 'make' -ed it:

(click to show/hide)


Here's what happened when I 'make install' -ed it:

(click to show/hide)
« Last Edit: May 17, 2011, 07:44:02 am by Mark Greaves (PCNetSpec) »

Offline Noobuntu

  • Jr. Member
  • **
  • Posts: 37
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #20 on: May 17, 2011, 06:21:38 am »
and here's what 'iwconfig' pulled:

logan@logan-Studio-XPS-8000:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

logan@logan-Studio-XPS-8000:~$

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #21 on: May 17, 2011, 06:26:31 am »
It got installed, so try rebooting, then post the output from:

Code: [Select]
lsmod
and
Code: [Select]
iwconfig
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Noobuntu

  • Jr. Member
  • **
  • Posts: 37
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #22 on: May 17, 2011, 06:30:23 am »
Here is 'lsmod' after reboot:

logan@logan-Studio-XPS-8000:~$ lsmod
Module                  Size  Used by
parport_pc             36959  0
ppdev                  17113  0
vesafb                 13761  1
binfmt_misc            17565  1
snd_hda_codec_hdmi     28103  1
snd_hda_codec_realtek   336693  1
joydev                 17606  0
snd_hda_intel          33211  2
psmouse                73535  0
snd_hda_codec         103804  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
usbhid                 46956  0
snd_hwdep              13604  1 snd_hda_codec
hid                    91020  1 usbhid
snd_pcm                96625  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
dcdbas                 14438  0
snd_seq_midi           13324  0
snd_rawmidi            30486  1 snd_seq_midi
snd_seq_midi_event     14899  1 snd_seq_midi
snd_seq                61621  2 snd_seq_midi,snd_seq_midi_event
snd_timer              29602  2 snd_pcm,snd_seq
snd_seq_device         14462  3 snd_seq_midi,snd_rawmidi,snd_seq
serio_raw              13166  0
fglrx                2739144  126
snd                    67382  14 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              12680  1 snd
snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
rt2870sta             450556  0
crc_ccitt              12667  1 rt2870sta
lp                     17825  0
parport                46458  3 parport_pc,ppdev,lp
usb_storage            53538  0
uas                    17996  0
tg3                   141750  0
firewire_ohci          40370  0
firewire_core          62646  1 firewire_ohci
crc_itu_t              12707  1 firewire_core

And here is 'iwconfig' after reboot:

logan@logan-Studio-XPS-8000:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

logan@logan-Studio-XPS-8000:~$

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #23 on: May 17, 2011, 06:38:32 am »
I think I've found the problem... even though your card identifies itself as an RT2870, it needs the RT3572 driver...

did you enter this command ?
sudo sh -c 'echo rt2870sta >> /etc/modules'

if so, run this:
Code: [Select]
sudo gedit /etc/modules

find the line that reads
rt2870sta
and remove it... then SAVE the file and exit.

I'm going to go get the correct driver and modify it... back in a bit with instructions.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Noobuntu

  • Jr. Member
  • **
  • Posts: 37
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #24 on: May 17, 2011, 06:44:51 am »
I did enter the 'sudo sh -c 'echo rt2870sta >> /etc/modules'' command, but then I rebooted.  Then I entered the 'sudo gedit /etc/modules' command and a window opened up with 5 lines that read 'rt2870sta' but the terminal yielded and interesting error:

logan@logan-Studio-XPS-8000:~$ cd /home/logan/2010_0709_RT2870_Linux_STA_v2.4.0.1
logan@logan-Studio-XPS-8000:~/2010_0709_RT2870_Linux_STA_v2.4.0.1$ sudo gedit /etc/modules
[sudo] password for logan:

(gedit:1738): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.PPI0VV': No such file or directory

(gedit:1738): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory


Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #25 on: May 17, 2011, 07:00:20 am »
ignore those errors... just remove the line when gedit opens
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #26 on: May 17, 2011, 07:06:52 am »
Download THIS file and put it in your home folder:
http://dl.dropbox.com/u/11876059/2011_0427_RT3572_Linux_STA_v2.5.0.0.tar.bz2

unpack it with:
Code: [Select]
cd ~
then:
Code: [Select]
tar -xjvf 2011_0427_RT3572_Linux_STA_v2.5.0.0.tar.bz2
change to root:
Code: [Select]
sudo su
cd into the unpacked directory:
Code: [Select]
cd /home/username/2011_0427_RT3572_Linux_STA_v2.5.0.0
(be sure to change the username to YOUR username in the above command)
now build the driver:
Code: [Select]
make
now install it with:
Code: [Select]
make install

Then see what:
Code: [Select]
modprobe rt3572sta
then:
Code: [Select]
exit
then:
Code: [Select]
iwconfig
gives you.



If and ONLY if it works, but doesn't survive a reboot... run this:
Code: [Select]
sudo sh -c 'echo rt3572sta >> /etc/modules'
and reboot again.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Noobuntu

  • Jr. Member
  • **
  • Posts: 37
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #27 on: May 17, 2011, 07:29:50 am »
okay, this is what happened when I used the 'make' command:

(click to show/hide)
This is what happened when I used the 'make install' command:

(click to show/hide)
This is what happened when I did the 'mod

root@logan-Studio-XPS-8000:/home/logan/2011_0427_RT3572_Linux_STA_v2.5.0.0# modprobe rt3572sta
FATAL: Error inserting rt3572sta (/lib/modules/2.6.38-8-generic/kernel/drivers/net/wireless/rt3572sta.ko): Device or resource busy

And this is what happened when I did the

logan@logan-Studio-XPS-8000:~/2011_0427_RT3572_Linux_STA_v2.5.0.0$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
  Restarting it now.
« Last Edit: May 17, 2011, 07:43:03 am by Mark Greaves (PCNetSpec) »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16918
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #28 on: May 17, 2011, 07:41:30 am »
OK, that one may have been my fault... I put your cards ID string in the wrong place....

One more time...
download this... and put it in your home folder:
http://dl.dropbox.com/u/11876059/RT3572_Linux_STA_v2.5.0.0.tar.bz2

unpack it with:
Code: [Select]
cd ~
then:
Code: [Select]
tar -xjvf RT3572_Linux_STA_v2.5.0.0.tar.bz2
change to root:
Code: [Select]
sudo su
cd into the unpacked directory:
Code: [Select]
cd /home/username/RT3572_Linux_STA_v2.5.0.0
(be sure to change the username to YOUR username in the above command)
now build the driver:
Code: [Select]
make
now install it with:
Code: [Select]
make install

Then see what:
Code: [Select]
modprobe rt3572sta
then:
Code: [Select]
exit
then:
Code: [Select]
iwconfig
gives you.



If and ONLY if it works, but doesn't survive a reboot... run this:
Code: [Select]
sudo sh -c 'echo rt3572sta >> /etc/modules'
and reboot again.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Noobuntu

  • Jr. Member
  • **
  • Posts: 37
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink RT2870 based USB Wireless N adapters (Ubuntu)
« Reply #29 on: May 17, 2011, 07:46:11 am »
Mr. Greaves,

i *am* talking to you via a wireless internet connection.  It didn't survive the reboot, so I ran that command, rebooted again, whereupon a strange and miraculous thing occurred; it started giving me wireless options in the network manager, and after a quick reboot of my ethernet box sitting atop the router, and a quick unplug of the wireless adapter, and a tense, emotionally-charged wait as it finished detecting my network, it gave me access to the World Wide Web.  I am probably gonna sit here and give you several more "applause" clicks over the course of the next couple of days to accurately reflect the number of times you came back to this page and did not give up until it was done.  I truly and sincerely appreciate it, thank you.

Logan

PS --- I think I have passed the point of no return with Linux startup times and am thoroughly enthralled with the operating system now.  I will probably continue to use this operating system for years to come.
« Last Edit: May 17, 2011, 07:49:20 am by Noobuntu »

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal