Author Topic: Ralink wireless card does not work [SOLVED]  (Read 41666 times)

0 Members and 1 Guest are viewing this topic.

Offline powery

  • Jr. Member
  • **
  • Posts: 14
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #45 on: January 21, 2013, 08:09:15 pm »
Straight GWP-301, I have cable to the Zotac as eth0

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14446
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #46 on: January 21, 2013, 08:11:11 pm »
Do you know how to change the wireless channel in the router ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline powery

  • Jr. Member
  • **
  • Posts: 14
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #47 on: January 21, 2013, 08:14:50 pm »
And why is it necessary? I would like to have Zotac as router. It is not possible? ;)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14446
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #48 on: January 21, 2013, 08:55:12 pm »
OK, let's try this a different way .. first make sure that firmware file is still in place

What's the output from
Code: [Select]
ls -al /etc/firmware/rt3290.bin
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline powery

  • Jr. Member
  • **
  • Posts: 14
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #49 on: January 21, 2013, 09:22:20 pm »
I'm back in 3.2.0-36-generic, there is no /etc/firmware/rt3290.bin
but
Code: [Select]
rad@rad-ZBOX-ID82:~$ ls -al /lib/firmware/rt3290.bin
-rw-rw-r-- 1 rad rad 4096 led 21 22:17 /lib/firmware/rt3290.bin

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14446
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #50 on: January 21, 2013, 09:39:45 pm »
OK, we're going to install the 3.7.2 kernel then use rt2800pci as the wireless driver.

Just in case this breaks something else .. remember, you will still be able to boot to the older kernel (3.2.0-36) the same way you booted 3.2.0-29 .. then we'll remove 3.7.2

OK, run these commands in sequence:
Code: [Select]
mkdir ~/kernel-3.2.7
then
Code: [Select]
cd ~/kernel-3.2.7
then
Code: [Select]
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7.2-raring/linux-headers-3.7.2-030702-generic_3.7.2-030702.201301111424_amd64.deb
then
Code: [Select]
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7.2-raring/linux-headers-3.7.2-030702_3.7.2-030702.201301111424_all.deb
then
Code: [Select]
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7.2-raring/linux-image-3.7.2-030702-generic_3.7.2-030702.201301111424_amd64.deb
then
Code: [Select]
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7.2-raring/linux-image-extra-3.7.2-030702-generic_3.7.2-030702.201301111424_amd64.deb
then
Code: [Select]
sudo dpkg -i *.deb
now open /etc/modprobe.d/blacklist.conf with:
Code: [Select]
sudo gedit /etc/modprobe.d/blacklist.conf
and add a NEW line at the bottom that reads:-

blacklist rt3290sta

SAVE the file, and REBOOT

Check the rt2800usb driver is loaded with:
Code: [Select]
lsmod | grep rt2800pci
If nothing is returned run:
Code: [Select]
sudo modprobe rt2800pci

Check your wireless can see your router with:
Code: [Select]
iwlist scanning

Then come back here and tell me what happened .. as we *may* need to tell the system to load rt2800pci at bootup

And REMEMBER .. if anything else breaks, such as wired networking .. you can always boot the older kernel, then come back here.



For future readers .. This method should also work for Ubuntu 12.10
but along with updating the kernel to 3.7.2, don't forget to install the firmware as described below.

Download this firmware:
https://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=blob_plain;f=rt3290.bin;hb=HEAD

Put the rt3290.bin file in your home directory, then run:
Code: [Select]
sudo mv -v ~/rt3290.bin /lib/firmware/rt3290.bin
to move it to the /lib/firmware directory.

.
« Last Edit: January 22, 2013, 01:23:27 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline powery

  • Jr. Member
  • **
  • Posts: 14
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #51 on: January 21, 2013, 10:00:14 pm »
After install:

Code: [Select]
rad@rad-ZBOX-ID82:~$ uname -a
Linux rad-ZBOX-ID82 3.7.2-030702-generic #201301111424 SMP Fri Jan 11 19:25:11 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Code: [Select]
rad@rad-ZBOX-ID82:~$ lsmod | grep rt
parport_pc             32867  0
ip6t_rt                12530  3
rt2800pci              18755  0
rt2800lib              67474  1 rt2800pci
xt_addrtype            12714  4
crc_ccitt              12708  1 rt2800lib
rt2x00pci              14579  1 rt2800pci
rt2x00lib              55504  3 rt2800pci,rt2800lib,rt2x00pci
ip6_tables             27686  2 ip6t_rt,ip6table_filter
mac80211              569091  3 rt2800lib,rt2x00pci,rt2x00lib
cfg80211              208484  2 rt2x00lib,mac80211
eeprom_93cx6           13345  1 rt2800pci
x_tables               29892  12 xt_hl,ip6t_rt,ipt_REJECT,xt_LOG,xt_limit,xt_tcpudp,xt_addrtype,xt_state,ip6table_filter,ip6_tables,iptable_filter,ip_tables
parport                46563  3 parport_pc,ppdev,lp

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14446
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #52 on: January 21, 2013, 10:02:48 pm »
What happens if you run:
Code: [Select]
sudo modprobe rt2800usb
then
Code: [Select]
sudo lshw -C network
and
Code: [Select]
iwlist scanning
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline powery

  • Jr. Member
  • **
  • Posts: 14
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #53 on: January 21, 2013, 10:03:59 pm »
After sudo modprobe rt2800usb:

Code: [Select]
rad@rad-ZBOX-ID82:~$ lsmod | grep rt
rt2800usb              27046  0
rt2x00usb              20780  1 rt2800usb
parport_pc             32867  0
ip6t_rt                12530  3
rt2800pci              18755  0
rt2800lib              67474  2 rt2800usb,rt2800pci
xt_addrtype            12714  4
crc_ccitt              12708  1 rt2800lib
rt2x00pci              14579  1 rt2800pci
rt2x00lib              55504  5 rt2800usb,rt2x00usb,rt2800pci,rt2800lib,rt2x00pci
ip6_tables             27686  2 ip6t_rt,ip6table_filter
mac80211              569091  4 rt2x00usb,rt2800lib,rt2x00pci,rt2x00lib
cfg80211              208484  2 rt2x00lib,mac80211
eeprom_93cx6           13345  1 rt2800pci
x_tables               29892  12 xt_hl,ip6t_rt,ipt_REJECT,xt_LOG,xt_limit,xt_tcpudp,xt_addrtype,xt_state,ip6table_filter,ip6_tables,iptable_filter,ip_tables
parport                46563  3 parport_pc,ppdev,lp

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14446
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #54 on: January 21, 2013, 10:05:53 pm »
and the output from:
Code: [Select]
sudo lshw -C network
and
Code: [Select]
iwlist scanning
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline powery

  • Jr. Member
  • **
  • Posts: 14
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #55 on: January 21, 2013, 10:11:10 pm »
Code: [Select]
rad@rad-ZBOX-ID82:~$ 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:01:00.0
       logical name: eth0
       version: 06
       serial: 00:01:2e:47:95:d3
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list 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=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=10.0.8.82 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:48 ioport:e000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff
  *-network
       description: Wireless interface
       product: Ralink corp.
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 00
       serial: 94:db:c9:a9:a5:bf
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci latency=0 multicast=yes wireless=IEEE 802.11bgn
       resources: irq:19 memory:f7d40000-f7d4ffff memory:f7d30000-f7d3ffff

Code: [Select]
rad@rad-ZBOX-ID82:~$ iwlist scanning
eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: B2:8A:C8:C2:17:6C
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=0 dBm 
                    Encryption key:off
                    ESSID:"test"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Ad-Hoc
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 87660ms ago
                    IE: Unknown: 000474657374
                    IE: Unknown: 010882040B160C121824
                    IE: Unknown: 030101
                    IE: Unknown: 06020000
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD070050F202000100

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14446
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #56 on: January 21, 2013, 10:14:47 pm »
So if you (normal left) click on the Network Manager icon by the clock .. is your router listed ?

if so, click it .. you should be prompted for your wireless key .. enter it, and click Connect.

did it connect ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14446
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #57 on: January 21, 2013, 10:27:53 pm »
Actually it's using rt2800pci not rt2800usb   <--- my mistake

So it may be a good idea to unload rt2800usb:
Code: [Select]
sudo modprobe -r rt2800usb

Or just reboot .. then test your wireless.

I have noticed the router called "test" appears to be in ad-hoc mode .. why ?

.
« Last Edit: January 21, 2013, 10:30:56 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline powery

  • Jr. Member
  • **
  • Posts: 14
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #58 on: January 21, 2013, 10:47:33 pm »
heureka, it works  :D

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14446
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #59 on: January 21, 2013, 10:59:44 pm »
Make sure it survives a reboot.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal