PDA

View Full Version : [SOLVED] Ralink RT5390 802.11b/g/n WiFi Adapter Help



ronrut
June 15th, 2012, 05:44 AM
I just replaced a Lenovo G570 laptop(Intel 940 CPU) with a HP g7 (Intel i3-2350) so that virtualization would work in 64 bit. However, the only Linux distro that will work with wireless is Suse 12.1. I've installed Mint, Kubuntu, and Netrunner, and all of them connect perfectly when running live CD, but full installations will not connect. Also, neither does eth0 connect. This makes it hard to investigate online help, since I have to reboot into Windows to work.

The wireless card is a Ralink RT5390 802.11b/g/n. The same driver is shown in Live CD mode and full mode, rt2800pci.

I'm about cross-eyed reading the various forums for a solution. 8-[ Can someone point me in the right direction?

Thanx!

Ron

ronrut
June 19th, 2012, 12:28 AM
I just replaced a Lenovo G570 laptop(Intel 940 CPU) with a HP g7 (Intel i3-2350) so that virtualization would work in 64 bit. However, the only Linux distro that will work with wireless is Suse 12.1. I've installed Mint, Kubuntu, and Netrunner, and all of them connect perfectly when running live CD, but full installations will not connect. Also, neither does eth0 connect. This makes it hard to investigate online help, since I have to reboot into Windows to work.

The wireless card is a Ralink RT5390 802.11b/g/n. The same driver is shown in Live CD mode and full mode, rt2800pci.

I'm about cross-eyed reading the various forums for a solution. 8-[ Can someone point me in the right direction?

Thanx!

Ron

More information; even though all the Ubuntu variations show the available connections, they don't acquire an ip address. They just churn until they time out, then say (in the Network Manager popup) "waiting on authorization", even though there is no physical window coming up to ask for it. It is stored properly in the setup. I found that if I manually install an ip address and netmask, I can connect to the router and log into its setup page. So that means the net card in the laptop is functioning properly. But, no matter how I configure beyond that, no internet. Next I connected the non-working LAN port (basically was just churning for an ip address, like the wireless) directly to the adsl modem, and I got connected and was able to get all the packages updated, etc. I did this in both Netrunner and Mint. However, neither would connect in wireless or LAN when setup normally, as at the beginning.

So, it seems to me that the fairly old Microsoft wireless router is not up to the task at hand, even though it works ok with Suse 12.1 and Win7. The still really odd thing is that they all connect perfectly when using the live CD. I have a new router on the way, and hope to see all this behind me within a day or two!

Ron

wildmanne39
June 19th, 2012, 01:29 AM
Hi, please post the output of:

cat /etc/lsb-release; uname -a
lspci -nnk | grep -iA2 net
lsusb
iwconfig
rfkill list all
lsmod

by clicking on new reply and click # then paste the information between the brackets.
Thank you

ronrut
June 19th, 2012, 02:08 AM
cat /etc/lsb-release; uname -a
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=13
DISTRIB_CODENAME=maya
DISTRIB_DESCRIPTION="Linux Mint 13 Maya"
Linux dad-HP-Pavilion-g7-Notebook-PC 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


lspci -nnk | grep -iA2 net01:00.0 Network controller [0280]: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe [1814:5390]
Subsystem: Hewlett-Packard Company U98Z077.00 Half-size Mini PCIe Card [103c:1636]
Kernel driver in use: rt2800pci
--
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:1671]
Kernel driver in use: r8169

lsusb
No command 'lusb' found, did you mean:
Command 'lush' from package 'lush' (universe)
Command 'lsusb' from package 'usbutils' (main)
lusb: command not found

iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"wirelessshit"
Mode:Managed Frequency:2.412 GHz Access Point: 00:0D:3A:26:2E:F7
Bit Rate=36 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=53/70 Signal level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:102 Missed beacon:0

eth0 no wireless extensions.

rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no

lsmod
Module Size Used by
nls_iso8859_1 12713 1
nls_cp437 16991 1
vfat 17585 1
fat 61512 1 vfat
uas 18027 0
usb_storage 49198 1
parport_pc 32866 0
ppdev 17113 0
rfcomm 47604 0
bnep 18281 2
bluetooth 180104 10 rfcomm,bnep
snd_hda_codec_hdmi 32474 1
snd_hda_codec_idt 70795 1
binfmt_misc 17540 1
hp_wmi 18092 0
sparse_keymap 13890 1 hp_wmi
snd_hda_intel 33773 3
snd_hda_codec 127706 3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep 13668 1 snd_hda_codec
snd_pcm 97188 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
arc4 12529 2
uvcvideo 72627 0
videodev 98259 1 uvcvideo
v4l2_compat_ioctl32 17128 1 videodev
rt2800pci 18715 0
wmi 19256 1 hp_wmi
rt2800lib 58925 1 rt2800pci
crc_ccitt 12667 1 rt2800lib
rt2x00pci 14577 1 rt2800pci
rt2x00lib 55301 3 rt2800pci,rt2800lib,rt2x00pci
psmouse 87603 0
serio_raw 13211 0
mac80211 506816 3 rt2800lib,rt2x00pci,rt2x00lib
snd_seq_midi 13324 0
joydev 17693 0
snd_rawmidi 30748 1 snd_seq_midi
snd_seq_midi_event 14899 1 snd_seq_midi
rts_pstor 445196 0
snd_seq 61896 2 snd_seq_midi,snd_seq_midi_event
snd_timer 29990 2 snd_pcm,snd_seq
snd_seq_device 14540 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 78855 16 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel ,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_s eq,snd_timer,snd_seq_device
i915 468651 2
cfg80211 205544 2 rt2x00lib,mac80211
eeprom_93cx6 12725 1 rt2800pci
mac_hid 13253 0
drm_kms_helper 46978 1 i915
soundcore 15091 1 snd
snd_page_alloc 18529 2 snd_hda_intel,snd_pcm
drm 242038 3 i915,drm_kms_helper
mei 41616 0
i2c_algo_bit 13423 1 i915
video 19596 1 i915
lp 17799 0
parport 46562 3 parport_pc,ppdev,lp
usbhid 47199 0
hid 99559 1 usbhid
r8169 62099 0

This was the first cold reboot in Mint since the updates, and I got the message about waiting for networking, then it disabled NetManager. But it did return the fact that it was connected to our router ("wirelesssh*t"). The driver in use is the same one that Suse used.

Thank you for helping.

Ron

wildmanne39
June 19th, 2012, 02:21 AM
Hi, please do:

gksudo gedit /etc/modprobe.d/rt2800pci.conf

Add one line:


options rt2800pci nohwcrypt=1

Proofread carefully, save and close gedit.

This should work if you are using ubuntu or mint is still based on ubuntu, if it still does not connect post the output of:

nm-tool
Reboot.

ronrut
June 19th, 2012, 02:48 AM
No dice on the conf file, wildmanne39. Below is the output of nm-tool. Still got the message at boot up about waiting on networking. Didn't get that until I got the direct connection and got the updates.



nm-tool
** (process:1966): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files

NetworkManager Tool

State: unknown


** (process:1966): WARNING **: error: could not connect to NetworkManager

I think I will boot the live CD and run the diags and see if there is any difference. If I see any, I'll post it.

Ron

wildmanne39
June 19th, 2012, 03:04 AM
Hi, try this:

sudo service Network-manager start
if it does not work try the following with the ethernet plugged in:

sudo dhclient eth0
it appears there is an issue with network manager also post:

ps aux | grep nm-apple
Thanks

ronrut
June 19th, 2012, 03:23 AM
While on the live CD, I went on and got this:


nm-tool

NetworkManager Tool

State: connected (global)

- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: r8169
State: unavailable
Default: no
HW Address: 80:C1:6E:60:59:25

Capabilities:
Carrier Detect: yes

Wired Properties
Carrier: off


- Device: wlan0 [wirelessshit] ------------------------------------------------
Type: 802.11 WiFi
Driver: rt2800pci
State: connected
Default: yes
HW Address: 08:ED:B9:10:8E:75

Capabilities:
Speed: 54 Mb/s

Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes

Wireless Access Points (* = current AP)
TIDWELL: Infra, 00:23:97:C9:46:CD, Freq 2457 MHz, Rate 54 Mb/s, Strength 12 WPA WPA2
Spaceball1: Infra, 00:18:F8:7C:51:67, Freq 2437 MHz, Rate 54 Mb/s, Strength 15 WEP
*wirelessshit: Infra, 00:0D:3A:26:2E:F7, Freq 2412 MHz, Rate 54 Mb/s, Strength 69 WPA
garyandmelanie: Infra, 58:6D:8F:D4:9C:94, Freq 2462 MHz, Rate 54 Mb/s, Strength 19 WPA WPA2
belkin.79c: Infra, 08:86:3B:14:27:9C, Freq 2462 MHz, Rate 54 Mb/s, Strength 19 WPA WPA2

IPv4 Settings:
Address: 192.168.2.5
Prefix: 24 (255.255.255.0)
Gateway: 192.168.2.1

DNS: 192.168.2.1


booting back into the installed version now.....

Ron

ronrut
June 19th, 2012, 03:45 AM
And here's the rest:


Hi, try this:
Code:

sudo service Network-manager start

Network-manager: unrecognized service

if it does not work try the following with the ethernet plugged in:
Code:

sudo dhclient eth0

RTNETLINK answers: Operation not permitted

it appears there is an issue with network manager also post:
Code:

ps aux | grep nm-apple

dad 1541 0.0 0.3 678928 15852 ? Sl 21:26 0:00 nm-applet
dad 2314 0.0 0.0 13580 936 pts/1 S+ 21:37 0:00 grep --colour=auto nm-apple


Ron

wildmanne39
June 19th, 2012, 03:56 AM
Hi, this is very hard without at least one form of connection to the internet, can you tether you cell phone?

If not do you have synaptic installed?

Also go into your router settings and change wpa to just wpa2 if you have that option it works best with ubuntu.
Thanks

ronrut
June 19th, 2012, 04:12 AM
Thanks so much for all your help tonight, wildmanne39. I guess what bugs me the most is how the live CD of both Mint and Netrunner work perfectly in both wireless and ethernet, then fail once I do a full install. And then Suse works both ways! In any event, the new router should be here in the next day or so, and my gut feeling is that it will correct the problem. I like to use Netrunner because it is clean and very fast, and they don't try to be cutting edge on upgrades (still on kernel 3.0.0-12, I think).

Our current router, an old Microsoft one, doesn't support wpa2, just wep and wpa.

Thanks again for your efforts :popcorn: , and I'll post what the new router does for me!

Ron

ronrut
June 19th, 2012, 10:08 PM
The new router solved the problem. Throughput speeds also increased about 25% or so. So, all you people using your new(er) wireless cards, consider that using it with an old router could be a problem.

Ron

wildmanne39
June 19th, 2012, 10:24 PM
Hi, I am glad to hear the new router fixed your issue.
Enjoy