Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-01-2017, 03:23 PM
|
#1
|
LQ Newbie
Registered: Apr 2009
Posts: 17
Rep:
|
Firefox wifi connection
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.
|
|
|
01-01-2017, 04:12 PM
|
#2
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
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.
|
|
|
01-01-2017, 05:20 PM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 20,014
|
In the Settings-->Network Settings for the Virtual Machines, what type of of networking is selected: NAT, Host Only, Bridged, or something else?
|
|
|
01-05-2017, 08:45 AM
|
#4
|
LQ Newbie
Registered: Apr 2009
Posts: 17
Original Poster
Rep:
|
ifcongif/nerwork
My VMs are networked bridged please see attachment for ifconfig
|
|
|
01-05-2017, 12:52 PM
|
#5
|
Member
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421
Rep:
|
In my brief experience with Windows as VBox host, network bridge is quit flaky. Just use NAT. And don't forget to tick the 'Cable connected' box.
|
|
|
01-05-2017, 07:25 PM
|
#6
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 20,014
|
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.
|
|
|
01-05-2017, 07:52 PM
|
#7
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,016
|
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...
Then ping the gateway eg assuming 192.168.1.1
Last edited by ferrari; 01-05-2017 at 07:53 PM.
|
|
|
All times are GMT -5. The time now is 01:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|