Enviado em 24/01/2022 - 15:46h
Boa tarde, galera. Estou tendo um problema que acontece de vez em quando. É o seguinte: eu possuo um dual boot, com o linux (kubuntu) no meu SSD e o no HD o meu windows 10. No windows minha conexão é de boa, funciona perfeitamente, mas quando eu migro pro linux, as vezes o cabo ethernet não consegue se conectar com a rede e eu fico sem acesso à internet. Esse é um problema que eu nunca consegui resolver. Aí depois de um tempo, a conexão volta a funcionar normalmente. Não sei o que pode ser, tentei até pesquisar na internet alguma forma de resolver, mas sem sucesso, a conexão simplesmente volta a funcionar sozinha. Rodei alguns comandos no terminal, vou jogar aqui pra ver se vocês podem me ajudar em algo. Desde já agradeço qualquer tipo de ajuda!Enviado em 24/01/2022 - 18:59h
Enviado em 24/01/2022 - 16:16h
Sua rede eth esta definida para ip estatico. Provavelmente quando outro device se conecta com o mesmo ip o seu pc fica automaticamente sem conexao.auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
Enviado em 24/01/2022 - 17:31h
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
Enviado em 24/01/2022 - 17:52h
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
lsmod
journalctl -p emerg..err
Enviado em 24/01/2022 - 17:58h
Uma coisa interessante é que a mensagem da foto que você postou da a entender que o cabo de rede esta fisicamente desconectado.Enviado em 24/01/2022 - 18:29h
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
lsmod
journalctl -p emerg..err
Enviado em 24/01/2022 - 18:30h
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
lsmod
journalctl -p emerg..err
Enviado em 24/01/2022 - 18:54h
Uma dica, quando for postar resultado dos comandos, fica mais facil de ler e pesquisar se ao inves de foto você copiar e colar o texto direto do terminal aqui. Facilita bastante.Enviado em 24/01/2022 - 19:32h
lspci | grep -i eth
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Enviado em 24/01/2022 - 19:40h
sudo ./autorun.sh
[sudo] password for mateusj:
Check old driver and unload it.
rmmod r8169
Build the module and install
Skipping BTF generation for /home/mateusj/Downloads/r8168-8.049.02/src/r8168.ko due to unavailability of vmlinux
arch/x86/Makefile:148: CONFIG_X86_X32 enabled but no binutils support
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:69
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:76
sign-file: certs/signing_key.pem: No such file or directory
Warning: modules_install: missing 'System.map' file. Skipping depmod.
Backup r8169.ko
rename r8169.ko to r8169.bak
DEPMOD 5.13.0-27-generic
load module r8168
Updating initramfs. Please wait.
update-initramfs: Generating /boot/initrd.img-5.13.0-27-generic
Completed.
lspci -k |grep -i r8169
mateusj in ~/Downloads/r8168-8.049.02
❯ lspci -k |grep -i r8168
Kernel driver in use: r8168
Kernel modules: r8168
Enviado em 24/01/2022 - 19:49h
Legal!!~$ apt show r8168-dkms
Package: r8168-dkms
Version: 8.048.03-3
Priority: extra
Section: non-free/kernel
Source: r8168
Maintainer: Andreas Beckmann <[email protected]>
Installed-Size: 1.389 kB
Depends: dkms (>= 2.1.0.0)
Homepage: https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit...
Download-Size: 100 kB
APT-Sources: http://deb.debian.org/debian bullseye/non-free amd64 Packages
Description: dkms source for the r8168 network driver
r8168 is the Linux device driver released by RealTek for their network
controllers with PCI-Express interface:
* 10/100/1000M Gigabit Ethernet: RTL8111B, RTL8111C, RTL8111D, RTL8111E,
RTL8111F, RTL8111G(S), RTL8111H(S), RTL8118(A)(S), RTL8119i, RTL8111L,
RTL8168B, RTL8168E, RTL8168H, RTL8111DP, RTL8111EP, RTL8111FP, RTL8411,
RTL8411B
.
This driver should only be used for devices not yet supported by the
in-kernel driver r8169. Please see the README.Debian for instructions how
to report bugs against r8169 that made it necessary to use r8168-dkms.
.
Installation of the r8168-dkms package will disable the in-kernel r8169
module. To re-enable r8169, the r8168-dkms package must be purged.
.
This package provides the dkms source code for the r8168 kernel modules.
Kernel source or headers are required to compile these modules.
Subindo o Zabbix e Grafana no Podman com Pod
Habilitar a aceleração por hardware AMD AMF no OBS
Roubando bits (parte 2): como resolver questões rapidamente sem calculadora
Usando Linux para operar plataformas de análise gráfica na Bovespa (B3)
Instalando Google Chrome no Ubuntu 22.04 LTS
Bodhi Linux: melhor distro Linux para Atom N455
Solução Touchpad Notebook Lenovo S145
Frustrando o que não existe pra ser frustrado. (2)
Dificuldade para logar no VOL (34)
Entrada de argumento ao executar shell script. [RESOLVIDO] (3)