WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #60 on: June 24, 2011, 04:43:42 AM »
the connection is excellent,  solid and at 100% it does not flinch.   cool I can't thank you guys enough.   for me this task has been day in day out for almost three weeks.

pity the the wifi.tcz extension didn't appear to flush the tables then bring up the device which Wicd network manager accomplished without an issue.  Maybe the wifi app would function from a reboot without and previous connection.  


of course the extension still needs to be remade with the ideal path.      

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #61 on: June 24, 2011, 04:54:23 AM »
Try this - somewhat longwinded and assuming you have not rebooted, but it will get the job done:
Code: [Select]
$ mkdir /tmp/pkg
$ cd /tmp/pkg
$ sudo tar -czvf realtec.tce --numeric-owner /usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless/8712u.ko.gz
$ sudo tar xzf realtec.tce
$ sudo rm realtec.tce
$ cd ..
$ sudo mksquashfs pkg/ 8712u.tcz
$ sudo chown tc:staff 8712u.tcz
$ cp 8712u.tcz /path-to-a-safe-place

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #62 on: June 24, 2011, 05:00:20 AM »
already had chromium installed in anticipation of success :)   browses the web just fine  thanks again Juanito and not forgetting maro, rich and especially SamK for heading me in the right direction.

the fat lady isn't singing yet though because I still have to learn the correct path for the module to be copied too and then recreate the extension.



Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #63 on: June 24, 2011, 05:02:57 AM »
..I still have to learn the correct path for the module to be copied too and then recreate the extension.

The correct path for the module is in the post above.

If you drop me a pm, I can send you the extension I made.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #64 on: June 24, 2011, 05:14:41 AM »
You type too fast :)    I see the path and I'm sure this is the path I used earlier,  only that I used xfe to create the directories and copy the driver with, then I fear I may have entered the directory above where I should have been located to make the extension from.

doh!!


ok am running your commands from above post now :)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #65 on: June 24, 2011, 05:21:44 AM »
ok where did I go wrong with this?

Code: [Select]
tc@box:/tmp/pkg$ sudo tar -czvf realtec.tce --numeric-owner /usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless
/8712u.ko.gz
tar: Removing leading `/' from member names
tar: /usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless/8712u.ko.gz: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tc@box:/tmp/pkg$




Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #66 on: June 24, 2011, 05:32:01 AM »
I don't know, but do this:
Code: [Select]
$ sudo mkdir -p /usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless
$ sudo cp /path-to-file/8712u.ko.gz /usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless

..and then go back to the start of the previous instructions - i.e. "mkdir /tmp/pkg", etc

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #67 on: June 24, 2011, 05:41:22 AM »
I think I got it..  the file name is rtl8712.ko.gz   currently  ::)


am here now
Code: [Select]
tc@box:/tmp/pkg$ sudo tar -czvf realtec.tce --numeric-owner /usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless
/rtl8712u.ko.gz
tar: Removing leading `/' from member names
/usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless/rtl8712u.ko.gz
tc@box:/tmp/pkg$ sudo tar xzf realtec.tce
tc@box:/tmp/pkg$ sudo rm realtec.tce
tc@box:/tmp/pkg$ cd ..
tc@box:/tmp$ sudo mksquashfs pkg/rtl8712u.tcz
sudo: mksquashfs: command not found
tc@box:/tmp$

I forgot, I'd put squashfs in On-Demand  so I could load it at will,   as onboot would not load when needed or would have to reboot
« Last Edit: June 24, 2011, 05:47:02 AM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #68 on: June 24, 2011, 05:55:50 AM »
Code: [Select]
tc@box:/tmp$ sudo mksquashfs pkg/rtl8712u.tcz
SYNTAX:mksquashfs source1 source2 ...  dest [options] [-e list of exclude
dirs/files]
etc etc long list of options

but I think I need to cd to wireless directory or provide an extension name ??


disregard,  all that was needed was a space between source and destination :)
« Last Edit: June 24, 2011, 06:10:20 AM by coreplayer2 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #69 on: June 24, 2011, 06:09:48 AM »
The command is:
Code: [Select]
$ sudo mksquashfs pkg/ rtl8712u.tcz
i.e. there is a space between "pkg/" and "rtl8712u.tcz"

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #70 on: June 24, 2011, 06:10:43 AM »
lol lol  I type too slow!!

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #71 on: June 24, 2011, 06:18:06 AM »
I caught the error thanks   am now ready to reboot since the extension is in the optional directory and set to load at boot
« Last Edit: June 24, 2011, 06:21:26 AM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #72 on: June 24, 2011, 07:04:13 AM »
Well I thank you again for all your help.  I have to get some sleep and hit this again tomorrow.    After the reboot no dice, no wifi devices yet the driver is listed as installed.  Same as before, driver can not be found anywhere..    even rebooted with the extension you sent me and that is same, can not be found. 

I saw an error message flash by quickly during boot of something not initialized.  It is clear the extensions are not installing into the correct location in the file system.

good night.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #73 on: June 24, 2011, 01:50:37 PM »
Ok am ready to hit this again.    

all the extensions we made yesterday load as expected, yet when we drill down to the expected location the actual driver does not exist.

 This is the expected location right?
/usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless/8712u.ko.gz

The file 8712u.ko.gz does not exist at this location, and issuing the command "sudo modprobe 8712u"  produces "module 8712u not found" after booting with each of the three extensions we made yesterday.



« Last Edit: June 24, 2011, 02:49:21 PM by coreplayer2 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11702
Re: Realtek Wireless firmware extention help?
« Reply #74 on: June 24, 2011, 03:42:37 PM »
Hi coreplayer2

Try this,  sudo find / -iname 8712u.ko.gz
If it's anywhere on your system, that should tell you where it is.