cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# The loopback network interface
#auto lo
#iface lo inet loopback
auto enp0s3
iface enp0s3 inet dhcp
#iface enp0s3 inet loopback
The command to restart hangs saying this: sudo /etc/init.d/networking restart [....] Restarting networking (via systemctl): networking.service
ip addr show
and also:ping -c3 8.8.8.8