Enviado em 23/03/2021 - 06:47h
Olá a todos,$ update-rc.d -f dhcpd remove # I have disabled dhcp, not sure if it is needed $ systemctl disable NetworkManager.service # also disabled the network manager $ cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback #auto enp2s0 allow-hotplug enp2s0 iface enp2s0 inet static address 192.168.10.101 netmask 255.255.255.0 gateway 192.169.10.100 $ cat /etc/resolv.conf nameserver 192.169.10.100 $ ip a show eno1: 2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether 3c:ec:ef:10:32:42 brd ff:ff:ff:ff:ff:ff inet 192.168.10.101/24 brd 192.168.10.255 scope global eno1 valid_lft forever preferred_lft forever $ ip route show default via 192.168.10.100 dev eno1 onlink linkdown 192.168.10.0/24 dev eno1 proto kernel scope link src 192.168.10.101 linkdown $ ethtool eno1 Settings for eno1: Supported ports: [ ] Supported link modes: 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Speed: Unknown! Duplex: Unknown! (255) Port: Other PHYAD: 0 Transceiver: internal Auto-negotiation: off Supports Wake-on: g Wake-on: g Current message level: 0x0000000f (15) drv probe link timer Link detected: no $ iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
$ cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback #auto enp2s0 allow-hotplug enp2s0 iface enp2s0 inet static address 192.168.10.100 netmask 255.255.255.0 $ cat /proc/sys/net/ipv4/ip_forward # I have enabled ip forwarding 1
Settings for eno1: Supported ports: [ TP ] Supported link modes: 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Supports Wake-on: g Wake-on: g Current message level: 0x0000000f (15) drv probe link timer Link detected: yes
Enviado em 23/03/2021 - 08:51h
No Computador 1 esta dando pelo "Ethtool" que não foi detectado link ou seja não detectou cabo.Enviado em 23/03/2021 - 18:13h
Oi Carlo, obrigado pela resposta!Enviado em 23/03/2021 - 19:12h
Vc está tentando colocar o ip do gateway na máquina B. Deve estar dando conflito de ipEnviado em 23/03/2021 - 20:09h
Oi Leando, valeu pela sugestão.Enviado em 24/03/2021 - 09:02h
Mas quando liga o PC A no B, o B não "pinga" o A ou ele(o B) apenas não acessa a internet através do A ?Enviado em 24/03/2021 - 11:46h
Não pinga, nem do A para o B, nem do B para o A; Também não consigo acessar ssh (que está habilitado nos dois computadores);Enviado em 24/03/2021 - 16:10h
Tem equipamentos que precisa que seja cabo CROSS para ligação direta como vc esta fazendo, tente um para ver...Enviado em 24/03/2021 - 19:21h
Se os dois computadores tiverem placa wireless vc pode configurar acesso direto nelas. Eu não estou muito atualizado, mas na minha época uma ligação direta entre dois computadores era somente c cabo crossover.Pra quem contribui com artigos e dicas (1)
Arch Linux - Guia para Iniciantes (5)
tux-gpt - Assistente de IA para o Terminal
Instalação e configuração do Chrony
Programa IRPF - Guia de Instalação e Resolução de alguns Problemas
O Que Fazer Após Instalar Ubuntu 25.04
O Que Fazer Após Instalar Fedora 42
Debian 12 -- Errata - Correções de segurança
Instalando o Pi-Hole versão v5.18.4 depois do lançamento da versão v6.0
Copiar Layout do Teclado para aplicar em outra Distribuição (2)
Monitor fora de escala ao bootar sistema (10)
Pra quem contribui com artigos e dicas (1)
Alguém poderia me ajudar a escolher peças pra montar um desktop? (19)