[opensuse] running a virtualbox vm with network adapter host in 12.1
Hello, I just updated a 11.2 server to 12.1. I had a running VM and as far as I remember I used it with host only networking (access to it is done by SuSEfirewall2). I can't anymore. I use it as user "virtual". When I try to launch it I just have an error message "VBoxHeadless -startvm s-r Oracle VM VirtualBox Headless Interface 4.1.4_OSE (C) 2008-2011 Oracle Corporation All rights reserved. Error: failed to start machine. Error message: Nonexistent host networking interface, name '' (VERR_INTERNAL_ERROR) " in yast I don't see any VirtualBox network (on the host, of course I can't connect to a non running guest) now I'm at home, with only ssh access, but I can manage to have VNC if necessary or even to move to the server location :-( thanks jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Samstag, 31. Dezember 2011 schrieb jdd:
I just updated a 11.2 server to 12.1.
Which VirtualBox version did you use on 11.2? Maybe newer versions do not automatically create the host only network interface?
I had a running VM and as far as I remember I used it with host only networking (access to it is done by SuSEfirewall2).
I can't anymore.
First, there are some dedicated VirtualBox mailing list: https://www.virtualbox.org/wiki/Mailing_lists
I use it as user "virtual". When I try to launch it I just have an error message
"VBoxHeadless -startvm s-r Oracle VM VirtualBox Headless Interface 4.1.4_OSE (C) 2008-2011 Oracle Corporation All rights reserved.
Error: failed to start machine. Error message: Nonexistent host networking interface, name '' (VERR_INTERNAL_ERROR) "
Some googling told me: https://manual.cs50.net/VirtualBox#Nonexistent_host_networking_interface.2C_...
in yast I don't see any VirtualBox network (on the host, of course I can't connect to a non running guest)
I do not use YaST for this, however "ip a" shows any vboxnet interface on my 11.4. You need the vboxnet networking interface running on your host for host only networking interfaces in your guest. What does "lsmod | grep vbox" say? Here, vboxnetadp and vboxnetflt are loaded.
now I'm at home, with only ssh access, but I can manage to have VNC if necessary or even to move to the server location :-(
There is a command line interface for configuring your virtual machines called vboxmanage, including network: https://www.virtualbox.org/manual/ch08.html Does "vboxmanage list hostonlyifs" show any host only networling interfaces? Here it looks like: jan@karl:~> vboxmanage list hostonlyifs Name: vboxnet0 GUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Dhcp: Disabled IPAddress: 192.168.xxx.xxx NetworkMask: 255.255.255.0 IPV6Address: IPV6NetworkMaskPrefixLength: 0 HardwareAddress: xx:xx:xx:xx:xx:xx MediumType: Ethernet Status: Down VBoxNetworkName: HostInterfaceNetworking-vboxnet0 In the outout of "vboxmanage showvminfo <uid>|<name>" there are some lines starting with "NIC". Can you find any trace of your "hostonly" networking interface? Gruß Jan -- Human beings are consistently inconsistent. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 31/12/2011 14:29, Jan Ritzerfeld a écrit :
Am Samstag, 31. Dezember 2011 schrieb jdd:
I just updated a 11.2 server to 12.1.
Which VirtualBox version did you use on 11.2? Maybe newer versions do not automatically create the host only network interface?
donb't remember, but your guess is likely
First, there are some dedicated VirtualBox mailing list: https://www.virtualbox.org/wiki/Mailing_lists
I know, I will try if nothing here
Some googling told me: https://manual.cs50.net/VirtualBox#Nonexistent_host_networking_interface.2C_...
this only made me notice that I didn't give a name to the network adapter. I did with VBoxManage modifyvm s-r --hostonlyadapter1 vboxnet0 but still the error message: VBoxHeadless -startvm s-r Oracle VM VirtualBox Headless Interface 4.1.4_OSE (C) 2008-2011 Oracle Corporation All rights reserved. Error: failed to start machine. Error message: Nonexistent host networking interface, name 'vboxnet0' (VERR_INTERNAL_ERROR)
I do not use YaST for this, however "ip a" shows any vboxnet interface on my 11.4.
none here You need the vboxnet networking interface running on your host for
host only networking interfaces in your guest.
I just wonder how to create it
What does "lsmod | grep vbox" say? Here, vboxnetadp and vboxnetflt are loaded.
lsmod | grep vbox vboxpci 27050 0 vboxnetadp 13328 0 vboxnetflt 27588 0 vboxdrv 269262 3 vboxpci,vboxnetadp,vboxnetflt I have the same at home (12.1) and there I have the vboxnet0 interface...
There is a command line interface for configuring your virtual machines called vboxmanage, including network:
yes, and I have only this to work :-(
https://www.virtualbox.org/manual/ch08.html
Does "vboxmanage list hostonlyifs" show any host only networling interfaces?
VBoxManage list hostonlyifs long waiting, empty result
In the outout of "vboxmanage showvminfo<uid>|<name>" there are some lines starting with "NIC". Can you find any trace of your "hostonly" networking interface?
VBoxManage showvminfo s-r | grep NIC NIC 1: MAC: 080027D93404, Attachment: Host-only Interface 'vboxnet0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny may be I forgot to install something or there is an other VBoxManage command to issue... thanks jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Samstag, 31. Dezember 2011 schrieb jdd:
Le 31/12/2011 14:29, Jan Ritzerfeld a écrit : [...]
I do not use YaST for this, however "ip a" shows any vboxnet interface on my 11.4.
none here
Sorry, this was a red herring. I already started a virtual machine today. And only then, it is created here. After a fresh reboot, vboxnet0 is missing here, too.
You need the vboxnet networking interface running on your host for
host only networking interfaces in your guest.
I just wonder how to create it [...]
"VBoxManage hostonlyif create" creates vboxnet1 here without having to use the GUI. Gruß Jan -- There are two reasons for doing things, a very good reason and the real reason. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 31/12/2011 18:02, Jan Ritzerfeld a écrit :
"VBoxManage hostonlyif create" creates vboxnet1 here without having to use the GUI.
YES! then vboxnet0 is created and the virtualmachine boots. That said I can't connect with it I still have to verify the network setup in the guest we are going in the good direction, thanks to you!! thanks jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Samstag, 31. Dezember 2011 schrieb jdd:
Le 31/12/2011 18:02, Jan Ritzerfeld a écrit :
"VBoxManage hostonlyif create" creates vboxnet1 here without having to use the GUI.
YES!
then vboxnet0 is created and the virtualmachine boots.
Phew!
That said I can't connect with it
I still have to verify the network setup in the guest
Interesting. My first idea was that the MAC address has changed, but IIRC you only gave the network interface a name.
we are going in the good direction, thanks to you!!
Your are welcome! Gruß Jan -- A candidate is a person who gets money from the rich and votes from the poor to protect them from each other. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
well... just an update it sort of worked, but not completely. I could manage to make VNC run on the server, so I could access the graphical virtualbox interface and so work in the guest. so, on the host, I have a virtual network 192.168.56.1 working. on the guest, I have access to the internet and could make an update (zypper up) - the network is fixed, 192.168.56.2. still I can't access the virtual guest from the host (and of course not anybetter from outside - my home). The firewall works like a gateway/masquerade as it always did, but from the host it have no use. I yet have to try to explore the network config from the guest and from the host to see where is going the guest internet access... jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Sonntag, 1. Januar 2012 schrieb jdd:
[...] so, on the host, I have a virtual network 192.168.56.1 working.
on the guest, I have access to the internet and could make an update (zypper up) - the network is fixed, 192.168.56.2.
Do you have any other network interface than host only? Because, AFAIK, host only does not give the guest internet access.
still I can't access the virtual guest from the host (and of course not anybetter from outside - my home).
"ping 192.168.56.1" works from where? Host? Guest? Both? And "ping 192.168.56.2" works from where? Host? Guest? Both?
The firewall works like a gateway/masquerade as it always did, but from the host it have no use.
The firewall on the guest?
I yet have to try to explore the network config from the guest and from the host to see where is going the guest internet access...
As you said the guest has a static network address, I assume you do not use the virtual box built-in dhcp server. So, are the routes correctly set on both systems, that is, host and guest ("ip r")? Gruß Jan -- Beauty may only be skin deep, but ugly goes clean to the bone. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 02/01/2012 08:52, Jan Ritzerfeld a écrit : (...) thanks, now it works. may be I did something wrong in the tests yesterday (tired :-(). Also the upgrade (11.2->12.1) didn't keep the service settings, so I had no more sshd on the virtual machine, which makes it difficult to connect :-). the apache2 config is not either working, but I think I can manage this now that the ntwork works thanks all for your help just a last note: VNC do not send correctly the keyboard - I'm in QWERTY with VNC and AZERTY (good) with ssh... jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Jan Ritzerfeld
-
jdd