--
You received this message because you are subscribed to the Google Groups "UBOS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ubos-dev+u...@googlegroups.com.
To post to this group, send email to ubos...@googlegroups.com.
Visit this group at https://groups.google.com/group/ubos-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ubos-dev/9c2a6626-bfa5-4e6c-8706-0eeb5aaa221d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<systemctl-status.png>
You seem to have two unrelated issues.1. Virtualbox kernel modules. It’s borked. Sorry. Analysis in bug report [1] and a workaround that just worked for me.
2. Networking. You cannot reach your virtual machine from the host if you run NAT (just like you can’t reach your computer behind your home router from the public internet, unless you forward ports on your router / VirtualBox app), so that is how it should be.
If you intend to make your virtual machine accessible from your host and/or other devices on the local network, bridged is indeed what you should do, and that should work — your router willing. I have not seen this not working in home networks, but sometimes it does not work in more tightly managed corporate networks. If all fails, you can attempt to assign a static IP address from inside UBOS (“ubos-admin setnetconfig standalone”) and see whether you can reach this from outside the VM.
On Nov 15, 2016, at 4:20, Julian Foad <jul...@foad.me.uk> wrote:
When I said I'm trying "the NAT configuration" I was referring to the second of the two options for avoiding this problem, in step 5 in http://ubos.net/docs/users/installation/virtualbox.html
configuring two network adapters, one as NAT and one as "host-only".
But I don't know exactly which addresses, if any, I should be able to ping from outside the VM, to test that it's working.
On the UBOS VM, "ip addr" shows
...
2: enp0s3: ...
inet 10.0.2.15/24
3: enp0s8: ...
inet 192.168.56.101/24
neither of which I can ping from the host.
If you intend to make your virtual machine accessible from your host and/or other devices on the local network, bridged is indeed what you should do, and that should work — your router willing. I have not seen this not working in home networks, but sometimes it does not work in more tightly managed corporate networks. If all fails, you can attempt to assign a static IP address from inside UBOS (“ubos-admin setnetconfig standalone”) and see whether you can reach this from outside the VM.
Trying a single "bridged" adapter again... "ip addr" in the UBOS VM shows one adapter "enp0s3" but with no ip4 address:
1: lo: ...
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 ... qlen 1000
link/ether 08:00:27:... brd ff:ff:ff:ff:ff:ff
inet6 fe80::.../64 scope link
valid_lft forever preferred_lft forever
I appreciate your help this far. Any further ideas?
VirtualBox networking can be confusing. I don’t think this is a UBOS issue. https://www.virtualbox.org/manual/UserManual.html has a bunch of info on it.
I just tried on the most recent yellow, and it works fine for me. Check your virtualbox setup according to their manual — I forgot whether there was any Virtualbox magic incantation one had to do to get this to work. And of course, check your DHCP server that it actually hands out an IP address to the virtual mac address of your virtual machine. Otherwise, I don’t know.
(mDNS isn't working yet, but never mind, that can come later.)