Thursday, December 27, 2018

CentOS 7 networking not working on VirtualBox

It seems like this is by design (for security?) that CentOS 7 does not have networking working by default. Anyway, to fix this on VM running VirtualBox, edit /etc/sysconfig/network-scripts/ifcfg-enp0s3 and change the line that says ONBOOT=no to ONBOOT=yes and then reboot the machine.

Refs:
https://superuser.com/questions/915536/centos-7-virtualbox-no-internet-access

No comments:

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...