TROUBLESHOOTING: Network Interface

# on first boot your network interface is down, no IP address found, ping your gateway (router IP) failed
# login the server
# type the following to identify the name of your interface (i.e. enpXsX)

  1. $ sudo dmesg

# or

  1. $ sudo dmesg | grep "enp"
[    2.446277] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0

# then rename interface in /etc/network/interfaces

  1. $ sudo nano /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

# The primary network interface
auto enp0s10
allow-hotplug enp0s10
iface enp0s10 inet dhcp

# CTRL X + Y to save and reboot

  1. $ sudo reboot