Virtualbox image - no network

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
baz123
Posts: 166
Joined: Thu Jan 12, 2017 9:23 pm

Virtualbox image - no network

Post by baz123 »

I have downloaded a fresh Virtualbox image and imported it into a new Virtualbox installation. It boots fine, but I can only get a network connection by switching to NAT before it boots first time. However, I really want it in bridged mode so I can easily access it elsewhere on my network.

Any tips on what the network settings should be? I have tried all sorts of settings. Is the emulated network card important?
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Virtualbox image - no network

Post by MichaIng »

Hmm, for me this worked. I enabled bridged mode, chose my hosts internet adapter, chose the virtio-net virtual adapter and set static IP etc on guest matching subnet. DHCP worked for me first not on Jessie image and I needed the MAC to match the hosts internet MAC. Somehow on the fresh Stretch image I just created, DHCP and individual MAC worked. It is going through tests now and will be released hopefully soon.

I use Windows host where you have to be sure, that virtualbox bridged extension is enabled in internet network adapter. No idea how this is solved on Linux.
Post Reply