2

I am installing alpine 3.4.6 os in virtualbox 5. I got following network adaptors,

enter image description here

But none of these are allowing to have internet in the virtualbox.

I chose to use dhcp while setting up using alpine-setup. enter image description here

The setup-alpine itself is failing not being able to find fastest mirror url.

enter image description here

Network config is,

enter image description here

1

Oh, my internet is killing me. Its internet issue, I changed my network and and its working with bridge mode.

enter image description here

1

For those that have this problem and are installing Alpine for VM you have to do this:
First run setup-alpine and go on and then you will hit the problem.
After that this setup has filled the file /etc/network/interfaces for you.
Now do this:

vi /etc/network/interfaces

and In the part of the file that it has written:

iface eth0 inet dhcp

Just add udhcpc_opts -O search below it like this:

iface eth0 inet dhcp
    udhcpc_opts -O search

Then run this:

ifup eth0

If it says its currently up then you need to down it first:

ifdown eth0 && ifup eth0

Then :)

ping google.com

HTH, Have a nice day!

0

Use your principal interface to discover use ifconfig from cli/terminal and see which has ip configured.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.