WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: No ethernet connection, need to get wifi working  (Read 16893 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No ethernet connection, need to get wifi working
« Reply #15 on: July 03, 2014, 09:53:17 PM »
If you installed to a drive using the tc-install app from coreplus cd and you were successful in booting it to a desktop then chances are good that you have most of the extensions needed


Offline staycoldb

  • Newbie
  • *
  • Posts: 14
Re: No ethernet connection, need to get wifi working
« Reply #16 on: July 03, 2014, 10:28:56 PM »
Ya? I have the bootable USB and I installed TC from it to the hdd. I installed the FLWM version. When you first boot from the TC image it gives you a list of different ways to boot into TC, I chose that and installed it to the hard drive using the TC installer.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No ethernet connection, need to get wifi working
« Reply #17 on: July 03, 2014, 11:29:57 PM »
is there a WIFI icon on the desktop wbar ?  then select it

if not you can load it by using  " tce-load -i wifi " at the terminal,  then select it or type " sudo wifi.sh "

if a terminal screen appears then disappears after a few seconds then we need to see the output of " dmesg | tail -25 " copy and past that to a file and post it here, which can be a little tricky for those new to linux

one extension you might find useful is fluff  a lightweight file manager  install it using the same technique used earlier, while you are downloading files i'd download and copy to tce/optional directory  firmware-rtlwifi.tcz and wl-r8192cu-3.8.13-tinycore.tcz  be careful not to have them both loaded at the same time as they conflict with each other.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: No ethernet connection, need to get wifi working
« Reply #18 on: July 04, 2014, 04:10:55 AM »
When you installed, did you tick the box for wifi support?
The only barriers that can stop you are the ones you create yourself.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No ethernet connection, need to get wifi working
« Reply #19 on: July 04, 2014, 09:50:44 AM »
Otherwise you'll need these extensions/files from your usb stick copied over to the drive's /tce/optional store

wifi.tcz
wifi.tcz.dep
wireless_tools.tcz
wireless_tools.tcz.dep
libiw.tcz
wireless-3.8.13-tinycore.tcz
wpa_supplicant.tcz
wpa_supplicant.tcz.dep
openssl-1.0.0.tcz
libnl.tcz


then get this extension from  http://tinycorelinux.net/5.x/x86/tcz/firmware-rtlwifi.tcz
firmware-rtlwifi.tcz

also place in same store wih other extensions above

load them all using tce-load -i firmware-rtlwifi wifi

then what is the result of  sudo wifi.sh  from the terminal?


Offline staycoldb

  • Newbie
  • *
  • Posts: 14
Re: No ethernet connection, need to get wifi working
« Reply #20 on: July 04, 2014, 03:16:13 PM »
When you installed, did you tick the box for wifi support?

Yes I did.

Offline staycoldb

  • Newbie
  • *
  • Posts: 14
Re: No ethernet connection, need to get wifi working
« Reply #21 on: July 04, 2014, 03:27:08 PM »
is there a WIFI icon on the desktop wbar ?  then select it

if not you can load it by using  " tce-load -i wifi " at the terminal,  then select it or type " sudo wifi.sh "

if a terminal screen appears then disappears after a few seconds then we need to see the output of " dmesg | tail -25 " copy and past that to a file and post it here, which can be a little tricky for those new to linux

one extension you might find useful is fluff  a lightweight file manager  install it using the same technique used earlier, while you are downloading files i'd download and copy to tce/optional directory  firmware-rtlwifi.tcz and wl-r8192cu-3.8.13-tinycore.tcz  be careful not to have them both loaded at the same time as they conflict with each other.

Ya, when I click the wifi icon I get the disappearing terminal window. Here is a screenshot of the output from that dmesg command:


Offline staycoldb

  • Newbie
  • *
  • Posts: 14
Re: No ethernet connection, need to get wifi working
« Reply #22 on: July 04, 2014, 03:42:41 PM »
Otherwise you'll need these extensions/files from your usb stick copied over to the drive's /tce/optional store

wifi.tcz
wifi.tcz.dep
wireless_tools.tcz
wireless_tools.tcz.dep
libiw.tcz
wireless-3.8.13-tinycore.tcz
wpa_supplicant.tcz
wpa_supplicant.tcz.dep
openssl-1.0.0.tcz
libnl.tcz


then get this extension from  http://tinycorelinux.net/5.x/x86/tcz/firmware-rtlwifi.tcz
firmware-rtlwifi.tcz

also place in same store wih other extensions above

load them all using tce-load -i firmware-rtlwifi wifi

then what is the result of  sudo wifi.sh  from the terminal?

I installed firmware-rtlwifi wifi and the output from sudo wifi.sh was 'No wifi devices found!'

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No ethernet connection, need to get wifi working
« Reply #23 on: July 04, 2014, 04:57:43 PM »
H'mmm..    good job 

as seen in the dmesg result seems like we have an issue with the firmware location (maybe my bad...)

ok the quick fix I think is

unload the driver
Code: [Select]
sudo modprobe -r rtl8192cu to verify is not loaded check
Code: [Select]
lsmod 
then copy the firmware to it's expected location
Code: [Select]
sudo cp /usr/local/lib/firmware/rtlwifi/rtl8192cufw.bin /lib/firmware/rtlwifi/rtl8192cufw.bin
load the driver and try again
Code: [Select]
sudo modprobe rtl8192cu
sudo wifi.sh

If the driver finds and loads the firmware this time, then temporarily add /lib/firmware/rtlwifi/rtl8192cufw.bin to your backup
« Last Edit: July 04, 2014, 05:16:17 PM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No ethernet connection, need to get wifi working
« Reply #24 on: July 04, 2014, 05:13:15 PM »
Additionally I noticed in the dmesg result the firmware for the Ethernet device is not installed.  If needed you can install firmware-intel_e100.tcz 

Offline staycoldb

  • Newbie
  • *
  • Posts: 14
Re: No ethernet connection, need to get wifi working
« Reply #25 on: July 04, 2014, 05:24:37 PM »
I just executed
Code: (bash) [Select]
sudo modprobe -r rtl8192cu and now the keyboard is flashing and the terminal window seems to have frozen at that command so I can't enter a new command. and I can't move the mouse....

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No ethernet connection, need to get wifi working
« Reply #26 on: July 04, 2014, 05:31:41 PM »
The idea is to have the firmware installed first then when the driver will find it when it loads


Sent from my iPhone using Tapatalk

Offline staycoldb

  • Newbie
  • *
  • Posts: 14
Re: No ethernet connection, need to get wifi working
« Reply #27 on: July 04, 2014, 05:41:04 PM »
Here's what lsmod gives me:


Offline staycoldb

  • Newbie
  • *
  • Posts: 14
Re: No ethernet connection, need to get wifi working
« Reply #28 on: July 04, 2014, 05:43:57 PM »
So, that means the driver is loaded and needs unloaded right? I just tried to unload the driver again with the command you gave me and now my peripherals are all frozen again and inoperable..

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No ethernet connection, need to get wifi working
« Reply #29 on: July 04, 2014, 06:01:21 PM »
Here the driver shows as loaded.  however the previous dmesg indicated the firmware for the device was not loaded.  The driver needs to find the firmware when it loads.

check the dmesg again to verify if firmware rtl8192cufw.bin has been found by the driver, else I suggest  copying the firmware to /lib/firmware/rtlwifi/rtl8192cufw.bin (why it's not being found is bewildering my at the moment..)

Code: [Select]
sudo cp /usr/local/lib/firmware/rtlwifi/rtl8192cufw.bin /lib/firmware/rtlwifi/rtl8192cufw.bin
then add /lib/firmware/rtlwifi/rtl8192cufw.bin to your backup and reboot

then when the driver loads it should find the firmware and be ready for use


next question I guess is how to backup??


edit: made some edits here
« Last Edit: July 04, 2014, 06:24:55 PM by coreplayer2 »