Tiny Core Linux

Tiny Core Base => CorePlus => Topic started by: Stone.Giant on March 15, 2014, 07:32:54 PM

Title: Ralink wifi cannot setup
Post by: Stone.Giant on March 15, 2014, 07:32:54 PM
Hello hardcores! Today im posting a problem about setting up for those who have a Ralink 2870 wifi dongle to my
tc@box: uname -a
Linux box 3.8.10-tinycore #3810 SMP Tue Apr 30 15:45:26 UTC 2013 i686 GNU/Linux.

I did not see any wlan0 detected
eth0      Link encap:Ethernet  HWaddr 00:00:F0:9F:36:1C 
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3022 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2815 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3343421 (3.1 MiB)  TX bytes:335627 (327.7 KiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:200 (200.0 B)  TX bytes:200 (200.0 B)

Nor in this command

tc@box:~$ lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5500] (rev a1)
03:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)

From the forums I read I already tried to modprobe rt2800 but no avail, I think it is for Realtek semicons. Any ideas how could I set up this dongle? By the way I have a .bin file driver that I  get from its CD how could I convert it to a .tcz file?
Title: Re: Ralink wifi cannot setup
Post by: Rich on March 15, 2014, 10:13:47 PM
Hi Stone.Giant
rt2870.bin  is contained in  firmware-ralinkwifi.tcz
Also, your Ralink adapter won't show up using  lspci  if that's what you were expecting. You need  lsusb  for that which is
provided by  usb-utils.tcz.
Title: Re: Ralink wifi cannot setup
Post by: Rich on March 15, 2014, 10:21:01 PM
Hi Stone.Giant
You also need to install  wireless-3.8.10-tinycore.tcz  if you haven't done so already.
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on March 18, 2014, 10:20:50 AM
Hi thank you and sorry for late reply, I already installed what you have said and placed it on-boot section but I still  did'nt see my wireless device  in ifconfig
Code: [Select]
tc@box:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:F0:9F:36:1C 
          inet addr:192.168.1.110  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1688 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1578 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2149398 (2.0 MiB)  TX bytes:177011 (172.8 KiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:37 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3656 (3.5 KiB)  TX bytes:3656 (3.5 KiB)

but I see it now  in lsusb command
Code: [Select]
tc@box:~$ lsusb
Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Kindly tell me the step by step procedure to run this device. Should I modprobe this device but I dont now what folder it is in?
Code: [Select]
tc@box:~$ modprobe -l | grep wireless

kernel.tclocal/drivers/net/wireless/adm8211.ko.gz
kernel.tclocal/drivers/net/wireless/airo.ko.gz
kernel.tclocal/drivers/net/wireless/airo_cs.ko.gz
kernel.tclocal/drivers/net/wireless/at76c50x-usb.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ar5523/ar5523.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath5k/ath5k.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath6kl/ath6kl_core.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath6kl/ath6kl_usb.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k_common.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k_htc.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k_hw.ko.gz
kernel.tclocal/drivers/net/wireless/ath/wil6210/wil6210.ko.gz
kernel.tclocal/drivers/net/wireless/atmel.ko.gz
kernel.tclocal/drivers/net/wireless/atmel_cs.ko.gz
kernel.tclocal/drivers/net/wireless/atmel_pci.ko.gz
kernel.tclocal/drivers/net/wireless/b43/b43.ko.gz
kernel.tclocal/drivers/net/wireless/b43legacy/b43legacy.ko.gz
kernel.tclocal/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko.gz
kernel.tclocal/drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko.gz
kernel.tclocal/drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap_cs.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap_pci.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap_plx.ko.gz
kernel.tclocal/drivers/net/wireless/ipw2x00/ipw2100.ko.gz
kernel.tclocal/drivers/net/wireless/ipw2x00/ipw2200.ko.gz
kernel.tclocal/drivers/net/wireless/ipw2x00/libipw.ko.gz
kernel.tclocal/drivers/net/wireless/iwlegacy/iwl3945.ko.gz
kernel.tclocal/drivers/net/wireless/iwlegacy/iwl4965.ko.gz
kernel.tclocal/drivers/net/wireless/iwlegacy/iwlegacy.ko.gz
kernel.tclocal/drivers/net/wireless/iwlwifi/dvm/iwldvm.ko.gz
kernel.tclocal/drivers/net/wireless/iwlwifi/iwlwifi.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/libertas.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/libertas_cs.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/libertas_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/usb8xxx.ko.gz
kernel.tclocal/drivers/net/wireless/libertas_tf/libertas_tf.ko.gz
kernel.tclocal/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex_pcie.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex_usb.ko.gz
kernel.tclocal/drivers/net/wireless/mwl8k.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_cs.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_nortel.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_pci.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_plx.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_tmd.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_usb.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/spectrum_cs.ko.gz
kernel.tclocal/drivers/net/wireless/p54/p54common.ko.gz
kernel.tclocal/drivers/net/wireless/p54/p54pci.ko.gz
kernel.tclocal/drivers/net/wireless/p54/p54usb.ko.gz
kernel.tclocal/drivers/net/wireless/prism54/prism54.ko.gz
kernel.tclocal/drivers/net/wireless/ray_cs.ko.gz
kernel.tclocal/drivers/net/wireless/rndis_wlan.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2400pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2500pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2500usb.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2800lib.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2800pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2800usb.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2x00lib.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2x00pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2x00usb.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt61pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt73usb.ko.gz
kernel.tclocal/drivers/net/wireless/rtl818x/rtl8180/rtl8180.ko.gz
kernel.tclocal/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192de/rtl8192de.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8723ae/rtl8723ae.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtlwifi.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl1251/wl1251.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl1251/wl1251_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl12xx/wl12xx.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl18xx/wl18xx.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wlcore/wlcore.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/wl3501_cs.ko.gz
kernel.tclocal/drivers/net/wireless/zd1201.ko.gz
kernel.tclocal/drivers/net/wireless/zd1211rw/zd1211rw.ko.gz
kernel.tclocal/drivers/net/wireless/wl.ko.gz
kernel.tclocal/net/mac80211/mac80211.ko.gz
kernel.tclocal/net/wireless/cfg80211.ko.gz
kernel.tclocal/net/wireless/lib80211.ko.gz
kernel.tclocal/net/wireless/lib80211_crypt_ccmp.ko.gz
kernel.tclocal/net/wireless/lib80211_crypt_tkip.ko.gz
kernel.tclocal/net/wireless/lib80211_crypt_wep.ko.gz
kernel.tclocal/misc/ndiswrapper.ko.gz

Appreciate your help.

      [EDIT]: Added code tags to post.  Rich
Title: Re: Ralink wifi cannot setup
Post by: gerald_clark on March 18, 2014, 10:33:58 AM
ifconfig will only show configured interfaces.
To see them all run 'ifconfig -a'.
Check dmesg to be sure you are not missing firmware.
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on March 18, 2014, 10:44:48 AM
Hi heres my terminal output:
tc@box:~$ ifconfig -a
dummy0    Link encap:Ethernet  HWaddr 56:B4:FF:38:2E:9B 
          BROADCAST NOARP  MTU:1500  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)

eth0      Link encap:Ethernet  HWaddr 00:00:F0:9F:36:1C 
          inet addr:192.168.1.110  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3602 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3705 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3339835 (3.1 MiB)  TX bytes:519149 (506.9 KiB)

ip_vti0   Link encap:UNSPEC  HWaddr 00-00-00-00-FF-00-00-00-00-00-00-00-00-00-00-00 
          NOARP  MTU:1500  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)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:37 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3656 (3.5 KiB)  TX bytes:3656 (3.5 KiB)

tunl0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          NOARP  MTU:1480  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)

also my dmesg output:

tc@box:~$ dmesg | grep usb
Kernel command line: initrd=/tce/boot/core.gz quiet  swapfile{=sda3} waitusb=5:UUID="b6be39b0-88f7-49e4-a025-9a893a4e01a9" tce=UUID="b6be39b0-88f7-49e4-a025-9a893a4e01a9"  BOOT_IMAGE=/tce/boot/vmlinuz
ACPI: bus type usb registered
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver ums-alauda
usbcore: registered new interface driver ums-cypress
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums_eneub6250
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-karma
usbcore: registered new interface driver ums-onetouch
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
usbcore: registered new interface driver appletouch
usbcore: registered new interface driver bcm5974
usbcore: registered new interface driver synaptics_usb
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usb 1-8: new high-speed USB device number 2 using ehci-pci

Heres the output of my lsmod

tc@box:~$ lsmod
Module                  Size  Used by    Not tainted
speedstep_lib          12288  0
cpufreq_stats          12288  0
cpufreq_powersave      12288  0
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
squashfs               24576 120
loop                   20480 240
mperf                  12288  0
ppdev                  12288  0
parport_pc             24576  0
floppy                 45056  0
microcode              12288  0
parport                24576  2 ppdev,parport_pc
e100                   28672  0
pcspkr                 12288  0
lpc_ich                16384  0
mfd_core               12288  1 lpc_ich


Which file should I modprobe?

kernel.tclocal/drivers/net/wireless/rt2x00/rt2800lib.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2800pci.ko.gz

Title: Re: Ralink wifi cannot setup
Post by: coreplayer2 on March 18, 2014, 11:00:00 AM
to show required output try   dmesg | tail -25 
Title: Re: Ralink wifi cannot setup
Post by: tinypoodle on March 18, 2014, 02:08:34 PM
Try rt2800usb
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on March 19, 2014, 09:33:50 AM
Heres my new dmesg output

tc@box:~$ dmesg | tail-25
sh: tail-25: not found
tc@box:~$ dmesg | tail -25
intel_rng: FWH not detected
ACPI Warning: 0x00000828-0x0000082f SystemIO conflicts with Region \PMIO 1 (20121018/utaddress-251)
ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized
lpc_ich: Resource conflict(s) found affecting gpio_ich
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
e100 0000:03:08.0 eth0: addr 0xfeaff000, irq 20, MAC addr 00:00:f0:9f:36:1c
input: PC Speaker as /devices/platform/pcspkr/input/input3
microcode: CPU0 sig=0xf41, pf=0x4, revision=0x9
parport_pc 00:06: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
FDC 0 is a post-1991 82077
microcode: CPU1 sig=0xf41, pf=0x4, revision=0x9
microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
ppdev: user-space parallel port driver
tsc: Refined TSC clocksource calibration: 3000.501 MHz
Switching to clocksource tsc
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
loop: module loaded
Adding 511380k swap on /dev/zram0.  Priority:-1 extents:1 across:511380k SS
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Adding 511996k swap on /dev/sda3.  Priority:-2 extents:1 across:511996k
EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
e100 0000:03:08.0 eth0: NIC Link is Up 100 Mbps Full Duplex
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on March 19, 2014, 09:42:47 AM
This time I already modprobe -v rt2800usb.ko.gz but still no avail...

tc@box:~$ ifconfig -a
dummy0    Link encap:Ethernet  HWaddr 86:CF:D4:37:E2:7E 
          BROADCAST NOARP  MTU:1500  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)

eth0      Link encap:Ethernet  HWaddr 00:00:F0:9F:36:1C 
          UP BROADCAST MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ip_vti0   Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          NOARP  MTU:1500  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)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:200 (200.0 B)  TX bytes:200 (200.0 B)

tunl0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          NOARP  MTU:1480  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)

tc@box:~$ iwconfig
ip_vti0   no wireless extensions.

dummy0    no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

tunl0     no wireless extensions.

tc@box:~$ lsmod
Module                  Size  Used by    Not tainted
speedstep_lib          12288  0
cpufreq_stats          12288  0
cpufreq_userspace      12288  0
cpufreq_powersave      12288  0
cpufreq_conservative    12288  0
squashfs               24576 120
loop                   20480 240
mperf                  12288  0
ppdev                  12288  0
parport_pc             24576  0
e100                   28672  0
microcode              12288  0
floppy                 45056  0
parport                24576  2 ppdev,parport_pc
lpc_ich                16384  0
mfd_core               12288  1 lpc_ich
pcspkr                 12288  0
tc@box:~$ dmesg | tail -25
usb 1-8: new high-speed USB device number 2 using ehci-pci
input: PC Speaker as /devices/platform/pcspkr/input/input3
intel_rng: FWH not detected
ACPI Warning: 0x00000828-0x0000082f SystemIO conflicts with Region \PMIO 1 (20121018/utaddress-251)
ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized
lpc_ich: Resource conflict(s) found affecting gpio_ich
microcode: CPU0 sig=0xf41, pf=0x4, revision=0x9
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
parport_pc 00:06: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
e100 0000:03:08.0 eth0: addr 0xfeaff000, irq 20, MAC addr 00:00:f0:9f:36:1c
FDC 0 is a post-1991 82077
microcode: CPU1 sig=0xf41, pf=0x4, revision=0x9
microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
ppdev: user-space parallel port driver
tsc: Refined TSC clocksource calibration: 3000.501 MHz
Switching to clocksource tsc
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
loop: module loaded
Adding 510740k swap on /dev/zram0.  Priority:-1 extents:1 across:510740k SS
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Adding 511996k swap on /dev/sda3.  Priority:-2 extents:1 across:511996k
EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
Title: Re: Ralink wifi cannot setup
Post by: coreplayer2 on March 19, 2014, 10:37:24 AM
Your dmesg doesn't show the device connected,  you might try dmesg | tail -50 to verify

If your device is a USB dongle type then try reinserting it into a different USB port then run dmesg again, the device should show up on the last few lines
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on March 20, 2014, 05:41:26 AM
I reinsert my wifi usb dongle into the main usb slot at the back of my desktop. What should be the output will I expect?

tc@box:~$ dmesg | tail -50
ata2.00: ATAPI: SAMSUNG CD-ROM SH-152A, C502, max UDMA/33
ata1.00: ATA-6: WDC WD800BB-63JKC0, 05.01C05, max UDMA/100
ata1.00: 156301488 sectors, multi 16: LBA48
ata2.00: configured for UDMA/33
ata1.00: configured for UDMA/100
isapnp: No Plug & Play device found
scsi 0:0:0:0: Direct-Access     ATA      WDC WD800BB-63JK 05.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
scsi 1:0:0:0: CD-ROM            SAMSUNG  CD-ROM SH-152A   C502 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 1x/52x cd/rw xa/form2 cdda tray
cdrom: Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
sr 1:0:0:0: Attached scsi generic sg1 type 5
usb 1-8: new high-speed USB device number 2 using ehci-pci
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
Freeing unused kernel memory: 496k freed
Write protecting the kernel text: 3872k
Write protecting the kernel read-only data: 980k
intel_rng: FWH not detected
input: PC Speaker as /devices/platform/pcspkr/input/input3
ACPI Warning: 0x00000828-0x0000082f SystemIO conflicts with Region \PMIO 1 (20121018/utaddress-251)
ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized
lpc_ich: Resource conflict(s) found affecting gpio_ich
microcode: CPU0 sig=0xf41, pf=0x4, revision=0x9
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
parport_pc 00:06: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
e100 0000:03:08.0 eth0: addr 0xfeaff000, irq 20, MAC addr 00:00:f0:9f:36:1c
FDC 0 is a post-1991 82077
microcode: CPU1 sig=0xf41, pf=0x4, revision=0x9
microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
ppdev: user-space parallel port driver
tsc: Refined TSC clocksource calibration: 3000.501 MHz
Switching to clocksource tsc
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
loop: module loaded
Adding 511180k swap on /dev/zram0.  Priority:-1 extents:1 across:511180k SS
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Adding 511996k swap on /dev/sda3.  Priority:-2 extents:1 across:511996k
EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
e100 0000:03:08.0 eth0: NIC Link is Up 100 Mbps Full Duplex
usb 1-8: USB disconnect, device number 2
usb 1-1: new high-speed USB device number 3 using ehci-pci



Title: Re: Ralink wifi cannot setup
Post by: coreplayer2 on March 20, 2014, 10:40:32 AM
Ok my bad,  I should have said the driver for your device is not loaded

this is obviously your connected device
 usb 1-1: new high-speed USB device number 3 using ehci-pci

should indicate something like this when both driver and firmware is loaded
Code: [Select]
[  537.204728] usb 1-3: new high-speed USB device number 4 using ehci-pci
[  537.330090] rtl8192cu: Chip version 0x10
[  537.412030] rtl8192cu: MAC address: 74:55:41:d3:5f:7b
[  537.412034] rtl8192cu: Board Type 0
[  537.412267] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
[  537.412311] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
[  537.418496] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
[  537.418856] rtlwifi: wireless switch is on

what is the output of " lsusb " ?
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on March 20, 2014, 02:24:20 PM
my lsusb is the same output as I recently posted:

tc@box:~$ lsusb
Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Title: Re: Ralink wifi cannot setup
Post by: tinypoodle on March 20, 2014, 03:28:57 PM
1. Boot with code "syslog"
2. Verify with lsusb that your device is shown
3. modprobe -v rt2800usb
4. Attach /var/log/messages here
Title: Re: Ralink wifi cannot setup
Post by: coreplayer2 on March 20, 2014, 04:04:39 PM
Looks like tinypoodle has got this, it appears the driver is rt2x00usb.ko
Title: Re: Ralink wifi cannot setup
Post by: tinypoodle on March 20, 2014, 04:42:46 PM
rt2x00usb is a dependency of rt2800usb, so I'd expect it to get loaded automatically.
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on March 21, 2014, 08:22:52 AM
1. Boot with code "syslog"
2. Verify with lsusb that your device is shown
3. modprobe -v rt2800usb
4. Attach /var/log/messages here

Sorry I dont know how to start with step 1. Could you give me the actual script to boot with code syslog? Thanks.
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on March 21, 2014, 08:46:37 AM
I can't find my syslog.conf....

tc@box:/etc$ ls
busybox.conf   hosts          modprobe.conf  profile.d/     shells
fonts/         init.d/        motd           protocols      skel/
fstab          inittab        mtab           resolv.conf    ssl
group          issue          nsswitch.conf  rpc            sudoers
gshadow        ld.so.cache    passwd         securetty      sysconfig/
host.conf      ld.so.conf     pcmcia/        services       udev/
hostname       mke2fs.conf    profile        shadow
Title: Re: Ralink wifi cannot setup
Post by: Juanito on March 21, 2014, 10:56:08 AM
Once you set the boot bode "syslog" the system messages are in /var/log/messages
Title: Re: Ralink wifi cannot setup
Post by: volkerp on March 22, 2014, 01:08:03 AM
Hi Stone.Giant,

edit your bootloader's configuration file, f.i. extlinux.cfg in case you use extlinux bootloader. Now simply type "syslog" as a further bootcode. Save the file and reboot your system.

Having done this follow instructions 2 through 4 given by tinypoodle.
Title: Re: Ralink wifi cannot setup
Post by: coreplayer2 on March 22, 2014, 06:25:00 AM
rt2x00usb is a dependency of rt2800usb, so I'd expect it to get loaded automatically.

I agree entirely, something is a miss here and is likely due to a mix of kernel module versions (apparently there are both 3.8.10 & 3.8.13 modules installed)   first plan is to update all so we're on the right page, then add syslog boot code if needed.

I wish I had this wifi dongle
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on April 08, 2014, 12:52:02 AM
Sorry I missed the forum I had private conversation with coreplayer2 by the way heres my current log messages. Kindly find the attached file split into halves
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on April 08, 2014, 01:27:50 AM
I tried to modprobe -v rt2800usb.ko.gz without rebooting and it enlisted in lsmod but still no wifi. And when I rebooted the module is gone after lsmod...

root@box:/home/tc# lsmod
Module                  Size  Used by    Not tainted
rt2800usb              16384  0
rt2800lib              40960  1 rt2800usb
rt2x00usb              12288  1 rt2800usb
rt2x00lib              28672  3 rt2800usb,rt2800lib,rt2x00usb
mac80211              155648  3 rt2800lib,rt2x00usb,rt2x00lib
cfg80211              110592  2 rt2x00lib,mac80211
speedstep_lib          12288  0
cpufreq_stats          12288  0
cpufreq_powersave      12288  0
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
snd_intel8x0           20480  0
snd_ac97_codec         73728  1 snd_intel8x0
ac97_bus               12288  1 snd_ac97_codec
snd_pcm                49152  2 snd_intel8x0,snd_ac97_codec
snd_timer              20480  1 snd_pcm
snd                    36864  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              12288  1 snd
snd_page_alloc         12288  2 snd_intel8x0,snd_pcm
i2c_i801               16384  0
intel_agp              12288  1
intel_gtt              16384  1 intel_agp
agpgart                24576  2 intel_agp,intel_gtt
squashfs               24576 194
loop                   20480 388
mperf                  12288  0
ppdev                  12288  0
floppy                 45056  0
parport_pc             24576  0
parport                24576  2 ppdev,parport_pc
microcode              12288  0
e100                   28672  0
pcspkr                 12288  0
lpc_ich                16384  0
mfd_core               12288  1 lpc_ich
root@box:/home/tc# iwconfig
ip_vti0   no wireless extensions.

dummy0    no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

tunl0     no wireless extensions.

Title: Re: Ralink wifi cannot setup
Post by: coreplayer2 on April 08, 2014, 09:05:10 AM
I'm beginning to see the problem


modinfo rt2800usb | grep 5370 
 reveals that in this version of the rt2800usb module there is no Alias/support for 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter  So the module will not automatically load when the device is inserted.

Am not even sure that "rt2870.bin" is the correct firmware either..


However I'd try loading
wifi.tcz  and
firmware-ralinkwifi.tcz

then modprobe it

Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on April 08, 2014, 04:52:30 PM
It returned a null...

root@box:/home/tc# modinfo rt2800usb | grep 5370
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on April 08, 2014, 04:56:17 PM
How can I sort which belongs to wifi.tcz and firmware-ralinkwifi.tcz so that I can modprobe it specifically....

root@box:/home/tc# modinfo rt2800usb | grep 5370
root@box:/home/tc# modprobe -l | grep wireless
kernel/drivers/tty/ipwireless/ipwireless.ko.gz
kernel.tclocal/drivers/net/wireless/adm8211.ko.gz
kernel.tclocal/drivers/net/wireless/airo.ko.gz
kernel.tclocal/drivers/net/wireless/airo_cs.ko.gz
kernel.tclocal/drivers/net/wireless/at76c50x-usb.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ar5523/ar5523.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath5k/ath5k.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath6kl/ath6kl_core.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath6kl/ath6kl_usb.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k_common.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k_htc.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k_hw.ko.gz
kernel.tclocal/drivers/net/wireless/ath/wil6210/wil6210.ko.gz
kernel.tclocal/drivers/net/wireless/atmel.ko.gz
kernel.tclocal/drivers/net/wireless/atmel_cs.ko.gz
kernel.tclocal/drivers/net/wireless/atmel_pci.ko.gz
kernel.tclocal/drivers/net/wireless/b43/b43.ko.gz
kernel.tclocal/drivers/net/wireless/b43legacy/b43legacy.ko.gz
kernel.tclocal/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko.gz
kernel.tclocal/drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko.gz
kernel.tclocal/drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap_cs.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap_pci.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap_plx.ko.gz
kernel.tclocal/drivers/net/wireless/ipw2x00/ipw2100.ko.gz
kernel.tclocal/drivers/net/wireless/ipw2x00/ipw2200.ko.gz
kernel.tclocal/drivers/net/wireless/ipw2x00/libipw.ko.gz
kernel.tclocal/drivers/net/wireless/iwlegacy/iwl3945.ko.gz
kernel.tclocal/drivers/net/wireless/iwlegacy/iwl4965.ko.gz
kernel.tclocal/drivers/net/wireless/iwlegacy/iwlegacy.ko.gz
kernel.tclocal/drivers/net/wireless/iwlwifi/dvm/iwldvm.ko.gz
kernel.tclocal/drivers/net/wireless/iwlwifi/iwlwifi.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/libertas.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/libertas_cs.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/libertas_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/usb8xxx.ko.gz
kernel.tclocal/drivers/net/wireless/libertas_tf/libertas_tf.ko.gz
kernel.tclocal/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex_pcie.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex_usb.ko.gz
kernel.tclocal/drivers/net/wireless/mwl8k.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_cs.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_nortel.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_pci.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_plx.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_tmd.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_usb.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/spectrum_cs.ko.gz
kernel.tclocal/drivers/net/wireless/p54/p54common.ko.gz
kernel.tclocal/drivers/net/wireless/p54/p54pci.ko.gz
kernel.tclocal/drivers/net/wireless/p54/p54usb.ko.gz
kernel.tclocal/drivers/net/wireless/prism54/prism54.ko.gz
kernel.tclocal/drivers/net/wireless/ray_cs.ko.gz
kernel.tclocal/drivers/net/wireless/rndis_wlan.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2400pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2500pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2500usb.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2800lib.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2800pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2800usb.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2x00lib.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2x00pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2x00usb.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt61pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt73usb.ko.gz
kernel.tclocal/drivers/net/wireless/rtl818x/rtl8180/rtl8180.ko.gz
kernel.tclocal/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192de/rtl8192de.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8723ae/rtl8723ae.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtlwifi.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl1251/wl1251.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl1251/wl1251_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl12xx/wl12xx.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl18xx/wl18xx.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wlcore/wlcore.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/wl3501_cs.ko.gz
kernel.tclocal/drivers/net/wireless/zd1201.ko.gz
kernel.tclocal/drivers/net/wireless/zd1211rw/zd1211rw.ko.gz
kernel.tclocal/net/wireless/cfg80211.ko.gz
kernel.tclocal/net/wireless/lib80211.ko.gz
kernel.tclocal/net/wireless/lib80211_crypt_ccmp.ko.gz
kernel.tclocal/net/wireless/lib80211_crypt_tkip.ko.gz
kernel.tclocal/net/wireless/lib80211_crypt_wep.ko.gz

Title: Re: Ralink wifi cannot setup
Post by: Rich on April 08, 2014, 05:46:02 PM
Hi Stone.Giant
Please use code tags when posting commands and their results.
Title: Re: Ralink wifi cannot setup
Post by: coreplayer2 on April 08, 2014, 07:02:12 PM
I believe you'll need to load the firmware then modprobe the rt2800usb module

Good luck


Sent from my iPhone using Tapatalk
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on April 09, 2014, 04:36:13 AM
When I modprobe -v rt2800usb.gz.ko, it registered itself in list of modules but after I reboot its gone.

Code: [Select]
root@box:/home/tc# lsmod
Module                  Size  Used by    Not tainted
rt2800usb              16384  0
rt2800lib              40960  1 rt2800usb
rt2x00usb              12288  1 rt2800usb
rt2x00lib              28672  3 rt2800usb,rt2800lib,rt2x00usb
mac80211              155648  3 rt2800lib,rt2x00usb,rt2x00lib
cfg80211              110592  2 rt2x00lib,mac80211
speedstep_lib          12288  0
cpufreq_stats          12288  0
cpufreq_powersave      12288  0
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
snd_intel8x0           20480  0
snd_ac97_codec         73728  1 snd_intel8x0
ac97_bus               12288  1 snd_ac97_codec
snd_pcm                49152  2 snd_intel8x0,snd_ac97_codec
snd_timer              20480  1 snd_pcm
snd                    36864  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              12288  1 snd
snd_page_alloc         12288  2 snd_intel8x0,snd_pcm
i2c_i801               16384  0
intel_agp              12288  1
intel_gtt              16384  1 intel_agp
agpgart                24576  2 intel_agp,intel_gtt
squashfs               24576 194
loop                   20480 388
mperf                  12288  0
ppdev                  12288  0
floppy                 45056  0
parport_pc             24576  0
parport                24576  2 ppdev,parport_pc
microcode              12288  0
e100                   28672  0
pcspkr                 12288  0
lpc_ich                16384  0
mfd_core               12288  1 lpc_ich

Code: [Select]
root@box:/home/tc# iwconfig
ip_vti0   no wireless extensions.

dummy0    no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

tunl0     no wireless extensions.
Title: Re: Ralink wifi cannot setup
Post by: georgp24 on April 13, 2014, 01:03:12 PM
I got a Ralink RT2501/RT2573 (USB wireless adapter) working in Core Linux 477 now.

In dmesg it showed up as "rt73usb". It was automatically detected, "iwconfig" showed it as "wlan0". I had installed "firmware-ralinkwifi.tcz" from 5.x though via onboot.lst so this may have helped.

So all I had to do then was to run "sudo wifi.sh" and connect to the network. This was an open access point.

I also tried a Ralink PCI adapter before. For this I had to do "sudo modprobe rt61pci" before it showed up with iwconfig.

Also helpful was the "rfkill" utility which shows if the adapter is blocked somehow. I found that I had to press the wifi button first to remove the "hard blocked" state. After that I entered "sudo ifconfig wlan0 up" to enable the adapter.

So in your case I would do:
"sudo modprobe rt73usb" and see if it then shows up in iwconfig. If yes, enter "sudo ifconfig wlan0 up" followed by "sudo wifi.sh".

Hope this helps.

Georg
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on April 14, 2014, 11:33:39 AM
I got a Ralink RT2501/RT2573 (USB wireless adapter) working in Core Linux 477 now.

In dmesg it showed up as "rt73usb". It was automatically detected, "iwconfig" showed it as "wlan0". I had installed "firmware-ralinkwifi.tcz" from 5.x though via onboot.lst so this may have helped.

So all I had to do then was to run "sudo wifi.sh" and connect to the network. This was an open access point.

I also tried a Ralink PCI adapter before. For this I had to do "sudo modprobe rt61pci" before it showed up with iwconfig.

Also helpful was the "rfkill" utility which shows if the adapter is blocked somehow. I found that I had to press the wifi button first to remove the "hard blocked" state. After that I entered "sudo ifconfig wlan0 up" to enable the adapter.

So in your case I would do:
"sudo modprobe rt73usb" and see if it then shows up in iwconfig. If yes, enter "sudo ifconfig wlan0 up" followed by "sudo wifi.sh".

Hope this helps.

Georg

I did not download firmware-ralinkwifi.tcz but I saw rt73usb and modprobe it

Code: [Select]
tc@box:/$ modprobe -l | grep wireless
kernel/drivers/tty/ipwireless/ipwireless.ko.gz
kernel.tclocal/drivers/net/wireless/adm8211.ko.gz
kernel.tclocal/drivers/net/wireless/airo.ko.gz
kernel.tclocal/drivers/net/wireless/airo_cs.ko.gz
kernel.tclocal/drivers/net/wireless/at76c50x-usb.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ar5523/ar5523.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath5k/ath5k.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath6kl/ath6kl_core.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath6kl/ath6kl_usb.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k_common.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k_htc.ko.gz
kernel.tclocal/drivers/net/wireless/ath/ath9k/ath9k_hw.ko.gz
kernel.tclocal/drivers/net/wireless/ath/wil6210/wil6210.ko.gz
kernel.tclocal/drivers/net/wireless/atmel.ko.gz
kernel.tclocal/drivers/net/wireless/atmel_cs.ko.gz
kernel.tclocal/drivers/net/wireless/atmel_pci.ko.gz
kernel.tclocal/drivers/net/wireless/b43/b43.ko.gz
kernel.tclocal/drivers/net/wireless/b43legacy/b43legacy.ko.gz
kernel.tclocal/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko.gz
kernel.tclocal/drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko.gz
kernel.tclocal/drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap_cs.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap_pci.ko.gz
kernel.tclocal/drivers/net/wireless/hostap/hostap_plx.ko.gz
kernel.tclocal/drivers/net/wireless/ipw2x00/ipw2100.ko.gz
kernel.tclocal/drivers/net/wireless/ipw2x00/ipw2200.ko.gz
kernel.tclocal/drivers/net/wireless/ipw2x00/libipw.ko.gz
kernel.tclocal/drivers/net/wireless/iwlegacy/iwl3945.ko.gz
kernel.tclocal/drivers/net/wireless/iwlegacy/iwl4965.ko.gz
kernel.tclocal/drivers/net/wireless/iwlegacy/iwlegacy.ko.gz
kernel.tclocal/drivers/net/wireless/iwlwifi/dvm/iwldvm.ko.gz
kernel.tclocal/drivers/net/wireless/iwlwifi/iwlwifi.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/libertas.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/libertas_cs.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/libertas_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/libertas/usb8xxx.ko.gz
kernel.tclocal/drivers/net/wireless/libertas_tf/libertas_tf.ko.gz
kernel.tclocal/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex_pcie.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/mwifiex/mwifiex_usb.ko.gz
kernel.tclocal/drivers/net/wireless/mwl8k.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_cs.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_nortel.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_pci.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_plx.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_tmd.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/orinoco_usb.ko.gz
kernel.tclocal/drivers/net/wireless/orinoco/spectrum_cs.ko.gz
kernel.tclocal/drivers/net/wireless/p54/p54common.ko.gz
kernel.tclocal/drivers/net/wireless/p54/p54pci.ko.gz
kernel.tclocal/drivers/net/wireless/p54/p54usb.ko.gz
kernel.tclocal/drivers/net/wireless/prism54/prism54.ko.gz
kernel.tclocal/drivers/net/wireless/ray_cs.ko.gz
kernel.tclocal/drivers/net/wireless/rndis_wlan.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2400pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2500pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2500usb.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2800lib.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2800pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2800usb.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2x00lib.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2x00pci.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt2x00usb.ko.gz
kernel.tclocal/drivers/net/wireless/rt2x00/rt61pci.ko.gz
[color=red]kernel.tclocal/drivers/net/wireless/rt2x00/rt73usb.ko.gz[/color]
kernel.tclocal/drivers/net/wireless/rtl818x/rtl8180/rtl8180.ko.gz
kernel.tclocal/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192de/rtl8192de.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtl8723ae/rtl8723ae.ko.gz
kernel.tclocal/drivers/net/wireless/rtlwifi/rtlwifi.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl1251/wl1251.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl1251/wl1251_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl12xx/wl12xx.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wl18xx/wl18xx.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wlcore/wlcore.ko.gz
kernel.tclocal/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko.gz
kernel.tclocal/drivers/net/wireless/wl3501_cs.ko.gz
kernel.tclocal/drivers/net/wireless/zd1201.ko.gz
kernel.tclocal/drivers/net/wireless/zd1211rw/zd1211rw.ko.gz
kernel.tclocal/drivers/net/wireless/wl.ko.gz
kernel.tclocal/net/wireless/cfg80211.ko.gz
kernel.tclocal/net/wireless/lib80211.ko.gz
kernel.tclocal/net/wireless/lib80211_crypt_ccmp.ko.gz
kernel.tclocal/net/wireless/lib80211_crypt_tkip.ko.gz
kernel.tclocal/net/wireless/lib80211_crypt_wep.ko.gz
 

tc@box:/$ sudo modprobe -v rt73usb

Code: [Select]
tc@box:/$ lsmod
Module                  Size  Used by    Not tainted
rt73usb                20480  0
rt2x00usb              12288  1 rt73usb
rt2x00lib              28672  2 rt73usb,rt2x00usb
mac80211              155648  2 rt2x00usb,rt2x00lib
cfg80211              110592  2 rt2x00lib,mac80211
speedstep_lib          12288  0
cpufreq_stats          12288  0
cpufreq_powersave      12288  0
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
snd_intel8x0           20480  0
snd_ac97_codec         73728  1 snd_intel8x0
ac97_bus               12288  1 snd_ac97_codec
snd_pcm                49152  2 snd_intel8x0,snd_ac97_codec
snd_timer              20480  1 snd_pcm
snd                    36864  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              12288  1 snd
snd_page_alloc         12288  2 snd_intel8x0,snd_pcm
squashfs               24576 117
loop                   20480 234
ppdev                  12288  0
mperf                  12288  0
floppy                 45056  0
parport_pc             24576  0
parport                24576  2 ppdev,parport_pc
e100                   28672  0
lpc_ich                16384  0
microcode              12288  0
mfd_core               12288  1 lpc_ich
pcspkr                 12288  0
 

Code: [Select]
tc@box:/$ iwconfig
ip_vti0   no wireless extensions.

dummy0    no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

tunl0     no wireless extensions.

Code: [Select]
tc@box:/$ dmesg | tail -20
microcode: CPU1 sig=0xf41, pf=0x4, revision=0x9
microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
ppdev: user-space parallel port driver
tsc: Refined TSC clocksource calibration: 3000.501 MHz
Switching to clocksource tsc
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
loop: module loaded
Adding 511540k swap on /dev/zram0.  Priority:-1 extents:1 across:511540k SS
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Adding 511996k swap on /dev/sda3.  Priority:-2 extents:1 across:511996k
EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
snd_intel8x0 0000:00:1f.5: setting latency timer to 64
intel8x0_measure_ac97_clock: measured 53239 usecs (2565 samples)
intel8x0: clocking to 48000
e100 0000:03:08.0 eth0: NIC Link is Up 100 Mbps Full Duplex
cfg80211: Calling CRDA to update world regulatory domain
usbcore: registered new interface driver rt73usb
usb 1-3: new high-speed USB device number 2 using ehci-pci
usb 1-3: USB disconnect, device number 2
usb 1-3: new high-speed USB device number 3 using ehci-pci

Should I reboot first?

Here are the links from my CD firmware maybe this will help you identify which should I modprobe. Thanks.

http://www.4shared.com/zip/qVeQrrYnce/RT2870_Firmware_V22.html
http://www.4shared.com/file/W_HzKiUcba/2011_0225_RT5370_RT5372_Linux_.html
http://www.4shared.com/file/OjIeZ4ygba/2011_0719_RT3070_RT3370_RT5370.html
Title: Re: Ralink wifi cannot setup
Post by: georgp24 on April 14, 2014, 12:30:15 PM
Since I used Corelinux I had to add firmware-ralinkwifi.tcz, I guess Coreplus already comes with this firmware.

What you list seems to indicate that rt73usb is loaded, but I would just try to load it anyway with "sudo modprobe rt73usb". Maybe it then shows up with iwconfig.

You may also look at dmesg after some time again. I currently have trouble with a Broadcom wifi adapter. After booting the dmesg log looked ok for me, but after unsuccessfully running wifi.sh and other tools I looked at dmesg again and there were several errors reported.

I agree that this is probably not very helpful for you.
Title: Re: Ralink wifi cannot setup
Post by: georgp24 on April 14, 2014, 02:32:46 PM
You could also compile a  RT5370 usb driver as described here:
[Tutorial] Howto install ralink RT5370 wifi adapter: http://forum.stmlabs.com/showthread.php?tid=8333 (http://forum.stmlabs.com/showthread.php?tid=8333)
Title: Re: Ralink wifi cannot setup
Post by: Stone.Giant on April 21, 2014, 11:50:08 PM
Thanks for that info I'll try ASAP
Title: Re: Ralink wifi cannot setup
Post by: coreplayer2 on April 21, 2014, 11:56:25 PM
This is one of two files sent to you already, though from a different source.   Be nice to see if it or the new driver (compiled with rt5370 support) from the kernel source works with your adapter
Title: Re: Ralink wifi cannot setup
Post by: serhi999se on November 23, 2014, 04:47:32 PM
#!/bin/sh
modprobe rt2800usb
echo 148F 5370 > /sys/bus/usb/drivers/rt2800usb/new_id &
Title: Re: Ralink wifi cannot setup
Post by: Gera99 on December 21, 2016, 01:57:24 AM
Hi!

I do not understand exactly.
Eeveryone gave up :) or solved just i not understand something?

Because i have same problem.

PC: Dell Wyse r0x tinycore current iso stick: Tenda W311Ma
Code: [Select]
https://wikidevi.com/wiki/Tenda_W311MaTCz .: firmware-raliknwifi wifi usbutils wireless4.2.9-tinycore
installed

when i plug another port :
Dmesg write: usb 1-6: new high-speed USB device number 8 using ehci-pci

sudo  modprope -v  rt2800usb
Dmesg write: usbcore: registered new interface driver rt2800usb
but nothing.

Someone have idea or buy another adapter? (RTL)

Thanks
Title: Re: Ralink wifi cannot setup
Post by: curaga on December 21, 2016, 02:04:01 AM
Support for that chip, 5370, was still experimental (and still is as of 4.8), so it's disabled in our kernel.

You can either build a custom kernel, or get a better supported stick. Atheros ones are excellent.
Title: Re: Ralink wifi cannot setup
Post by: Gera99 on December 22, 2016, 12:40:08 PM
Ok Master.
Thanks for that info. 
Title: Re: Ralink wifi cannot setup
Post by: bmarkus on December 22, 2016, 01:47:13 PM
Is it supported by Windows? If yes you can try ndiswrapper.