3

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

3 Answers 3

3

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!

1
  • in my alpine yell ping: add address google.com , do you have any idea? Commented Aug 8, 2021 at 16:17
2

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

enter image description here

0

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

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.