wifi and network on virtual box ubuntu not working

This is for discussing general topics about how to use VirtualBox.

wifi and network on virtual box ubuntu not working

Postby Thapi » 16. May 2021, 09:05

I have installed ubuntu on oracle vm which is installed on ubuntu.
host : ubuntu 20.*
vm : oracle 6.1
installed ubuntu on vm.

i am unable to connect to wifi on ubuntu vm can not update ubuntu on vm as there is no wifi can not communicate with host(ubuntu) with vm(ubuntu)

can any one help suggest.

actually i was trying to create kubernetes cluster with multiple nodes one on host and one on vm.
Thapi
 
Posts: 2
Joined: 16. May 2021, 09:01

Re: wifi and network on virtual box ubuntu not working

Postby mpack » 16. May 2021, 10:11

There is no virtual WiFi NIC, so unless you bought a USB one there's no way for a VM to "see" WiFi. It will see a simulated Ethernet connection as always. Stick to NAT networking, it's the simplest. Don't worry about how it works.
mpack
Site Moderator
 
Posts: 34238
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: wifi and network on virtual box ubuntu not working

Postby Thapi » 17. May 2021, 13:36

Thanks mpack,
i just put it to NAT and wifi is working now.

I am able to ping my host(ubuntu) ip from vm(ubuntu), but i am unable to ping vm from host.
can anyone share any links to implement networking between host and vm. both ubutu .
Thapi
 
Posts: 2
Joined: 16. May 2021, 09:01

Re: wifi and network on virtual box ubuntu not working

Postby mpack » 17. May 2021, 16:18

NAT by its very nature will ignore unsolicited packets, i.e. it will only accept reply packets. Good for security, not so good for ping.

Also, you have to think about what network you're on. The NAT network is virtual, it doesn't exist outside the VM process.

Have a read of Tutorial: VirtualBox Networks - In Pictures.
mpack
Site Moderator
 
Posts: 34238
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: wifi and network on virtual box ubuntu not working

Postby BdazmedPrim » 17. Jun 2021, 17:06

Thanks, folks, was very helpful for me - you and NAT are made my day!
BdazmedPrim
 
Posts: 1
Joined: 17. Jun 2021, 16:18
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Unbutu/Kali, Win XP


Return to Using VirtualBox

Who is online

Users browsing this forum: No registered users and 10 guests