WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Ralink wifi cannot setup  (Read 8289 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 2436
Re: Ralink wifi cannot setup
« Reply #15 on: March 20, 2014, 03:04:39 PM »
Looks like tinypoodle has got this, it appears the driver is rt2x00usb.ko

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Ralink wifi cannot setup
« Reply #16 on: March 20, 2014, 03:42:46 PM »
rt2x00usb is a dependency of rt2800usb, so I'd expect it to get loaded automatically.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Re: Ralink wifi cannot setup
« Reply #17 on: March 21, 2014, 07: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.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Re: Ralink wifi cannot setup
« Reply #18 on: March 21, 2014, 07: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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9252
Re: Ralink wifi cannot setup
« Reply #19 on: March 21, 2014, 09:56:08 AM »
Once you set the boot bode "syslog" the system messages are in /var/log/messages

Offline volkerp

  • WikiUser
  • *
  • Posts: 47
Re: Ralink wifi cannot setup
« Reply #20 on: March 22, 2014, 12: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.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 2436
Re: Ralink wifi cannot setup
« Reply #21 on: March 22, 2014, 05: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

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Re: Ralink wifi cannot setup
« Reply #22 on: April 07, 2014, 11:52:02 PM »
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

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Re: Ralink wifi cannot setup
« Reply #23 on: April 08, 2014, 12: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.


Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 2436
Re: Ralink wifi cannot setup
« Reply #24 on: April 08, 2014, 08: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

« Last Edit: April 08, 2014, 08:19:04 AM by coreplayer2 »

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Re: Ralink wifi cannot setup
« Reply #25 on: April 08, 2014, 03:52:30 PM »
It returned a null...

root@box:/home/tc# modinfo rt2800usb | grep 5370

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Re: Ralink wifi cannot setup
« Reply #26 on: April 08, 2014, 03: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


Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5300
Re: Ralink wifi cannot setup
« Reply #27 on: April 08, 2014, 04:46:02 PM »
Hi Stone.Giant
Please use code tags when posting commands and their results.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 2436
Re: Ralink wifi cannot setup
« Reply #28 on: April 08, 2014, 06: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

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Re: Ralink wifi cannot setup
« Reply #29 on: April 09, 2014, 03: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.
« Last Edit: April 09, 2014, 11:45:37 AM by Rich »