I am using Virtual Box and if i lose internet connection or anything happens with my network adapter on host machine i will lose the internet connection on my Virtual Machine.
Even if i connect again, the host is fine but my Virtual Machine can't connect, i need to restart it in order to get internet.
Is there a way to restart networking on the Virtual Machine somehow without rebooting the whole Virtual Machine?
i have tried this command:
sudo /etc/init.d/networking restart
but it just hangs and nothing happens.