I run Ubuntu Server 10.10 in VirtualBox with Windows as host. Accidently I choosed to generate a new random MAC-address for my Ubuntu machine in VirtualBox. And now when I have booted my Ubuntu with the new MAC-address, I don't get an external IP-address. I'm using DHCP to get IP-addresses.
I guess I have to run a command and inform my Ubuntu system that the MAC-address has changed to get an external IP-address.
If I execute sudo /etc/init.d/networking restart
I get this message:
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0
How can I solve this?