WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] Wifi on TinyCore64 is not working properly  (Read 11116 times)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: Wifi on TinyCore64 is not working properly
« Reply #15 on: July 22, 2020, 07:50:18 PM »
Hi minux,

After reading your posts, I think I need to say you some things
1) You cannot use x86 tcz on x64.
2) There is no Corepureplus64 ISO that has wifi modules like the x86 Coreplus ISO.

To install the x64 bit TCL, do the below things (I have also assumed that you have a working x86 TCL) :
Inside the currently working x86 TCL, do
1) Get vmlinuz64 and corepure64.gz from here :
     http://repo.tinycorelinux.net/11.x/x86_64/release/distribution_files/
2) Make a folder "tce64" beside the folder of x86 tce in that partition.
3) Make folders "boot" and "optional" inside tce64
4) Place the vmlinuz64 and corepure64.gz inside boot
5) Follow this (a little modified from original) :
...
cd  into tce64/optional and download the script available here:
http://forum.tinycorelinux.net/index.php/topic,23034.0.html

Edit the script to change this:
Code: [Select]
# Tinycore version
TC="10.x"

# Processor architecture, current options are  x86  x86_64  armv6  armv7
ARCH="x86"

To this:
Code: [Select]
# Tinycore version
TC="11.x"

# Processor architecture, current options are  x86  x86_64  armv6  armv7
ARCH="x86_64"

The script assumes nothing about your system. Any extension name containing  KERNEL  or  5.4.3-tinycore  will not be found. You will need to run the script again for those extensions, for example:
Code: [Select]
./FetchExt.sh wireless-5.4.3-tinycore64to fetch the 64 bit version.

Replace wireless-5.4.3-tinycore64 with the extension names required. Note: Do not include the ".tcz" file  extension in FetchExt script.
...
6) Modify the bootloader to boot the vmlinuz64 as kernel and corepure64.gz as initrd.

After this, boot and you will have your x64 system setup. If desired, you can remove the x86 TCL folder.
« Last Edit: July 22, 2020, 07:54:46 PM by Sashank999 »

minux

  • Guest
Re: Wifi on TinyCore64 is not working properly
« Reply #16 on: July 22, 2020, 08:24:32 PM »
First you need to confirm what wifi hardware you have using the "lspci"  command from the pciutils extension.

Assuming you have intel wifi hardware, you need to reboot without any firmware or wifi extensions "onboot" and then use the following commands:
Code: [Select]
$ tce-load -i firmware-iwlwifi wifi
$ sudo wifi.sh

executing result
firmware-iwlwifi is already installed!
wifi is already installed!

If things do not work, copy and paste the results of this command:
Code: [Select]
$ dmesg | tail -20

executing result
iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
iwlwifi 0000:03:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
usb 2-4: new high-speed USB device number 3 using ehci-pci
usb-storage 2-4:1.0: USB Mass Storage device detected
scsi host6: usb-storage 2-4:1.0
scsi 6:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
scsi 6:0:0:0: Attached scsi generic sg2 type 0
sd 6:0:0:0: [sdb] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 6:0:0:0: [sdb] No Caching mode page found
sd 6:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb4
sd 6:0:0:0: [sdb] Attached SCSI removable disk
FAT-fs (sdb4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: Wifi on TinyCore64 is not working properly
« Reply #17 on: July 22, 2020, 08:44:39 PM »
Sorry for asking this foolish question but, did you download the .dep and .md5.txt files along with the TCZs you downloaded ?

minux

  • Guest
Re: Wifi on TinyCore64 is not working properly
« Reply #18 on: July 22, 2020, 09:06:53 PM »
Sorry for asking this foolish question but, did you download the .dep and .md5.txt files along with the TCZs you downloaded ?

Yeah! The are tces in following
acl.tcz
acl.tcz.dep
acl.tcz.md5.txt
attr.tcz
attr.tcz.md5.txt
dbus.tcz
dbus.tcz.dep
dbus.tcz.md5.txt
expat2.tcz
expat2.tcz.md5.txt
firmware-iwlwifi.tcz
firmware-iwlwifi.tcz.md5.txt
libcap.tcz
libcap.tcz.dep
libcap.tcz.md5.txt
libiw.tcz
libiw.tcz.md5.txt
libnl.tcz
libnl.tcz.md5.txt
libpci.tcz
libpci.tcz.md5.txt
libpciaccess.tcz
libpciaccess.tcz.md5.txt
ncursesw.tcz
ncursesw.tcz.md5.txt
openssl-1.1.1.tcz
openssl-1.1.1.tcz.md5.txt
pci-utils.tcz
pci-utils.tcz.dep
pci-utils.tcz.md5.txt
readline.tcz
readline.tcz.dep
readline.tcz.md5.txt
tces.txt
wifi.tcz
wifi.tcz.dep
wifi.tcz.md5.txt
wireless-5.4.3-tinycore.tcz
wireless-5.4.3-tinycore.tcz.md5.txt
wireless-5.4.3-tinycore64.tcz
wireless_tools.tcz
wireless_tools.tcz.dep
wireless_tools.tcz.md5.txt
wpa_supplicant-dbus.tcz
wpa_supplicant-dbus.tcz.dep
wpa_supplicant-dbus.tcz.md5.txt

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: Wifi on TinyCore64 is not working properly
« Reply #19 on: July 22, 2020, 09:16:12 PM »
You don't have elogind. It is a dep of dbus which is a dep of wpa_supplicant-dbus which is a dep of wifi.

minux

  • Guest
Re: Wifi on TinyCore64 is not working properly
« Reply #20 on: July 22, 2020, 09:28:32 PM »
You don't have elogind. It is a dep of dbus which is a dep of wpa_supplicant-dbus which is a dep of wifi.

Sorry, I didn't find the elogind in  repo, could you tell me where to get it?Thank you!

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388

minux

  • Guest
Re: Wifi on TinyCore64 is not working properly
« Reply #22 on: July 22, 2020, 10:06:43 PM »
http://repo.tinycorelinux.net/11.x/x86_64/tcz/elogind.tcz
After do following
Code: [Select]
tce-load -i /mnt/sda1/tce/optional/*.tcz(elogind.tcz)
sudo wifi.sh
executing result =>> No wifi devices found


minux

  • Guest
Re: Wifi on TinyCore64 is not working properly
« Reply #23 on: July 22, 2020, 10:34:00 PM »
1) You cannot use x86 tcz on x64.
Is Corepure64 only compatible with x86_64/Xx-tinycore64.TCz?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Wifi on TinyCore64 is not working properly
« Reply #24 on: July 22, 2020, 10:36:23 PM »
CorePlus is 32-bit - extensions located at: http://tinycorelinux.net/11.x/x86/tcz/
CorePure64 is 64-bit - extensions located at: http://tinycorelinux.net/11.x/x86_64/tcz/

You cannot mix extensions between the two.

executing result
firmware-iwlwifi is already installed!
wifi is already installed!
This means that you did not follow the instructions to remove firmware and wifi extensions from "onboot"

Quote
Code: [Select]
iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
...
If the firmware-iwlwifi extension is not loaded before the wifi extension, wifi will not work - we cannot help troubleshoot unless you follow the instructions.

To repeat:

Remove all firmware, wifi, wireless, etc extensions from onboot.lst
Reboot
Load firmware-iwlwifi and then load wifi
"sudo wifi.sh"
"dmesg | tail -20"
« Last Edit: July 22, 2020, 10:39:35 PM by Juanito »

minux

  • Guest
Re: Wifi on TinyCore64 is not working properly
« Reply #25 on: July 22, 2020, 11:33:50 PM »
CorePlus is 32-bit - extensions located at: http://tinycorelinux.net/11.x/x86/tcz/
CorePure64 is 64-bit - extensions located at: http://tinycorelinux.net/11.x/x86_64/tcz/

You cannot mix extensions between the two.

But how should I download the corresponding Corepure extension from Apps of my coreplus?

Due to my onboot.lst doesn't have anything, I manually loaded the extension with the following command every time.
tce-load -i
Code: [Select]
/mnt/sda1/tce/optional/*.tcz
Am I doing this right?
« Last Edit: July 22, 2020, 11:44:29 PM by minux »

minux

  • Guest
Re: Wifi on TinyCore64 is not working properly
« Reply #26 on: July 22, 2020, 11:42:13 PM »
You cannot mix extensions between the two.
You mean to say, I should all the extension from http://tinycorelinux.net/11.x/x86/tcz/ Download, not from http://tinycorelinux.net/11.x/x86_64/tcz/, right? I wonder if that's the case, then how can I download extensions correctly on coreplus and install them correctly on corepure64?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Wifi on TinyCore64 is not working properly
« Reply #27 on: July 22, 2020, 11:44:25 PM »
If you want to use CorePlus to download apps for CorePure64, you cannot use "tce-load".

Use these commands:
Code: [Select]
$ mkdir /tmp/extensions64
$ cd /tmp/extensions64
$ wget http://tinycorelinux.net/11.x/x86_64/tcz/wifi.tcz
$ wget http://tinycorelinux.net/11.x/x86_64/tcz/wifi.tcz.dep
$ wget http://tinycorelinux.net/11.x/x86_64/tcz/wifi.tcz.md5.txt
..and repeat the wget commands for all the extensions you need.

Once done, you can copy all of the files in /tmp/extensions64 to permanent storage so that, once you have booted CorePure64, you can copy them into the tce/optional folder that you will use for CorePure64 - it cannot be the same tce/optional folder you use for CorePure.

You should never use the wildcard "*" in the tce-load command.
« Last Edit: July 22, 2020, 11:48:06 PM by Juanito »

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 388
Re: Wifi on TinyCore64 is not working properly
« Reply #28 on: July 23, 2020, 12:22:34 AM »
Or else you could do the way mentioned in the top most post of this page with the help of FetchExt script which also manages deps recursively.

minux

  • Guest
Re: Wifi on TinyCore64 is not working properly
« Reply #29 on: July 23, 2020, 01:49:49 AM »
CorePlus is 32....
Thank you more than what I can say. Thank you.
« Last Edit: July 23, 2020, 02:12:11 AM by minux »