On Dec 21, 2009, at 1:45 AM, Aleksey Ilyushin wrote:

Hi Ray,

I didn't mean to offend but you might have needed to invest some effort into linux network configuration. Configuring a real Ubuntu system is not that different of configuring it in VM. All you need to do in VirtualBox is to set up IP/netmask in global settings as well as IP range for VirtualBox DHCP server associated with . Moreover, the default settings for vboxnet0 may work well for you, so you just need to check what IP address your vboxnet0 interface has. You can do it from OS X command line with 'ifconfig vboxnet0' after you've started the VM. You don't need to bring up DHCP server in VM, just configure Ethernet interface in VM (most probably eth0) to obtain IP address automatically (which is the default, btw). You can configure it via /etc/network/interfaces or via NetworkManager applet in Gnome (there is a similar thing in KDE, but I don't know the name, look for something resembling a network connection icon in the tray area).

The idea of having a matrix is not feasible imho as there are way too many operating systems and their flavors that can be run in VM. Instead we are trying to have reasonable defaults so it would take zero configuration if one doesn't need anything special. In your case it means that if you boot Ubuntu live CD in VM it should be able to obtain IP address automatically.

Can you send me your VirtualBox.xml, <machine>.xml as well as /etc/ network/interfaces from the guest in private mail? I may be able to tell then why your guest cannot get IP from DHCP server.

Cheers,
Aleksey

I appreciate you willingness to help. It _is_ better when things just work with zero extra configuration. The trick is having this work _and_ having error recovery be obvious. One sets up automatic procedues, but then when there is some problem, those procedures obfuscate the problem. I have seen it a million times...

I will send some you some of this, off-list. Hopefully, we can report back some good things after. And if I can find a wiki to update somewhere with whatever info we find, I would feel a lot better. I have less problems with slogging through mud when I can convince myself that I am making it easier for the next person.

- ray



On Dec 20, 2009, at 8:49 AM, Ray Kiddy wrote:


On Dec 17, 2009, at 12:17 PM, Aleksey Ilyushin wrote:


On Dec 17, 2009, at 10:14 PM, Ray Kiddy wrote:

I went to the Virtual Box application, selected my (non-running) VM, hit the "Network" header and switched the VM to use host-only networking. Then I started my VM. I had hoped I could do "ssh vboxnet0" from my host machine to connect to the guest, but
Instead of vboxnet0, which is the name of the interface, you need to specify the name of the guest (VM) system, or its IP address if the name is not in DNS. You can look up (or change) IP address in global network settings (see below).


Ok. Well, I am not an expert on setting up linux systems. So, I looked elsewhere on the net to find the bits I needed (I think) to the /etc/network/interfaces file in the Ubuntu guest. And I turned on (I think) the DHCP server in VB. And the guests still cannot see anything to get an IP address from.

It seems as though the information problem here is a matrix. I am running VB on platform X. I am trying to run guest OS Y. I am trying to setup up network configuration Z. I have to do procedure A on VB and procedure B on the guests. It seems as though the "open- source-ish" way to do this would be that each of these would be on a wiki. So I would look for an article entitled "Using VB on Mac OS X to set up Ubuntu 9 guests with Host-only Networking."

Instead I find a web page (http://www.virtualbox.org/wiki/ User_HOWTOS) where "articles" are hosted after they are sent in? That doesn't seem very interactive. The "User HOWTO" page seems to cover only about 1/5 of the matrix here.

And I find a phpBB forum system. I moderate a forum system using this for a commercial publisher. It is a PITA to use, there are lots of redundant questioners with no answers to sort through, and the search engine is crap. One might expect this from a commercial publisher, but it does not seem very open-source.

This newtwork setup was pretty painless when I was using Parallels. I guess I will have to go away and come back in a year or two, again, and hope that VBox documentation is using open platforms and the docs may actually be complete enough. We'll see.

In the VirtualBox graphical user interface, you can configure all these items in the global settings via “File” -> “Settings” -> “Network”, which lists all host-only
        networks which are presently in use.
On Mac it is a bit different: "VirtualBox" -> "Preferences", "Network" tab.

Well, VB works on several platforms, and guests can be one of several platforms. If the UI instructions cannot be correct for the given platform, what is the point?

O well.

- ray
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users




_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to