Não consigo instalar placa de rede no mini PC SOYO M2

achei o github yt6801/README.md at main · silent-reader-cn/yt6801 · GitHub
achei outros git, só que sempre o mesmo erro;

A preparar para desempacotar tuxedo-yt6801_1.0.28-1_all.deb ...
Deleting module tuxedo-yt6801-1.0.28 completely from the DKMS tree.
(Re)load module if possible
A descompactar tuxedo-yt6801 (1.0.28-1) sobre (1.0.28-1) ...
Configurando tuxedo-yt6801 (1.0.28-1) ...
Loading new tuxedo-yt6801-1.0.28 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/tuxedo-yt6801-1.0.28/dkms.conf)
Building for 6.1.0-30-amd64
Module build for kernel 6.1.0-30-amd64 was skipped since the
kernel headers for this kernel do not seem to be installed.
(Re)load module if possible

e não consigo instalar

vc instalou o linux-headers na versão do kernel?

sou novato… creio que não… vou tentar e aviso

rebelc@debian:~$ uname -r
6.1.0-30-amd64
rebelc@debian:~$ apt search linux-headers-$(uname -r)
Sorting... Pronto
Full Text Search... Pronto
linux-headers-6.1.0-30-amd64/stable-updates 6.1.124-1 amd64
  Header files for Linux 6.1.0-30-amd64

rebelc@debian:~$ sudo dpkg -i tuxedo-yt6801_1.0.28-1_all.deb
[sudo] senha para rebelc:
(Lendo banco de dados ... 59593 ficheiros e diretórios atualmente instalados.)
A preparar para desempacotar tuxedo-yt6801_1.0.28-1_all.deb ...
Deleting module tuxedo-yt6801-1.0.28 completely from the DKMS tree.
(Re)load module if possible
A descompactar tuxedo-yt6801 (1.0.28-1) sobre (1.0.28-1) ...
Configurando tuxedo-yt6801 (1.0.28-1) ...
Loading new tuxedo-yt6801-1.0.28 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/tuxedo-yt6801-1.0.28/dkms.conf)
Building for 6.1.0-30-amd64
Module build for kernel 6.1.0-30-amd64 was skipped since the
kernel headers for this kernel do not seem to be installed.
(Re)load module if possible

instalei e persiste o mesmo erro

fiz de uma maneira diferente usando outro arquivo

yt6801.ko:
Running module version sanity check.
Error! Module version 1.0.28 for yt6801.ko
is not newer than what is already found in kernel 6.1.0-30-amd64 (1.0.29).
You may override by specifying --force.
depmod...
(Re)load module if possible

agora esta dando este erro

agora esta nesse modo

rebelc@debian:~$ sudo lshw -C network
  *-network DISABLED
       description: Ethernet interface
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: eno1
       version: 01
       serial: 16:09:01:19:1d:59
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=yt6801 driverversion=1.0.29 duplex=full firmware=S.D.U: 52.0.10 latency=0 link=no multicast=yes port=MII speed=1Gbit/s
       resources: irq:126 memory:a1200000-a1203fff ioport:e000(size=256)

está como inativa

veja que vc instalou o headers errado. linux-headers-6.1.0-30 para o kernel 6.1.124-1.

como faço para corrigir???

sudo apt install linux-headers-6.1.124-1-amd64

Nem mesmo instalo, ele deu foi um search, apenas listo o headers disponivel para instalar.

1 curtida