S3ky
Posts: 10
Joined: Mon Sep 02, 2013 11:04 am

Rpi and USB wifi adapter Ralink RT5370

Fri Sep 06, 2013 5:06 pm

Hi, I have a trouble with my Wifi USB adapter, in Rpi verified peripherals I can check, that that my USB adapter Ralink RT5370 will work, but for me it is not working (it will work without USB powered Hub. I dont have clean installation, it means, that I have installed motion and USB camera work and I need access this camera via WiFi. Maybe it is for motion reason, I will erase OS and upload new, but to this moment here are note from command prompt:

lsusb:
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

dmesg only important part

[ 3.301542] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 3.439492] usb 1-1.3: New USB device found, idVendor=148f, idProduct=5370
[ 3.461388] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.470254] usb 1-1.3: Product: 802.11 n WLAN
[ 3.491388] usb 1-1.3: Manufacturer: Ralink
[ 3.497028] usb 1-1.3: SerialNumber: 1.0
[ 4.403076] EXT4-fs (mmcblk0p2): recovery complete
[ 4.412133] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.423281] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 4.432120] devtmpfs: mounted
[ 4.437012] Freeing init memory: 132K
[ 5.837410] udevd[154]: starting version 175
[ 6.969460] Registered led device: led0
[ 7.419472] cfg80211: Calling CRDA to update world regulatory domain
[ 8.102000] usb 1-1.3: reset high-speed USB device number 4 using dwc_otg
[ 8.308238] phy0 -> rt2800_init_eeprom: Error - Invalid RF chipset 0x3070 detected. // so bad
[ 8.394418] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device. // so bad
[ 8.455185] usbcore: registered new interface driver rt2800usb
[ 8.753137] cfg80211: World regulatory domain updated:
[ 8.759992] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 8.771452] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.782509] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.793707] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.805029] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.816361] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.336064] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 12.812940] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 22.151042] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 25.571055] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SS

etc/network/interfaces

auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.10.15
netmask 255.255.255.0
gateway 192.168.10.1
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.20.1
netmask 255.255.255.0
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

lsmod:

Module Size Used by
snd_bcm2835 16432 0
snd_pcm 77728 1 snd_bcm2835
snd_seq 53482 0
snd_timer 20110 2 snd_pcm,snd_seq
snd_seq_device 6462 1 snd_seq
snd 58744 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
snd_page_alloc 5169 1 snd_pcm
rt2800usb 14948 0
rt2800lib 55359 1 rt2800usb
crc_ccitt 1530 1 rt2800lib
rt2x00usb 11240 1 rt2800usb
rt2x00lib 42342 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 273979 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 184390 2 mac80211,rt2x00lib
rfkill 18298 1 cfg80211
leds_gpio 2243 0
led_class 3570 2 leds_gpio,rt2x00lib

ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:76:b3:02
inet addr:192.168.10.15 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:553 errors:0 dropped:3 overruns:0 frame:0
TX packets:682 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:44942 (43.8 KiB) TX bytes:265953 (259.7 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


I am total newbie in Rpi, but I want to learn more about UNIX. I want to change USB wifi adapter for another from my friend and next maybe Rpi, but until what can be the problem?

Thanks for all answers! S3KY

f1vefour
Posts: 6
Joined: Sat Mar 23, 2013 7:09 pm

Re: Rpi and USB wifi adapter Ralink RT5370

Sun Sep 08, 2013 5:33 pm

It is a common issue with USB hubs. Try the tutorial found here: http://www.raspberrypi.org/phpBB3/viewt ... 28&t=51234

If this doesn't work I recommend plugging the dongle directly into the Pi.

Return to “General discussion”