LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-19-2012, 03:40 PM   #1
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 549

Rep: Reputation: 46
Accessing the Internet or Wireless Connection from within a VM Linux


Hi,


I am using a Windows XP Host OS top of which I have VirtualBox running a Linux Guest OS:

Code:
cat /etc/issue
CentOS Linux release 6.0 (Final)
Kernel \r on an \m
I have turned off Firewalls on both the systems and am able to ping each other. So far okay.

I have a Wireless Broad-Band connection (Internet Data Card) that I use to access the Internet on the Host OS Windows XP. However, I am not able to access the Internet or open any website inside the Guest OS Linux. When I access my website that is running on Windows IIS, it works fine. But, then, why am I not able to open any other website from the Internet?

That is the problem.


Earlier I was using RHEL 5 and Fedora and Internet would fine without doing any configuration.


I just checked under Linux:

Systems -> Preferences -> Network Connections

but could not get it. There is a Tab for Wireless device/connection but I am not sure what to type in:

SSID, BSSID, MAC Address, Cloned MAC Address, etc. as those pieces of information is not available with me or not known to me to obtain them from somewhere/some file.
 
Old 01-19-2012, 05:11 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,411
Blog Entries: 2

Rep: Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995
The OS in the VM normally doesn't see your physical hardware, it will connect through an virtual ethernet adapter to your host. Which setting do you have applied to the network connection (bridged, NAT, host-only, ...)? It should work when it is set to NAT, bridged will also work if you are connected wired, don't know about wireless.
 
Old 01-20-2012, 03:24 PM   #3
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 549

Original Poster
Rep: Reputation: 46
TobiSGD:


Bridged is in place. Earlier on a different RHEL 5.1 VM I used to use a Wired / BroadBand connection without any problem and without having to configure any settings.
 
Old 01-21-2012, 09:01 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,411
Blog Entries: 2

Rep: Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995
Bridged isn't a problem with wired connections, your router will just give it another free IP- I don't know how this works with wireless connections. I would just set it to NAT and bet that it works.
 
  


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
Wireless internet connection with Linux? HalifaxJ Linux - Newbie 6 04-17-2009 01:02 AM
Need help accessing a wireless connection from my laptop. Fabyfakid Ubuntu 4 11-27-2007 11:50 AM
accessing shared Internet Connection on a MS peer to peer LAN from PC running Linux inschris Linux - Networking 2 04-09-2006 02:40 PM
Problems accessing internet through wireless connection setilight Linux - Wireless Networking 2 01-25-2006 02:48 AM


All times are GMT -5. The time now is 03:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration