After installing Ubuntu Server on Vmware ESXi, I couldn't find a NIC:
sudo /etc/init.d/networking restart
* Reconfiguring network interfaces...
eth0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
Problem is that the ethernet MAC addresses are cached.
To remove the cache values:
sudo rm /etc/udev/rules.d/70-persistent-net.rules
Reboot, and it should work.
Other NIC files:
* /etc/hosts - change ip address and hostnames
* /etc/hostname - change hostname
* /etc/network/interfaces - change ip address