Install "vbox-ssl-cacertificate.crt" certificate from %userprofile%\\.virtualbox\ and then reboot. If you don't have .virtualbox folder - launch "Oracle VM VirtualBox" once and this folder will appear.
I had this issue not only on my machine but on many hosts, and this certificate fixed the issue. I figured it out by chance, because nowhere said about this certificate -_-
First of all you have to create a VirtualBox Host-Only Ethernet adapter
In Virtualbox :
Go to File > Preferences
On the Network tab select Host only Networks click on "add a Host-only adapter" give it a name by default it is "VirtualBox Host-Only Ethernet adapter"
In Windows :
go to Network connections on Windows and highlight both the real adapter and the new virtual ethernet adapter that you just created.
Right click and select "Bridge Connections", it's going to create a network bridge in Windows.
Now configure your VM :
in the Network part you can activate a new adapter and then select Attached to Host only adapter
Choose the VirtualBox Host-Only Ethernet adapter you have just created
You can now configure your static IP Address by modifying /etc/network/interfaces :
My very simple solution that worked: select another networkcard!
If it doesn't work, repeat steps and try yet another network adapter. The very basic PCnet adapters have a high succes-rate.
Good luck.
Install "vbox-ssl-cacertificate.crt" certificate from
%userprofile%\\.virtualbox\
and then reboot. If you don't have.virtualbox
folder - launch "Oracle VM VirtualBox" once and this folder will appear.I had this issue not only on my machine but on many hosts, and this certificate fixed the issue. I figured it out by chance, because nowhere said about this certificate -_-
Uninstall then run the setup program again but this time as Administrator. Make sure the VB bridge driver is selected during installation.
I solved it with similar way to @Khalil's but I attched to 'Bridged Adapter' instead of 'Host-only Adapter'. Here is more detail with screenshots.
Install the latest Virtual box 5.x and this issue will be resolved.
First of all you have to create a VirtualBox Host-Only Ethernet adapter
In Virtualbox :
In Windows :
Now configure your VM :
You can now configure your static IP Address by modifying /etc/network/interfaces :
You can now restart eth0 by doing :
Some wireless adapters don't work