How do I get Internet on Guest using the wifi of the Host

Discussions related to using VirtualBox on Linux hosts.
Post Reply
CoffeyLover
Posts: 6
Joined: 9. Sep 2008, 16:08

How do I get Internet on Guest using the wifi of the Host

Post by CoffeyLover »

Hey guys, I cannot seem to get internet to my Windows VM. I am using ubuntu 8.04 with Windows XP as my VM. I am a newbie so can someone please tell me how to get wireless internet onto my VM??? Thanks
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Set the Networking option to NAT and you have internet on the Guest. Be sure that the first DNS server on the Host is working correctly (for a simple house wifi connection, this will be only the router and will work just fine).

I will also remove your poll, as it doesn't have anything to do with your issue. I will also change the title, as per the Forum Posting Guide, you need a proper one.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
CoffeyLover
Posts: 6
Joined: 9. Sep 2008, 16:08

Post by CoffeyLover »

Thanks, but I still don't have internet. Is there anything else I can do??
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Any firewall running? Can you access a website through IP address like Google on http://64.233.187.99? If you can, then there is a problem with your DNS setup.
Last edited by Sasquatch on 10. Sep 2008, 17:18, edited 1 time in total.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
CoffeyLover
Posts: 6
Joined: 9. Sep 2008, 16:08

Post by CoffeyLover »

Sasquatch wrote:Any firewall running? Can you access a website through IP address like Google on 64.233.187.99? If you can, then there is a problem with your DNS setup.
When I enter the IP address, it says "Address not valid." There is no firewall enabled.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

I made a small mistake with the post when creating the link, forgot the http:// part. But either way, if it does say that, someting isn't working right here. Are you sure you set everything correctly? Please post your full system config, Host and Guest (settings and all).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
CoffeyLover
Posts: 6
Joined: 9. Sep 2008, 16:08

Post by CoffeyLover »

As you can probably tell, I am a complete newbie. Could you tell me how to get my full system config? Sorry.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Make sure your Host has internet. Once that is working, set the VM with a NIC attached to NAT. Boot the VM and you should have internet. If you use the PCNet adapter and having problems, you can try the Intel/Pro1000MT adapter. Download the driver from the Intel site and use Shared Folders (after you have installed the Guest Additions and set that up) or a different method to get files in the Guest system from the Host to install the drivers.
That should be enough.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
CoffeyLover
Posts: 6
Joined: 9. Sep 2008, 16:08

Post by CoffeyLover »

Sasquatch wrote:Make sure your Host has internet. Once that is working, set the VM with a NIC attached to NAT. Boot the VM and you should have internet. If you use the PCNet adapter and having problems, you can try the Intel/Pro1000MT adapter. Download the driver from the Intel site and use Shared Folders (after you have installed the Guest Additions and set that up) or a different method to get files in the Guest system from the Host to install the drivers.
That should be enough.
How do I get the driver onto my guest?
jpbrown
Posts: 18
Joined: 11. Sep 2008, 01:49

Post by jpbrown »

How do I get the driver onto my guest?
As Sasquatch mentions, you can try to set up a shared folder -- the user guide can walk you through that.

You could also transform it to an iso image with the right tools and load it in through the virtual CD drive. Or you could burn it to a CD and connect the physical CD drive to the vm. Or you could put it on a USB drive and connect the USB drive to the vm. So, there are a lot of ways you can get it to the guest.

You might try the Intel/Pro1000T adapter before all this. While the other adapters did not work for me with Win XP, the 1000T did since it is normally included with XP so you don't have to download it like the 1000MT. If you're lucky, it will work.
CoffeyLover
Posts: 6
Joined: 9. Sep 2008, 16:08

Post by CoffeyLover »

Thank you all for your help. I finally figureed out how to set up Shared Folders and downloaded the driver for the Intell Pro/1000 MT. My internet now works fine. Do you know how to set up USB. I tried, but I get the error message--


Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.


Result Code:
0x80004005
Component:
Host
Interface:
IHost {81729c26-1aec-46f5-b7c0-cc7364738fdb}
Callee:
IMachine {31f7169f-14da-4c55-8cb6-a3665186e35e}

Any advice?
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Read the User Doc and the FAQ! for Installation of USBFS. This is declared step by step, so no rewritten is needed.
Post Reply