No network connection

Nacrug

New Member
Apr 4, 2023
1
0
1
Hello,
i last used my proxmox server in 2021 and i forgot almost everything about the configs, but i dont want do reinstall the system. It seems like the server can´t connect to my Network or the internet and i dont know why. Maybe someone can help me.

In the Screenshoots you can see my configs in:
/etc/hosts
/etc/network/interfaces

and the output of ip addr
 

Attachments

  • image0.jpeg
    image0.jpeg
    39.5 KB · Views: 17
  • image1.jpeg
    image1.jpeg
    38.2 KB · Views: 16
  • image2.jpeg
    image2.jpeg
    105.5 KB · Views: 16
It appears to me that the network interface name in /etc/network/interfaces is wrong. ip addr shows that you have enp1s0, but in your network config you have enp2s0. Just change the two lines in /etc/network/interfaces and execute ifreload -a

Hope this helps.