Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable Genymotion emulator to use the WIFI internet the host is using

The app I am running on Genymotion emulator needs internet. The internet does not seem to work on the Genymotion emulator. I tried to confirm this by opening the browser, and this is what I got:

enter image description here

I am running Windows 7 on my laptop and using the Wifi internet. I opened Oracle VM Virtual box, navigated to Settings > Network, and the following two images show what I see there:

enter image description here

So how do I enable the emulator to use the internet from my computer?

Note: Please tell me in layman terms. I saw articles and questions talking in terms of IP addresses and other things which are strange for me.


EDIT 1:

enter image description here

enter image description here

like image 676
Solace Avatar asked Aug 21 '15 05:08

Solace


3 Answers

goto settings in the device and turn on the device wifi, in the android OS. You haven't mentioned it in your post I'm just covering the basic solutions here.

like image 120
Bhargav Avatar answered Nov 15 '22 05:11

Bhargav


Simply choose the Host-only Adapter for Adapter 1 and NAT for Adapter 2. Make sure the cable-connected is selected(ticked). Host-only can be used to create a network containing the host and a set of virtual machines, without the need for the host's physical network interface. Instead, a virtual network interface (similar to a loopback interface) is created on the host, providing connectivity among virtual machines and the host.

This works for me. Hope it helps.

like image 31
ThorChiam Avatar answered Nov 15 '22 06:11

ThorChiam


Try just turning on the WiFi in GenyMotion and selecting the WiredSSID.

Click to view Genymotion screenshot.

I know this question been answered, but thought a picture would be easy to understand. Hope it helps.

like image 25
Mitali Bhokare Avatar answered Nov 15 '22 04:11

Mitali Bhokare