No network access from Centos 6.5

Discussions related to using VirtualBox on Windows hosts.
sej222
Posts: 12
Joined: 6. Aug 2014, 23:49

Re: No network access from Centos 6.5

Post by sej222 »

@Perryg - Yes, it is still NAT. I'm following you since you're the expert. :) Got nothing from that command:
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe list natnets

C:\Program Files\Oracle\VirtualBox>
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No network access from Centos 6.5

Post by Perryg »

It appears that something is not installed. I would try removing this version and installing version 4.3.12 and see if it all sorts itself out.
http://download.virtualbox.org/virtualbox/4.3.12/
sej222
Posts: 12
Joined: 6. Aug 2014, 23:49

Re: No network access from Centos 6.5

Post by sej222 »

@Perryg - This is getting worse ...
I uninstalled 4.3.14 but the uninstall failed. It still showed on the list of programs. I pressed on and installed 4.3.12. Installed centos on a new VM. After the packages are installed, a dialog comes up saying to reboot. I clicked the reboot button and got a popup:
Oracle VM VirtualBox Manager has stopped working
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. [close program button] I clicked the button.
Oracle VM VirtualBox Manager window is still there with a cursor busy icon for a long time, then stops. Centos6.5a shows on the left panel, labled "Aborted". VMManager appears normal. I pressed on and the centos seemed OK, but when I leave it, I get the same popup.

I tried to get to a completely clean environment to start fresh again. I uninstalled 4.3.12, which also gave me errors. By running uninstall multiple times on each, eventually all trace of both versions was gone. btw, I also deleted all the vms. I found some files in .Virtualbox in the home directory and deleted those. Nothing in the Program Files directory. I even checked regedit. Nothing. So I did a clean install of 4.3.12 and got the same popup in the same place. So I'm stuck.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No network access from Centos 6.5

Post by Perryg »

Doesn't sound good at all. This usually means the host OS has something wrong.
Can you post the VBoxsvc.log? Should be in the same place as the VirtualBox.xml.
Also this popup said it would give you some more information, did it and what was it exactly?
sej222
Posts: 12
Joined: 6. Aug 2014, 23:49

Re: No network access from Centos 6.5

Post by sej222 »

Popup did not give any more info.
Here's the log:
VirtualBox COM Server 4.3.12 r93733 win.amd64 (May 16 2014 13:57:11) release log
00:00:00.001001 main Log opened 2014-08-08T22:44:22.959050100Z
00:00:00.001001 main Build Type: release
00:00:00.001001 main OS Product: Windows 8.1
00:00:00.001001 main OS Release: 6.3.9600
00:00:00.001001 main OS Service Pack:
00:00:00.011009 main DMI Product Name: Satellite S855
00:00:00.016013 main DMI Product Version: PSKFUU-0J700E
00:00:00.016013 main Host RAM: 12172MB total, 10233MB available
00:00:00.016013 main Executable: C:\Program Files\Oracle\VirtualBox\VBoxSVC.exe
00:00:00.016013 main Process ID: 4036
00:00:00.016013 main Package type: WINDOWS_64BITS_GENERIC
00:00:00.126176 usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
00:00:00.384639 HostDnsMonitorProxy: Host's DNS information updated:
00:00:00.384639 DNS server 1: 192.168.66.45
00:00:00.384639 DNS server 2: 192.168.66.55
00:00:00.384639 DNS domain: lsa.int.threatmetrix.com
00:00:00.384639 VDInit finished
00:00:00.881546 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
00:00:01.722557 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
00:00:03.174536 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
00:00:20.288586 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
00:00:21.819689 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
00:01:42.427377 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={480cf695-2d8d-4256-9c7c-cce4184fa048} aComponent={Machine} aText={This machine does not have any snapshots}, preserve=false
00:02:36.569940 ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={480cf695-2d8d-4256-9c7c-cce4184fa048} aComponent={Machine} aText={Machine is not locked for session (session state: Unlocked)}, preserve=false
00:02:36.784840 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={3295e6ce-b051-47b2-9514-2c588bfe7554} aComponent={ExtPackManager} aText={No extension pack by the name 'Oracle VM VirtualBox Extension Pack' was found}, preserve=false
00:02:36.795992 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={480cf695-2d8d-4256-9c7c-cce4184fa048} aComponent={SessionMachine} aText={Saved screenshot data is not available (VERR_NOT_SUPPORTED)}, preserve=false
00:02:55.198025 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
00:07:55.191744 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
00:24:29.989685 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
00:40:04.093324 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
00:40:06.486479 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
01:10:03.338703 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
01:12:19.035870 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
01:35:28.548046 USBPROXY usbLibDevStrDrEntryGet: DeviceIoControl 1 fail winEr (31)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No network access from Centos 6.5

Post by Perryg »

It's looking for the extension pack that matches the installed version. Have you installed it? You should be able to boot it though if you disable USB2 in the guest settings.
sej222
Posts: 12
Joined: 6. Aug 2014, 23:49

Re: No network access from Centos 6.5

Post by sej222 »

No, I was just marching through the startup wizard. This was the initial install.
sej222
Posts: 12
Joined: 6. Aug 2014, 23:49

Re: No network access from Centos 6.5

Post by sej222 »

hmm, USB 2.0 is not enabled. Should I disable USB altogether?
sej222
Posts: 12
Joined: 6. Aug 2014, 23:49

Re: No network access from Centos 6.5

Post by sej222 »

@Perryg, any other suggestions?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No network access from Centos 6.5

Post by Perryg »

Like I said earlier the situation you have sounds like a host issue. Maybe someone that actually uses Windows as host ( I haven't for years ) can see something else to have you try.
popx2004
Posts: 1
Joined: 10. Nov 2014, 15:07

Re: No network access from Centos 6.5

Post by popx2004 »

Anyone who finds this and is still running into the same problem I managed to fix it by editing

/etc/sysconfig/network-scripts/ifcfg-eth0: to

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: No network access from Centos 6.5

Post by loukingjr »

fwiw, when I installed CentOS 7 the first time I had no access. It turned out I had to set the network while installing.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
rpatriarche
Posts: 1
Joined: 11. Apr 2015, 20:13

Re: No network access from Centos 6.5

Post by rpatriarche »

Thanks popx2004, you save my time!!!
guest=centos 6.5 - host=win8.1 - virtualbox 4.3.26
Marco Sulla
Posts: 35
Joined: 14. Sep 2015, 23:48

Re: No network access from Centos 6.5

Post by Marco Sulla »

popx2004 wrote:Anyone who finds this and is still running into the same problem I managed to fix it by editing

/etc/sysconfig/network-scripts/ifcfg-eth0: to

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
Thank you popx! It worked also on Red Hat 6.5 on Linux host.
HelpfulFriend
Posts: 1
Joined: 13. Mar 2016, 20:39

Re: No network access from Centos 6.5

Post by HelpfulFriend »

Hi friends,

You can use NAT adapter in VM Box.
All You need to do is turn off the firewall in CentOS!
Just go to terminal and type:
systemctl disable firewalld

Then You can check the status of firewall by a command:
systemctl status firewalld

Now You may use FireFox in Your CentOS.
You may also want to stop Firewall but it is not neccessary if it is already disabled in CentOS:
systemctl stop firewalld

It works on Centos 6 and 7 too.

Source: liquidweb[dot]com/kb/how-to-stop-and-disable-firewalld-on-centos-7/
Post Reply