Page 1 of 1

Internet connection problem in guest OS

Posted: 28. Jan 2012, 21:17
by MiKenning
I am running Ubuntu 11.10 in my virtualbox manager and for some reason, the network icon never shows a green status circle below it. There is barely an internet connection and it is very spontaneous when the guest OS wants to connect to the internet.

I can connect to the internet in my host OS.

How can I fix this problem?

Let me know if you need any logs from the OS, thanks.

Re: Internet connection problem in guest OS

Posted: 28. Jan 2012, 21:55
by Perryg
Post the results of the following
lspci
ifconfig -a

Re: Internet connection problem in guest OS

Posted: 28. Jan 2012, 23:30
by MiKenning

Code: Select all

eth5      Link encap:Ethernet  HWaddr 08:00:27:7a:83:f5  
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe7a:83f5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:523 errors:0 dropped:0 overruns:0 frame:0
          TX packets:450 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:158956 (158.9 KB)  TX bytes:49563 (49.5 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:134 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:16965 (16.9 KB)  TX bytes:16965 (16.9 KB)

Re: Internet connection problem in guest OS

Posted: 28. Jan 2012, 23:31
by MiKenning

Code: Select all

00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
00:06.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:0d.0 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)

Re: Internet connection problem in guest OS

Posted: 29. Jan 2012, 00:15
by Perryg
eth5 for the interface usually means several MAC changes. Ubuntu really likes eth0 for the default port and the NM.
You can try fixing this by editing the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot to see if it helps.

Re: Internet connection problem in guest OS

Posted: 29. Jan 2012, 00:28
by MiKenning
Perryg wrote:eth5 for the interface usually means several MAC changes. Ubuntu really likes eth0 for the default port and the NM.
You can try fixing this by editing the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot to see if it helps.
It says I cannot delete the file due to admin permissions.

Re: Internet connection problem in guest OS

Posted: 29. Jan 2012, 00:34
by Perryg
use terminal and run as sudo.

Re: Internet connection problem in guest OS

Posted: 29. Jan 2012, 00:54
by MiKenning
Perryg wrote:use terminal and run as sudo.
I think that solved it... not too sure... Hard to tell...