LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-01-2017, 03:23 PM   #1
edentonjr
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0
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.
 
Old 01-01-2017, 04:12 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
Old 01-01-2017, 05:20 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,774
Blog Entries: 28

Rep: Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977
In the Settings-->Network Settings for the Virtual Machines, what type of of networking is selected: NAT, Host Only, Bridged, or something else?
 
Old 01-05-2017, 08:45 AM   #4
edentonjr
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Original Poster
Rep: Reputation: 0
ifcongif/nerwork

My VMs are networked bridged please see attachment for ifconfig
Attached Thumbnails
Click image for larger version

Name:	ifconfig.JPG
Views:	14
Size:	73.2 KB
ID:	23889  
 
Old 01-05-2017, 12:52 PM   #5
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 417

Rep: Reputation: 74
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.
 
Old 01-05-2017, 07:25 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,774
Blog Entries: 28

Rep: Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977
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.
 
Old 01-05-2017, 07:52 PM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,673

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
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...

Code:
ip add
Code:
ip route
Then ping the gateway eg assuming 192.168.1.1
Code:
ping 192.168.1.1
Code:
ping 8.8.8.8
Code:
ping google.com

Last edited by ferrari; 01-05-2017 at 07:53 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing a wifi connection via a wifi router on a linux machine (see pic) linuxquestionsofandrew Linux - Networking 0 07-21-2013 06:45 AM
wifi connection issues with slackware 12.37 and broadcom wifi card EpicViTTo Slackware 15 09-05-2012 02:37 PM
[SOLVED] WiFi Connection Failure on Intel Corporation WiFi Link 5100 physicsguru Linux - Wireless Networking 1 04-08-2011 06:41 PM
dual wifi and wired connection: how to make a specific website use only wifi? shinji2001xyz Linux - Networking 2 04-08-2010 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration