generic_device icon indicating copy to clipboard operation
generic_device copied to clipboard

How to make android emulator connect to the Internet?

Open lintcoder opened this issue 7 years ago • 1 comments

Hi, I refer to https://github.com/robherring/generic_device/wiki/Running-QEMU-KVM for how to run qemu, and I wonder how can I make the android emulator connect to the Internet ? @robherring

lintcoder avatar Feb 26 '18 01:02 lintcoder

@lintcoder The qemustart script used by OpenWrt may help a bit [1]. It requirea virtio-net support in the guest kernel.

But if I remember it correctly, qemu user mode network will do nat for tcp and udp automatically. You may need to investigate deeper the cause

[1] https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=scripts/qemustart;h=5af93b9aedb3133b7b640c483b31cff4650b763a

yousong avatar Apr 24 '18 16:04 yousong