WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tinycore 8 and lan  (Read 4714 times)

Offline Max.irkut

  • Newbie
  • *
  • Posts: 13
Tinycore 8 and lan
« on: February 17, 2022, 09:15:07 PM »
Hello
I have TinyCore8 and PC (on MB Gigabyte H410M H v3/rev1.3). OS not found LAN. Help me installthe driver. I know that Lan it's INTEL GbE. Dowloaded Intel driver for Linux OS. But if I read "Readme" on this driver, I see: "4. Compile the driver module:  # make install"

Tiny core 8 don't know command "make". If I'll write in term "make install" - OS will answer "-sh: make: not found". What should I do?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Tinycore 8 and lan
« Reply #1 on: February 17, 2022, 09:39:11 PM »
Hi Max.irkut
You need to install the compiler package:
Code: [Select]
tce-load -wi compiletc

Offline Max.irkut

  • Newbie
  • *
  • Posts: 13
Re: Tinycore 8 and lan
« Reply #2 on: February 18, 2022, 03:29:55 AM »
Thank you very much.

But. my tinycore swears:

"Kernel header files not in any of the expected lication. Install the apportoriate kernel develope package, kernek-devel, for building kernel modules and try again."  :o




Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Tinycore 8 and lan
« Reply #3 on: February 18, 2022, 03:41:28 AM »
Try a newer TC? That's a 2021 mobo, TC 8 is really old.
The only barriers that can stop you are the ones you create yourself.

Offline Max.irkut

  • Newbie
  • *
  • Posts: 13
Re: Tinycore 8 and lan
« Reply #4 on: February 18, 2022, 03:56:42 AM »
I can't to use newer TC. I know that TC-8 it's VERY OLD. I have programm product, which is based on TC-8.  :'( 
« Last Edit: February 18, 2022, 04:00:32 AM by Max.irkut »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Tinycore 8 and lan
« Reply #5 on: February 18, 2022, 05:02:35 AM »
Did you make a symlink to the prepared kernel source like this (for example):
Code: [Select]
cd /lib/modules/4.8.17-tinycore
sudo ln -s /usr/src/linux-4.8.17 build

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Tinycore 8 and lan
« Reply #6 on: February 18, 2022, 10:54:59 AM »
Hi Max.irkut
It's possible the kernel already supports your network card. The kernel config file shows these are enabled:
Code: [Select]
CONFIG_I40E=m
CONFIG_I40EVF=m

Install  pciutils.tcz:
Code: [Select]
tce-load -wi pciutilsThen run:
Code: [Select]
lspci -nn > lspci.txtAttach the file  lspci.txt  to your next post so we can see what kind of hardware is involved.
Also, run:
Code: [Select]
dmesg > dmesg.txtAttach the file  dmesg.txt  to your next post so we can see what the kernel is doing.

Offline Max.irkut

  • Newbie
  • *
  • Posts: 13
Re: Tinycore 8 and lan
« Reply #7 on: February 20, 2022, 09:55:02 AM »
What do this command do?

CONFIG_I40E=m
CONFIG_I40EVF=m

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Tinycore 8 and lan
« Reply #8 on: February 20, 2022, 09:57:41 AM »
It means I40E and I40EVF will be compiled as kernel modules.

Offline Max.irkut

  • Newbie
  • *
  • Posts: 13
Re: Tinycore 8 and lan
« Reply #9 on: February 27, 2022, 12:24:13 AM »
Now in my PC has installed two LAN: int Intel GbE (maybe on i219-v chip) and discrete RTL controller. RTL is working.
« Last Edit: February 27, 2022, 12:55:16 AM by Max.irkut »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Tinycore 8 and lan
« Reply #10 on: February 27, 2022, 01:20:04 AM »
Hi Max.irkut
Your  dmesg  attachment is riddled with warnings and errors. It also shows you are not booting an officially
released Tinycore kernel version:
Code: [Select]
Linux version 4.14.62-tinycore (root@csi-builder-template) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)) #1 SMP Mon Oct 11 20:04:44 MSK 2021
Tinycore 8 uses kernel 4.8.17.  Your kernel version 4.14.62 does not match anything we have released.

Your Intel network device is detected, but your kernel doesn't know what to do with it.

Offline Max.irkut

  • Newbie
  • *
  • Posts: 13
Re: Tinycore 8 and lan
« Reply #11 on: February 27, 2022, 02:39:49 AM »
It's not very good  :(

Offline Max.irkut

  • Newbie
  • *
  • Posts: 13
Re: Tinycore 8 and lan
« Reply #12 on: February 27, 2022, 02:43:00 AM »
What can you advise in this situation?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Tinycore 8 and lan
« Reply #13 on: February 27, 2022, 02:44:53 AM »
Install the official version of Tinycorelinux from here:

32-bit http://tinycorelinux.net/13.x/x86/release/
64-bit http://tinycorelinux.net/13.x/x86_64/release/

Offline Max.irkut

  • Newbie
  • *
  • Posts: 13
Re: Tinycore 8 and lan
« Reply #14 on: February 27, 2022, 02:54:49 AM »
How to update kernel TC?