WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Realtek Wireless firmware extention help?  (Read 30724 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Realtek Wireless firmware extention help?
« on: June 23, 2011, 05:02:21 AM »
I'm in desperate need of firmware/extention for a Realtek USB wireless b/g/n adapter.  So far I've really struggled for close on three weeks attempting every trick I can find before inevitably compiling from source.  

At some point I was able to create an ndiswrapper with WinXP drivers on an earlier tinycore build which did at least function reliably, although was a little high on cpu resources unfortunately.   Since then I haven't been able to duplicate the same configuration.  Anyhow the issue with the current ndiswrapper is not being able to connect or stay connected for very long, appears to be a driver/firmware issue.  

Attempted the new wifi extension over the last couple of days, also without any success.  "Fails to get an IP address." then times out.  I don't know if the script flushes the routing tables etc etc post failed connection which leaves you a reboot available to start over.

When booted to a puppy linux distro the wireless adapter functions 100% without any extra work on the same PC.   With the script available here to convert deb files to tcz extensions I grabbed the driver form this distro and attempted to convert it, without any success.


This bring me to a decision point, I think the only reliable method of connection is to compile the correct firmware/driver.  So I grabbed the driver/firmware source for the rtl8192su from
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false
and installed "compiletc" & "squachfs-tools-4".   The source came with a makefile but no configure file.  

The first hurdle:  running either make or ./make results in  "file not found!!"

any suggestions welcome please?


« Last Edit: June 23, 2011, 06:34:55 PM by coreplayer2 »

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Realtek Wireless firmware extention help?
« Reply #1 on: June 23, 2011, 05:41:01 AM »
Hi coreplayer2,

The first hurdle:  running either make or ./make results in  "file not found!!"

any suggestions welcome please?
This may help: http://forum.tinycorelinux.net/index.php?topic=7219.0
Is the linux-headers extension the cause as mentioned in reply #13?
   

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #2 on: June 23, 2011, 06:00:31 AM »
Thanks SamK  that link was extremely informative.   Darn it I forgot about the headers!!!  what is a newbie like me to do?  Will get right on it asap

thanks again SamK



meanwhile I still get file not found!! :(
« Last Edit: June 23, 2011, 06:15:13 AM by coreplayer2 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11576
Re: Realtek Wireless firmware extention help?
« Reply #3 on: June 23, 2011, 10:16:28 AM »
Hi coreplayer2

The extension you are looking for is called compiletc.tcz. It includes all the tools and the headers.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #4 on: June 23, 2011, 10:53:02 AM »
Ah yes I am aware of this extension and already have it installed thanks.    In addition I used the tce-load command to confirm "make" was installed which is part of compiltc   

but still no joy,  how hard can this be?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11576
Re: Realtek Wireless firmware extention help?
« Reply #5 on: June 23, 2011, 11:07:39 AM »
Hi coreplayer2

If you type  /usr/local/bin/make  does it find it then?
If it does then your path is not set correctly, if not, then compiletc is not installed correctly.
« Last Edit: June 23, 2011, 11:38:46 AM by Rich »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #6 on: June 23, 2011, 11:36:58 AM »
Was thinking it had only to be a path issue

brb

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11576
Re: Realtek Wireless firmware extention help?
« Reply #7 on: June 23, 2011, 11:40:56 AM »
Hi coreplayer2

Quote
Was thinking it had only to be a path issue

So did it find  make  when you gave the full path?

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Realtek Wireless firmware extention help?
« Reply #8 on: June 23, 2011, 11:43:50 AM »
but still no joy,  how hard can this be?
A couple of ideas...

This wiki page is helpful:
http://wiki.tinycorelinux.net/wiki:creating_extensions

After unzipping the download there is a driver directory.  In this there is a further .tar.gz, unpack this also.  This will create yet a further directory.  Change (cd) into this directory then follow the steps in the wiki.
   

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #9 on: June 23, 2011, 01:09:09 PM »
Thanks guys  but still no cigar :(

given the full path i still get "not found"  Although there is a difference, instead of "file not found" the command "/usr/local/bin/make"  returns "not found"

currently uninstalling compiletc and reinstalling   I just have to rig up a wired connection
« Last Edit: June 23, 2011, 01:34:38 PM by coreplayer2 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11576
Re: Realtek Wireless firmware extention help?
« Reply #10 on: June 23, 2011, 01:45:39 PM »
Hi coreplayer2

Exactly what I was going to suggest.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #11 on: June 23, 2011, 02:15:09 PM »
I wish I could copy and paste the results I get from the terminal but that doesn't appear to function either.

meanwhile

the error now is something like this

make *** /lib/modules/2.6.33.3-tinycore/build: No such file or directory, stop.
make *** [ALL] Error 2


Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #12 on: June 23, 2011, 02:18:10 PM »
using these commands from the directory where the makefile is located the result is the same

/usr/local/bin/make
./make
 
from root or not

The good news is if I type "make -h"  at the prompt, make returns all options


We shouldn't have to specify the file right?  like "make -f makefile"    ?
« Last Edit: June 23, 2011, 02:33:44 PM by coreplayer2 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11576
Re: Realtek Wireless firmware extention help?
« Reply #13 on: June 23, 2011, 02:32:45 PM »
Hi coreplayer2

All you should have to do is  cd  into the directory containing makefile of the project you are trying
to compile and type  make
If the makefile is called something besides  makefile  or  Makefile  you need to specify the file name.


Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #14 on: June 23, 2011, 02:35:29 PM »
I typed the error in second post above if we open a terminal at the location of the makefile