Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: Chixiran on November 01, 2009, 10:24:02 AM

Title: help : how to install this driver? thanks.
Post by: Chixiran on November 01, 2009, 10:24:02 AM
it is a wifi driver:

http://www.tenda.com.cn/uploadfile/downloads/uploadfile/200809/20080909023842277.rar
Title: Re: help : how to install this driver? thanks.
Post by: jls on November 01, 2009, 10:34:22 AM
I think it's enough to put rt73.bin in /lib/firmware and install/mount wireless-2.6.29.1-tinycore.tczm and wireless_tools.tczl
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 01, 2009, 11:31:25 AM
how can i get rt73.bin?thks.
Title: Re: help : how to install this driver? thanks.
Post by: jls on November 01, 2009, 12:45:01 PM
is not in the rar file?
U can check the missing file issuing
Code: [Select]
dmesg after u
Code: [Select]
sudo ifconfig wlan0 up and
Code: [Select]
iwlist wlan0 scanning
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 02, 2009, 06:24:53 AM
not in rar file.

this rar file is c code file.
Title: Re: help : how to install this driver? thanks.
Post by: jls on November 02, 2009, 06:46:40 AM
it is in the rar file
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 02, 2009, 07:04:57 AM
i do it follow you,but it do not work.

"sudo ifconfig wlan0 up" command result is "ifconfig:SIOCGIFFLAGS:NO such device"

thks.
Title: Re: help : how to install this driver? thanks.
Post by: jls on November 02, 2009, 08:01:39 AM
what "says" dmesg?
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 02, 2009, 08:07:54 AM
it "says" many words. but i do not know how to copy them here
Title: Re: help : how to install this driver? thanks.
Post by: Juanito on November 02, 2009, 09:57:37 AM
it "says" many words. but i do not know how to copy them here

Highlight the text you wish to copy with the mouse and then paste with the middle mouse button or, if you have a two-button mouse, paste by clicking both buttons at the same time.
Title: Re: help : how to install this driver? thanks.
Post by: combo3 on November 02, 2009, 10:19:22 AM
I have posted the instructions before over here:

http://forum.tinycorelinux.net/index.php?topic=2906.msg14930#msg14930

Assuming you've already unrared the file, start at step #5.

Edit: one small change...

cd to the directory you unpacked into and type:

sudo cp rt73.bin  /lib/firmware

[^thehatsrule^: fixed link]
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 02, 2009, 10:46:30 AM
i do it follow you. but "sudo ifconfig wlan0 up" result is  "ifconfig:SIOCGIFFLAGS:No such device",

ps: my wifi device is a usb wifi device.
Title: Re: help : how to install this driver? thanks.
Post by: combo3 on November 02, 2009, 10:58:58 AM
What USB WIFI device are you using?

To help diagnose your problem,

Install extension: usb-utils.tcz

Open a terminal and enter:

lsusb

Copy and post the results.

Then enter:

dmesg | tail -20

and post those results.
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 02, 2009, 11:32:29 AM
info
Title: Re: help : how to install this driver? thanks.
Post by: combo3 on November 02, 2009, 11:57:16 AM
Going over the dmesg output, it appears no wireless modules are loaded.

Did you install wireless_tools.tczl ?
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 03, 2009, 06:38:18 AM
yes ,i had installed wireless_tools.tczl
Title: Re: help : how to install this driver? thanks.
Post by: combo3 on November 03, 2009, 10:35:25 AM
Run the following:

lsmod > lsmod.txt

and post the lsmod.txt file.
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 03, 2009, 10:57:27 AM
the driver readme file says:

=======================================================================
Build Instructions: 
====================
1> $tar -xvzf RT73_Linux_STA_Drv_x.x.x.x.tar.gz
    go to "./RT73_Linux_STA_Drv_x.x.x.x/Module" directory.
   
2> $cp Makefile.4  ./Makefile       # [kernel 2.4]
    or
   $cp Makefile.6  ./Makefile       # [kernel 2.6]
   
3> [kernel 2.4]
    $chmod 755 Configure
    $make config         # config build linux os version

4> $make all            # compile driver source code

5> $cp rt73.bin /etc/Wireless/RT73STA/       # copy firmware
 
6>  $dos2unix rt73sta.dat
    $cp rt73sta.dat  /etc/Wireless/RT73STA/rt73sta.dat       
    # !!!check if it is a binary file before loading !!! 
   
7> $load               
    #[kernel 2.4]
    #    $/sbin/insmod rt73.o
    #    $/sbin/ifconfig rausb0 inet YOUR_IP up
       
    #[kernel 2.6]
    #    $/sbin/insmod rt73.ko
    #    $/sbin/ifconfig rausb0 inet YOUR_IP up

when do 4>,error happen:
make:*** /lib/modules/2.6.29-1tinycore/build:No such file or directory.Stop.

makefile see attach file.
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 03, 2009, 11:00:27 AM
lsmod.txt
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 03, 2009, 11:29:23 AM
when i create a dir "build" in "/lib/modules/2.6.29-1tinycore/", make all is still error:

No rule to make target 'modules'. Stop.

can someone help me revise the makefile for tonycore?

the driver codes, you can get from the first post.

thanks.
Title: Re: help : how to install this driver? thanks.
Post by: combo3 on November 03, 2009, 12:35:19 PM
Install -  linux-headers-2.6.29.1-tinycore.tcz
Title: Re: help : how to install this driver? thanks.
Post by: combo3 on November 03, 2009, 01:05:00 PM
lsmod.txt

lsmod shows nothing other than your RealTek ethernet card.

It seems your Ralink RT2070 USB device is not included in wireless-2.6.29.1-tinycore.tczm so you will have to compile.
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 04, 2009, 06:35:26 AM
can you help me compile this driver?

there are many errors,and i do not know how to resolve them. thanks.
Title: Re: help : how to install this driver? thanks.
Post by: Juanito on November 04, 2009, 08:07:04 AM
If you could post or attach the errors it would help us help you.

Some things to check:

1. compiletc, perl5 and bash extensions are loaded
2. linux-headers-2.6.29.1-tinycore extension is loaded
Title: Re: help : how to install this driver? thanks.
Post by: Chixiran on November 04, 2009, 08:15:05 AM
2. had been installed.

i fix one, and another one occur.

now, i try it follow you.
Title: Re: help : how to install this driver? thanks.
Post by: alexsad on April 11, 2010, 01:40:28 PM
First, sorry for my bad English (I'm brasilian).
Second, I have the same problem and I have made one topic about this here.
http://forum.tinycorelinux.net/index.php?topic=5571.0 (http://forum.tinycorelinux.net/index.php?topic=5571.0)
Post there so we can do any anything about this.