PDA

View Full Version : [ubuntu] 10.04 guest in VirtualBox on Win7 broken host-only adapter



hphenriques
June 6th, 2011, 01:01 AM
Hello,

Thanks for taking a look at this thread.

Setup:
1. Microsoft Windows 7 64-bit Professional HOST Operating System
2. Oracle VirtualBox 4.0.6r71416 on top of Windows 7
3. Ubuntu 10.04 Lucid Lynx 32-bit GUEST Operating System in VirtualBox

I successfully installed the above configuration on May 15, 2011. I had some difficulty getting the Host-Only VirtualBox Adapter to work. I was forced to make a subtle change to the Windows Registry in order to get the Adapter to work correctly. I was successful.

Yesterday, I used the Debian Update Manager to update my installation of Ubuntu. Nothing changed on the Windows 7 side. Now, Windows 7 says that the Host-only adapter is enabled, but I don't have a connection to the Ubuntu OS. I can't use PuTTY or WinSCP.

When I invoke ipconfig on the Windows side, 192.168.56.101 is the IPv4 address.
When I invoke ifconfig on the Ubuntu side, there isn't anything.

Any ideas?

Thanks,
Harry

Jose Catre-Vandis
June 6th, 2011, 01:34 AM
You have guest additions installed?

hphenriques
June 6th, 2011, 01:27 PM
Jose,

Yes, I have Guest Additions installed. Any ideas?

Harry

Jose Catre-Vandis
June 6th, 2011, 06:06 PM
Does the Bridged Adapter/Internal Network/NAT setting work OK? (Just trying to identify where the problem is, I don't have a similar setup to test....)

Also look in File>Settings/Preferences>Network and check that the vBox DHCP server is running and assigning addresses as expected

hphenriques
June 6th, 2011, 08:44 PM
Jose,

The guest OS cannot be running when you are looking at the vBox settings. The Oracle VM VirtualBox Manager has been invoked, but Ubuntu Lucid Lynx is "Powered Off".

File -> Preferences -> Network in VirtualBox Manager from menubar
Host-only Networks: VirtualBox Host-Only Ethernet Adapter
Adapter: Automatically configured
DHCP: Enabled

Settings -> Network in VirtualBox Manager from toolbar
Adapter 1 tab control
Network Adapter Enabled - Attached to: NAT
Adapter 2 tab control
Network Adaptter Enabled - Attached to: Host-only Adapter
Name:VirtualBox Host-Only Ethernet Adapter
Adapter Type: Intel PRO/1000 MT Desktop (82540EM)
Mac Address: 080027CFED32
Cable Connected Enabled

I've looked at all of the settings in vBox, but I can't see one that is improperly configured.

Any Ideas?

Thanks,
Harry

Jose Catre-Vandis
June 6th, 2011, 09:10 PM
Not sure why you need three network adapters (but that's up to you!)

Suggest disabling all three, then building up one by one until you find the problem. I usually run with the Bridged Adapter option on Ubuntu (Host/Guest) or whatever it is called under Windows.

Try one at a time, one at a time, see what works and what doesn't, and keep checking ifconfig along the way

hphenriques
June 6th, 2011, 09:18 PM
Jose,

I only have two network adapters, i.e. NAT and Host-Only Ethernet Adapter.

Thanks for your suggestions.

Harry

hphenriques
June 21st, 2011, 12:56 AM
Jose,

This problem manifested a miraculous self-healing.
After struggling with this problem for several days,
the problem miraculously solved itself. I don't know
what I did to fix this problem, but now it isn't a
problem any longer. Hooray ... I think.

Harry