Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a laptop running Windows 7 pro., I installed Oracle VM VirtualBox Version 5.0.12 and created 2 linux virtual machines (Centos 7). When I log onto my VMs and try to connect to the web via Firefox web browser I get an error message "Server Not Found". I know my wireless card is working because from my Windows OS I have no problems connect to my home wifi network and connecting to the web via Chrome wed browser. How to I correct this issue, I need my VM to connect to the web so that I can update, and install programs.
Can you post the output of "/sbin/ifconfig -a" from one of the Linux VMs? Also, you'll need to provide some details about how you set up networking in VirtualBox (i.e. are you using NAT, bridged or host only). The default is NAT, but you should confirm what you have. I've noticed with CentOS 6 at least, some minimal installs won't start up the DHCP client daemon automatically on the first Ethernet adapter. I'm not sure if that holds in 7, but it may be something to check via systemctl.
Using a bridged connection, I've found that sometimes the default "Adapter Type" (see the "Advanced" item on the Network Adapter dialog) is not always the best choice. If the default adapter is not working, try cycling through the other available adapters. It could be that one of them will work. Admittedly, this is rare, but I have encountered it a couple of times.
To build on what c0wb0y said, test first with a NAT connection.
FWIW, I run VBox on a Windows host and using a bridged adapter (usually to wireless interface) without any issues. The image you shared shows that eth0 has 192.168.122.252 assigned. Ideally, you should show the guest addressing and routing and demonstrate that you can reach the gateway and well known internet address...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.