LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   CentOS 7 VirtualBox no internet access (even after adding DNS1 and modify ONBOOT to yes) (https://www.linuxquestions.org/questions/centos-111/centos-7-virtualbox-no-internet-access-even-after-adding-dns1-and-modify-onboot-to-yes-4175651586/)

arielma 04-06-2019 12:00 AM

CentOS 7 VirtualBox no internet access (even after adding DNS1 and modify ONBOOT to yes)
 
I installed VirtualBox with an IMAGE of CENTOS 7.5 SERVER. I'm trying now to enable internet connection there, so I've found my network card name, and then edited the relevant file in /etc/sysconfig/network-scripts with DNS1=8.8.8.8 and ONBOOT=yes, but I'm still getting an error of 'ip configuration could not be reserved'

berndbausch 04-06-2019 04:56 AM

You could google for the error message. Quite a few results: https://duckduckgo.com/?q=virtualbox...161-2_w&ia=web.

The problem might well be your Virtualbox network setup. How is the VM connected to the network? Another possibility: NetworkManager doesn't like you to configure the network manually.

arielma 04-07-2019 05:29 AM

I think the issue is now with this error:
job for network.service failed because the control process exited with error code

ondoho 04-07-2019 08:16 AM

Quote:

Originally Posted by arielma (Post 5982118)
I think the issue is now with this error:
job for network.service failed because the control process exited with error code

...and that's not the complete message now is it?


All times are GMT -5. The time now is 04:11 AM.