WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Ralink wifi cannot setup
« on: March 15, 2014, 06: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?

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5430
Re: Ralink wifi cannot setup
« Reply #1 on: March 15, 2014, 09: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.

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5430
Re: Ralink wifi cannot setup
« Reply #2 on: March 15, 2014, 09:21:01 PM »
Hi Stone.Giant
You also need to install  wireless-3.8.10-tinycore.tcz  if you haven't done so already.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Re: Ralink wifi cannot setup
« Reply #3 on: March 18, 2014, 09: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
« Last Edit: March 18, 2014, 09:32:49 AM by Rich »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4247
Re: Ralink wifi cannot setup
« Reply #4 on: March 18, 2014, 09: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.

Offline Stone.Giant

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


Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 2514
Re: Ralink wifi cannot setup
« Reply #6 on: March 18, 2014, 10:00:00 AM »
to show required output try   dmesg | tail -25 

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Ralink wifi cannot setup
« Reply #7 on: March 18, 2014, 01:08:34 PM »
Try rt2800usb
"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 #8 on: March 19, 2014, 08: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

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 101
Re: Ralink wifi cannot setup
« Reply #9 on: March 19, 2014, 08: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)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 2514
Re: Ralink wifi cannot setup
« Reply #10 on: March 19, 2014, 09: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
« Last Edit: March 19, 2014, 09:42:15 AM by coreplayer2 »

Offline Stone.Giant

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




Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 2514
Re: Ralink wifi cannot setup
« Reply #12 on: March 20, 2014, 09: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 " ?
« Last Edit: March 20, 2014, 10:17:50 AM by coreplayer2 »

Offline Stone.Giant

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

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Ralink wifi cannot setup
« Reply #14 on: March 20, 2014, 02: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
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)