WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 2 problem. How remove .tcz and ralink 5370 dont work  (Read 12685 times)

Offline JarlCarmen

  • Newbie
  • *
  • Posts: 10
2 problem. How remove .tcz and ralink 5370 dont work
« on: May 31, 2015, 01:11:58 PM »
Hellow i am newbi on tiny core. I used console i know how install .tcz but i dont have any idea how remove ap in console ?


Second problem is me wifi card. Tiny core dont see when i give console comand ifconfig.
On windows this card have that id:

USB\VID_148F&PID_5370&REV_0101
USB\VID_148F&PID_5370

I think this card is a ralink 5370.


I install

firmware.tcz
firmware-ralinkwifi.tcz
wireless-3.16.6-tinycore.tcz


but tiny core dont see this device when i give him ifconfig  ;(
When i give him ifconfig wlan0 up console give me that: SIOCGIFFLAGS: No such device



What i doing wrong ?


I am search about this problem but i have this same problem  like a @fangis
Code: [Select]
http://forum.tinycorelinux.net/index.php/topic,15909.0.html
Sory for me english :)
Thx for help :)



Tom

ps. Tiny is very cool distro ^^

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #1 on: May 31, 2015, 01:36:49 PM »
Hi JarlCarmen
Quote
... but i dont have any idea how remove ap in console ?
You don't. Remove the entry from  tce/onboot.lst  and reboot.

Quote
I install

firmware.tcz
firmware-ralinkwifi.tcz
wireless-3.16.6-tinycore.tcz
I'm not sure, but you may have to reboot after installing those.
If you enter:
Code: [Select]
ifconfig -adoes  wlan0  show up then? If it does, try:
Code: [Select]
sudo ifconfig wlan0 up
« Last Edit: May 31, 2015, 02:02:06 PM by Rich »

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #2 on: May 31, 2015, 01:49:42 PM »
Quote
how remove ap in console ?

Try the command  tce-audit .


Quote
I think this card is a ralink 5370.

To be sure which wifi device you have you can use the command  lspci .
This needs  pci-utils.tcz  to be installed.
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #3 on: May 31, 2015, 02:29:13 PM »
The ralink 5370 should be supported under rt2800usb driver.  (Ralink RT2070, RT2770, RT2870, RT3070, RT3071, RT3072, RT3370, RT3572, RT5370, RT5372, RT5572 devices (rt2800usb))

rt2800usb.ko.gz is found in wireless-3.16.6-tinycore.tcz

It's a USB device so you'll need usbutils.tcz installed to find more info.  then run  from the terminal " lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null "
then post appropriate result, for example:
Code: [Select]
tc@box:~$ lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null
...
Bus 003 Device 007: ID 0846:9021 NetGear, Inc. WNA3100M(v1) Wireless-N 300 [Realtek RTL8192CU]
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0
  iProduct                2 NETGEAR WNA3100M
      (Bus Powered)
...

Also please show output of last 25 lines of dmesg  eg: " dmesg | tail -25 "


« Last Edit: May 31, 2015, 02:41:47 PM by coreplayer2 »

Offline JarlCarmen

  • Newbie
  • *
  • Posts: 10
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #4 on: May 31, 2015, 03:09:37 PM »
Code: [Select]
tc@box:~$ ifconfig -a
dummy0    Link encap:Ethernet  HWaddr 46:41:AE:8C:AC:68
          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:1B:78:90:09:37
          inet addr:192.168.2.120  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2914 errors:0 dropped:4 overruns:0 frame:0
          TX packets:911 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:283174 (276.5 KiB)  TX bytes:142661 (139.3 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:1364  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: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)

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)




Code: [Select]
lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null
Bus 001 Device 005: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0
  iProduct                2 802.11 n WLAN
      (Bus Powered)
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0
  (Bus Powered)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 EHCI Host Controller
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 OHCI PCI host controller
Bus 002 Device 002: ID 1a2c:0002 China Resource Semico Co., Ltd
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0
  iProduct                2 USB Keykoard
      (Bus Powered)
  (Bus Powered)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 OHCI PCI host controller


Code: [Select]
dmesg | tail -25
floppy0: no floppy controllers found
work still pending
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
powernow: SGTC: 13333
powernow: Minimum speed 666 MHz. Maximum speed 1000 MHz.
Floppy drive(s): fd0 is unknown type 13 (usb?), fd1 is unknown type 13 (usb?)
tsc: Marking TSC unstable due to cpufreq changes
Switched to clocksource acpi_pm
floppy0: no floppy controllers found
work still pending
Floppy drive(s): fd0 is unknown type 13 (usb?), fd1 is unknown type 13 (usb?)
floppy0: no floppy controllers found
work still pending
Floppy drive(s): fd0 is unknown type 13 (usb?), fd1 is unknown type 13 (usb?)
floppy0: no floppy controllers found
work still pending
usb 1-6: USB disconnect, device number 3
usb 1-6: new high-speed USB device number 4 using ehci-pci
cfg80211: Calling CRDA to update world regulatory domain
usbcore: registered new interface driver rt2800usb
usb 1-6: USB disconnect, device number 4
usb 1-1: new high-speed USB device number 5 using ehci-pci
Floppy drive(s): fd0 is unknown type 13 (usb?), fd1 is unknown type 13 (usb?)
floppy0: no floppy controllers found
work still pending



Code: [Select]

tc@box:~$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] LPC Controller (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2/3 SMBus controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 AC'97 Sound Controller (rev a0)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:0a.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 8d)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter


info about hardware. lsusb  see. lspci not see. Dmesg no see.



« Last Edit: May 31, 2015, 03:17:42 PM by JarlCarmen »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
2 problem. How remove .tcz and ralink 5370 dont work
« Reply #5 on: May 31, 2015, 05:20:13 PM »
Code: [Select]
lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null
Bus 001 Device 005: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0
  iProduct                2 802.11 n WLAN
      (Bus Powered)
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol         0
  (Bus Powered)
Here it is

Quote
Code: [Select]
dmesg | tail -25
usb 1-6: USB disconnect, device number 3
usb 1-6: new high-speed USB device number 4 using ehci-pci
cfg80211: Calling CRDA to update world regulatory domain
usbcore: registered new interface driver rt2800usb
And dmesg shows the driver installed

Try iwconfig and have you loaded and run wifi.tcz to connect to your AP?


Sent from my iPhone using Tapatalk
« Last Edit: May 31, 2015, 05:38:21 PM by coreplayer2 »

Offline JarlCarmen

  • Newbie
  • *
  • Posts: 10
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #6 on: June 01, 2015, 05:17:40 AM »
I add
modprobe rt2800lib
modprobe rt2800usb

to bootlocal in opt

and install wifi.tcz


+filetools -b



Code: [Select]


tc@box:~$ iwconfig wlan0
wlan0     No such device


any idea ?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #7 on: June 01, 2015, 05:43:30 AM »
Your wireless card is supported in the kernel, but only experimentally (potentially unstable), and so is disabled in our config. You have two options:
1) custom kernel
2) another wireless card
The only barriers that can stop you are the ones you create yourself.

Offline JarlCarmen

  • Newbie
  • *
  • Posts: 10
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #8 on: June 01, 2015, 06:43:19 AM »
Option 1.

 How change kernel  and what custom kernel have support me wifi card ?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #9 on: June 01, 2015, 08:13:01 AM »
You would compile the kernel source after changing the config to support your wireless card.

An easy way is to install  linux-kernel-sources-env.tcz  and run the  linux-kernel-sources-env.sh  script. This will download and prepare the correct kernel source that Tiny Core is using at, f.e.  /usr/src/linux-3.16.6/ .
Then open a terminal and run
Code: [Select]
cd /usr/src/linux-3.16.6
make menuconfig
to see the options that can be changed. Many of the options have a detailed description.

When you're done configuring, run
Code: [Select]
make bzImage
(I think bc.tcz is required for compiling too)

The new custom kernel will be located at  /usr/src/linux-3.16.6/arch/x86/boot/bzImage .
You can rename it to  vmlinuz  and replace the original.

Here is some more info
http://wiki.tinycorelinux.net/wiki:custom_kernel

Download a copy and keep it handy: Core book ;)

Offline JarlCarmen

  • Newbie
  • *
  • Posts: 10
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #10 on: June 01, 2015, 10:18:36 AM »
Code: [Select]
tc@box:/usr/src/linux-3.16.6$ make menuconfig
Makefile:358: scripts/Kbuild.include: No such file or directory
make: *** empty variable name.  Stop.
Makefile:454: recipe for target 'scripts_basic' failed
make: *** [scripts_basic] Error 2



Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #11 on: June 01, 2015, 10:27:36 AM »
Do you have bash, perl5, ncurses-dev and bc loaded?

Offline JarlCarmen

  • Newbie
  • *
  • Posts: 10
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #12 on: June 01, 2015, 07:11:58 PM »
yes all load

Code: [Select]
tc@box:/usr/src/linux-3.16.6$
tc@box:/usr/src/linux-3.16.6$ tce-load -w -i bash
bash is already installed!
tc@box:/usr/src/linux-3.16.6$ tce-load -w -i perl5
perl5 is already installed!
tc@box:/usr/src/linux-3.16.6$ tce-load -w -i ncurses-dev
ncurses-dev is already installed!
tc@box:/usr/src/linux-3.16.6$ tce-load -w -i bc
bc is already installed!



I search on youtube but i see only this

Code: [Select]
https://youtu.be/1AnKuuuyIZc


How update ready to use kernel dont how create personal custom.

Me kernel is:
Code: [Select]
uname -a
Linux box 3.16.6-tinycore #777 SMP Thu Oct 16 09:42:42 UTC 2014 i686 GNU/Linux
« Last Edit: June 01, 2015, 07:40:10 PM by JarlCarmen »

Offline JarlCarmen

  • Newbie
  • *
  • Posts: 10
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #13 on: June 02, 2015, 08:28:23 AM »
sory edit dont allow.

Maybe on me instalation is a problem?

I write about me instalation tiny on this topic:

Code: [Select]
http://forum.tinycorelinux.net/index.php/topic,15181.0.html

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: 2 problem. How remove .tcz and ralink 5370 dont work
« Reply #14 on: June 02, 2015, 12:52:42 PM »
Maybe you ran out of RAM? In that case you should unpack the kernel on a HD.
The only barriers that can stop you are the ones you create yourself.