VirtualBox no Internet on Ubuntu 8.04.1

Discussions related to using VirtualBox on Linux hosts.
Post Reply
KevinsComputer
Posts: 8
Joined: 20. Sep 2008, 18:00

VirtualBox no Internet on Ubuntu 8.04.1

Post by KevinsComputer »

After much effort and an alternate kernel I get VirtualBox to run. Now I have the problem I have no Internet access in the virtual machine. It shows a network of monitors and even blink. I chosen NAT because otherwise my serverhoster kick me from the network. (No joke) Hope anybody can help me.

Sorry for bad translation I use Google Language Tool because english is not my native language.
t.arnfeld
Posts: 12
Joined: 20. Sep 2008, 20:52
Location: England, UK
Contact:

Internet Access in VM

Post by t.arnfeld »

Hello,
I am perfectly running Windows XP in a VM on my Ubuntu 8.04 and its great! It both working with a wireless internet connection and with cable connection. I have my VM set to ...

PCnet-FAST |||

NAT

... Thats how i have mine setup and it works for me, hope this helps you.
Tom.
KevinsComputer
Posts: 8
Joined: 20. Sep 2008, 18:00

Post by KevinsComputer »

I am using PCnet-FAST ||| but no Internet on Gast.
Maybe the NAT Routing is false.
Can i check the NAT Config with the Terminal ?
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

If you can connect to http://66.102.9.147/ and you get google then its a DNS issue. If this is the case then have a read of http://forums.virtualbox.org/viewtopic.php?t=8392
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
KevinsComputer
Posts: 8
Joined: 20. Sep 2008, 18:00

Post by KevinsComputer »

Hmm my IPs are right.
I use DHCP on Gast an it sets the IP right.
Gateway is 10.0.2.2 and DNS is 10.0.2.3 when using NAT
Can i use my Linux PC as DNS ?

Very strange.
Last edited by KevinsComputer on 20. Sep 2008, 23:46, edited 1 time in total.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Kevin, I asked your one Q and you gave answer to something completely different! What happens when you request you http://66.102.9.147/ in a guest browser?
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
KevinsComputer
Posts: 8
Joined: 20. Sep 2008, 18:00

Post by KevinsComputer »

It works.
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 »

Then your Primary DNS server is wrong. If you get all the IP information from your ISP, complain at them for having a faulty DNS server.
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.
KevinsComputer
Posts: 8
Joined: 20. Sep 2008, 18:00

Post by KevinsComputer »

Hmm. On my Linux PC DNS are working.
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 »

Maybe there is something else running on either the Guest or Host that blocks the Guest DNS lookups.

If you use Windows as Guest, you could try to install the Intel/Pro1000MT driver with that interface set instead of the PCNet adapter. If you have the GA installed, you can use the Shared Folders to get the driver to the Guest.
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.
KevinsComputer
Posts: 8
Joined: 20. Sep 2008, 18:00

Post by KevinsComputer »

I have installed the Gast expansion.
I think its include the drivers.

Ok i get the Intel Driver and I have installed it.
But DNS is still not working...
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

KevinsComputer wrote:It works.
Well in that case, read the b***y topic that I referred you to because it almost certainly explains what your problem is; why it occurs; and how you can fix it. Sometimes, I really do wonder why I answer peoples Qs!
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
KevinsComputer
Posts: 8
Joined: 20. Sep 2008, 18:00

Post by KevinsComputer »

.Should I try this post ?
http://forums.virtualbox.org/viewtopic. ... 1862#31862

EDIT:

I have tryed it but still did not work.
Shit crap of DNS...
KevinsComputer
Posts: 8
Joined: 20. Sep 2008, 18:00

Post by KevinsComputer »

I have choose the easyest way for me.
sudo synaptic
search BIND
install
DNS IP in Gast = my Linux Host IP
And it works fine.


Ok my 2. question is cleared too.
I can use now 10.0.2.3 as DNS IP.
Simply by install BIND via Synaptic.

= Thread Solved
Post Reply