Erro ao obter endereço de hardware para enp3s0 [closed]

1

Meu servidor Ubuntu 17 não está se conectando à minha rede (Ethernet).

Eu tentei reiniciar o serviço de rede, mas recebi um erro que me dizia para executar

journalctl1 -xe

que mostra o erro

Error getting hardware address for enp3s0  
...  
Failed to start Raise network address

este é meu /etc/network/interfaces

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto enp3s0
iface enp3s0 inet dhcp

Eu procurei em todo o site, mas a maioria das pessoas diz para mudar as interfaces para usar eth0, e eu tentei isso, mas não consertou, então não tenho certeza do que mais tentar

$ ifconfig

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
  inet 127.0.0.1 netmask 255.0.0.0
  inet6 ::1 prefixlen 128 scopeid 0x10<host>
  loop txqueuelen 1000 (Local Loopback)
  RX packets 352 bytes 26304 (26.3 KB)
  RX errors 0 dropped 0 overruns 0 frame 0
  TX packets 352 bytes 26304 (26.3 KB)
  TX errors 0 dropped 0 overruns 0 frame 0 collisions 0
    
por Toxicable 15.06.2017 / 03:45

1 resposta

-1

Eu estava recebendo o mesmo erro para minha interface chamada p5p1 .

A execução de lshw -C network gerou uma saída semelhante à seguinte (a interface funciona agora, portanto, alguns detalhes serão diferentes):

*-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: p4p1
       version: 06
       serial: 18:67:b0:df:4e:68
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=10.1.2.228 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:27 ioport:e000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff

A linha pertinente é logical name: p4p1 . De alguma forma, a rede foi configurada para ativar a interface p5p1, mas o sistema operacional está reconhecendo o dispositivo como p4p1.

Eu atualizei / etc / network / interfaces para substituir p5p1 para p4p1 e redefinir os serviços de rede. A interface surgiu sem problema.

    
por brycemcd 18.02.2018 / 14:45