Ralink 5390 WiFi not working under Ubuntu 12.04 with 3.2 kernel

Asked by vamps720

Ladies and gentlemen I ask you forgive me for posting this as there are some 200 other questions involving near the exact same issue, however I cannot seem to complete this task on my own.

The current operating system is Ubuntu 12.04

I received a laptop (Hewett Packer model Hp 2000-bf69wm) with a Ralink 5390 wireless card. In the past 72 hours (complied research time.) I have tried 39 different methods of installing the drivers. (If absolutely necessary I will attempt to dig every last link up again.) Most of the time my problem has been "unable to locate packet" when using terminal to update a ppa. I found one packet that seemed to contain everything I actually need to push my wireless drivers through, only to have terminal tell me (while showing the directory using dir) the folder, or package does not exist. I'm by no means an expert with Ubunut, so I could be something simple. (Most of the terminal commands used were both hand typed and copy. pasted into terminal multiple times to ensure it wasn't just a typo.) Any insight would be greatly appreciated.

My network output is as followed:

description: Ethernet interface
       product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 05
       serial: c8:cb:b8:ae:2d:6d
       size: 100Mbit/s
       capacity: 100Mbit/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 autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8105e-1.fw ip=192.168.1.3 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:40 ioport:2000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff
  *-network UNCLAIMED
       description: Network controller
       product: Ralink corp.
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:06:00.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:f0200000-f020ffff

Thanks for your time,
  Vamps

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,

please run these commands and post back the results.

uname -r
lspci -nnk | grep -iA2 net
lsmod
rfkill list all
dmesg | grep -ie net -ie firm -ie wlan
iwconfig
nm-tool

Thanks

Revision history for this message
vamps720 (vamps720) said :
#2

uname -r
3.2.0-33-generic-pae

lspci -nnk | grep -iA2 net

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
 Subsystem: Hewlett-Packard Company Device [103c:169a]
 Kernel driver in use: r8169
--
06:00.0 Network controller [0280]: Ralink corp. Device [1814:539b]
 Subsystem: Hewlett-Packard Company Device [103c:18ed]
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader [10ec:5209] (rev 01)

lsmod

Module Size Used by
dm_crypt 22528 1
snd_hda_codec_idt 60251 1
joydev 17393 0
bnep 17830 2
snd_hda_intel 32765 5
rfcomm 38139 0
bluetooth 158438 10 bnep,rfcomm
snd_hda_codec 109562 2 snd_hda_codec_idt,snd_hda_intel
parport_pc 32114 0
ppdev 12849 0
snd_hwdep 13276 1 snd_hda_codec
snd_pcm 80845 3 snd_hda_intel,snd_hda_codec
snd_seq_midi 13132 0
hp_wmi 13652 0
sparse_keymap 13658 1 hp_wmi
snd_rawmidi 25424 1 snd_seq_midi
snd_seq_midi_event 14475 1 snd_seq_midi
snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event
psmouse 86486 0
rts_pstor 353215 0
serio_raw 13027 0
snd_timer 28931 2 snd_pcm,snd_seq
snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 62064 18 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
uvcvideo 67203 0
videodev 86588 1 uvcvideo
soundcore 14635 1 snd
snd_page_alloc 14108 2 snd_hda_intel,snd_pcm
k10temp 12990 0
sp5100_tco 13495 0
i2c_piix4 13093 0
fglrx 2909855 114
mac_hid 13077 0
lp 17455 0
parport 40930 3 parport_pc,ppdev,lp
vesafb 13516 1
r8169 56321 0
wmi 18744 1 hp_wmi
video 19068 0

rfkill list all

0: hp-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: no

dmesg | grep -ie net -ie firm -ie wlan

[ 0.000000] Transmeta GenuineTMx86
[ 0.172777] NET: Registered protocol family 16
[ 0.193026] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 0.232995] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 0.233282] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 0.351628] NetLabel: Initializing
[ 0.351633] NetLabel: domain hash size = 128
[ 0.351636] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.351660] NetLabel: unlabeled traffic allowed by default
[ 0.413077] NET: Registered protocol family 2
[ 0.414930] NET: Registered protocol family 1
[ 0.593011] audit: initializing netlink socket (disabled)
[ 1.564515] NET: Registered protocol family 10
[ 1.565598] NET: Registered protocol family 17
[ 2.081878] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 2.199153] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 10.157319] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 11.389563] type=1400 audit(1354147181.302:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=635 comm="apparmor_parser"
[ 12.147504] NET: Registered protocol family 31
[ 12.215160] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 13.158222] type=1400 audit(1354147183.070:8): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=951 comm="apparmor_parser"
[ 13.327775] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 13.328696] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 14.979367] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

iwconfig

lo no wireless extensions.

eth0 no wireless extensions.

mn-tool

NetworkManager Tool

State: connected (global)

- Device: eth0 [Wired connection 1] -------------------------------------------
  Type: Wired
  Driver: r8169
  State: connected
  Default: yes
  HW Address: C8:CB:B8:AE:2D:6D

  Capabilities:
    Carrier Detect: yes
    Speed: 100 Mb/s

  Wired Properties
    Carrier: on

  IPv4 Settings:
    Address: 192.168.1.3
    Prefix: 24 (255.255.255.0)
    Gateway: 192.168.1.1

    DNS: 69.46.48.13
    DNS: 137.118.1.32

If there's any other information I can provide to help, please don't hesitate to ask.

And thank you for the swift reply NiktH.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#3

Hi ,

can you do me a favor ? Can you try the Quantal (Ubuntu 12.10) kernel ?

See here the instructions => http://packages.qa.ubuntu.com/qatracker/milestones/223/builds/18435/downloads

After the installation finish, boot from the new kernel (probably it will boot automatically to newer kernel) and see if wireless works there.

I'm almost certain it will work.
If works , please give the results of :

lspci -nnk | grep -iA2 net
lsmod

I want to see the module.

Thanks

Revision history for this message
vamps720 (vamps720) said :
#4

It will take me a little bit to download and install 12.10 but I will give it a shot. Question would it be possible to run those commands from the "try ubuntu option" to keep from wiping out and reinstalling 12.04 afterwards?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#5

Hi ,

no , I didn't tell you to install Ubuntu 12.10. Just the kernel.. this is a "job" of 10 minutes top !

The kernel of 12.10 (linux-image-3.5) will come to 12.04 in a few months. But you can install right now if you want. (to test it).

Check the link I gave you. It has installation instructions (and remove instructions).

Do not download and install Ubuntu 12.10 .iso image.

Thanks

Revision history for this message
vamps720 (vamps720) said :
#6

Err..indeed. Sorry, my caffeine deprived brain saw 12.10 (even after reading the instructions) and for some reason thought distro upgrade. Again, my bad. While updating to the new kernel I did receive this:

W: GPG error: http://packages.medibuntu.org precise InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: Failed to fetch http://ppa.launchpad.net/marko-techytalk.info/ralink-wireless/ubuntu/dists/precise/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/marko-techytalk.info/ralink-wireless/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found

Now, I have a question if you don't mind:

How can I force Ubuntu to boot into the new Kernel? (I don't have GRUB installed.) My attempt (no more then 2 minuets ago) to install Grub from the 12.04 live cd apparently did not take.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#7

What boot loader you have ? Is this a real installation of Ubuntu or via wubi ? (from within Windows) .
From default , grub always load the first (newer) kernel . But if you don't have grub-bootloader , hmmm I don't know.

Check this automate grub installation-repair tool => https://help.ubuntu.com/community/Boot-Repair#A2nd_option_:_install_Boot-Repair_in_Ubuntu

As for the GPG error , apply below command

sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 2EBC26B60C5A2783

The other error is about a PPA , this PPA => https://launchpad.net/~marko-techytalk.info/+archive/ralink-wireless

this PPA has not the packages you want , so just remove it from your sources list with below command

sudo add-apt-repository --remove ppa:marko-techytalk.info/ralink-wireless
sudo apt-get update ; sudo apt-get dist-upgrade

Thanks

Revision history for this message
vamps720 (vamps720) said :
#8

I honestly don't know what bootloader I'm using. Ubuntu 12.04 is the only operating system I have installed. I"ll boot the live cd and run boot repair again, see what turns out.

Revision history for this message
vamps720 (vamps720) said :
#9

Alright so here's where I stand. For reasons I cannot fathom; boot recovery worked the second attempt, and I now have a nice Grub launcher I can chose from.

However. I installed the 3.5 kernel, rebooted, launched the 3.5 kernel and Ubuntu hangs on the "Ubuntu" screen.
I tried launching in recovery mode, but it hangs as well.

Upon this, I rebooted into 3.2 and uninstalled the kernel using the information from your link. I rebooted again, and reinstalled the kernel. This brought about the same issue of hanging on the "Ubuntu" screen, I attempted recovery once more, still no go.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#10

Ok , so the kernel 3.5 , not working for you. For now.

Try this

sudo modprobe -v rt2800pci

post here any errors (if any).

Wait about 5/10 secs and check your wireless.

Also check the dmesg with this command

dmesg | grep -ie rt

Thanks

Revision history for this message
vamps720 (vamps720) said :
#11

No error found, but it didn't active the wifi ether. I

dmesg | grep -ie rt

[ 0.000000] KERNEL supported cpus:
[ 0.000000] ACPI: WDRT dfbe4000 00047 (v01 HPQOEM 169A 00000001 HP 00040000)
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] Allocating PCI resources starting at e0000000 (gap: e0000000:18000000)
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] virtual kernel memory layout:
[ 0.004585] mce: CPU supports 6 MCE banks
[ 0.076004] smpboot cpu 1: start_ip = 9b000
[ 0.168475] RTC time: 19:01:05, date: 11/29/12
[ 0.244333] ACPI: (supports S0 S3 S4 S5)
[ 0.309699] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.310903] pci 0000:00:01.0: supports D1 D2
[ 0.322555] pci 0000:00:12.2: supports D1 D2
[ 0.322560] pci 0000:00:12.2: PME# supported from D0 D1 D2 D3hot
[ 0.334554] pci 0000:00:13.2: supports D1 D2
[ 0.334559] pci 0000:00:13.2: PME# supported from D0 D1 D2 D3hot
[ 0.334854] pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
[ 0.335199] pci 0000:00:15.0: supports D1 D2
[ 0.335362] pci 0000:00:15.1: supports D1 D2
[ 0.335525] pci 0000:00:15.2: supports D1 D2
[ 0.337022] pci 0000:02:00.0: supports D1 D2
[ 0.337027] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.352556] pci 0000:07:00.0: supports D1 D2
[ 0.352561] pci 0000:07:00.0: PME# supported from D1 D2 D3hot
[ 0.360256] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.360561] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.SPB0._PRT]
[ 0.360648] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.SPB1._PRT]
[ 0.360734] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.SPB2._PRT]
[ 0.360907] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
[ 0.947040] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 1.417829] Linux agpgart interface v0.103
[ 1.427058] ahci 0000:00:11.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x5 impl SATA mode
[ 1.429852] ata1: SATA max UDMA/133 abar m1024@0xf0448000 port 0xf0448100 irq 19
[ 1.429864] ata3: SATA max UDMA/133 abar m1024@0xf0448000 port 0xf0448200 irq 19
[ 1.432225] ehci_hcd 0000:00:12.2: debug port 1
[ 1.444307] ehci_hcd 0000:00:12.2: USB 2.0 started, EHCI 1.00
[ 1.444955] hub 1-0:1.0: 5 ports detected
[ 1.445902] ehci_hcd 0000:00:13.2: debug port 1
[ 1.456305] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00
[ 1.456954] hub 2-0:1.0: 5 ports detected
[ 1.516940] hub 3-0:1.0: 5 ports detected
[ 1.576954] hub 4-0:1.0: 5 ports detected
[ 1.584218] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.584237] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[ 1.584309] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[ 1.584363] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[ 1.584421] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[ 1.586782] rtc_cmos 00:05: RTC can wake from S4
[ 1.587076] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
[ 1.587188] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[ 1.590283] Using IPI No-Shortcut mode
[ 1.613418] rtc_cmos 00:05: setting system clock to 2012-11-29 19:01:07 UTC (1354215667)
[ 1.900886] USB Mass Storage support registered.
[ 1.934610] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.017806] udevd[97]: starting version 175
[ 2.285383] r8169 0000:02:00.0: eth0: RTL8105e at 0xf8434000, c8:cb:b8:ae:2d:6d, XID 00a00000 IRQ 40
[ 17.282999] udevd[418]: starting version 175
[ 17.948775] [fglrx] ioport: bar 1, base 0x3000, size: 0x100
[ 17.949813] [fglrx] Kernel PAT support is enabled
[ 17.991067] ppdev: user-space parallel port driver
[ 18.192841] rts_pstor: module is from the staging directory, the quality is unknown, you have been warned.
[ 18.241009] rts_pstor 0000:07:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 18.244466] rtsx_acquire_irq: chip->msi_en = 0, pci->irq = 18
[ 18.244560] rts_pstor 0000:07:00.0: setting latency timer to 64
[ 18.455267] rts_pstor: waiting for device to settle before scanning
[ 19.463569] rts_pstor: device scan complete
[ 19.629189] input: HP WMI hotkeys as /devices/virtual/input/input9
[ 21.686391] [fglrx] Gart USWC size:1136 M.
[ 21.686400] [fglrx] Gart cacheable size:449 M.
[ 166.679089] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#12

Hi ,

do you know why I told you to check the newer kernel ?

Your device supported by the module that I told you to load (modprobe) rt2800pci.

When I check at modaliases , I saw that kernel from 12.04 (3.2) not support your device but with a newer kernel , your device supported by default.

eg: the modules.alias from kernel 3.6 returns

alias pci:v00001814d0000539Bsv*sd*bc*sc*i* rt2800pci

As you can see the (v)endor and d(evice) are the same with yours. (v): 1814 (d): 539B and your device is
06:00.0 Network controller [0280]: Ralink corp. Device [1814:539b]

Unfortunately I didn't see the same with 3.2 kernel (stock kernel for Ubuntu 12.04)

So , the easy solution here is to try a newer kernel and JUST I SAW , that kernel 3.5.0-18 passed to 12.04 Hooray !!!

You don't need the repository I told you before.

Just open a terminal and try this please

sudo apt-get update
sudo apt-get install linux-image-3.5.0-18-generic
sudo update-initramfs -u -k all
sudo update-grub

and reboot to test this kernel.

Thanks

Revision history for this message
vamps720 (vamps720) said :
#13

Thanks NikTh, that solved my question.

Revision history for this message
vamps720 (vamps720) said :
#14

Thanks NikTh, that smoothed out my audio, as well as put my wifi online. Now if I can find the right gfx driver for this cpu/gpu nightmare I'll be set.

Again, thanks for taking the time out to help answer my question.