Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Android x86 in QEMU [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Moldmaker
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2010
Posts: 120

PostPosted: Thu Jul 30, 2020 5:10 pm    Post subject: Android x86 in QEMU [solved] Reply with quote

Hi everybody,

I installed android x86 in a virtual machine under QEMU/libvirt. Everything went well, it starts and runs smoothly, except one thing: It can not connect to the internet because it is always asking for a wi-fi connection. In libvirt the network device is activated for the VM.
Does anybody know how to do this? The virtual machine manager is version 2.0.0, libvirt is 6.2.0 and qemu is 5.0.0.
_________________
Mm.


Last edited by Moldmaker on Fri Jul 31, 2020 4:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 17740

PostPosted: Fri Jul 31, 2020 1:54 am    Post subject: Reply with quote

The most likely explanation is that Qemu provided a wired network card to the guest, and since Android is meant for hardware that never has a wired network card, the Android environment you used only knows how to operate wireless network cards. If I am right, then you need to reconfigure Qemu to offer a virtual wireless network card to the guest.
Back to top
View user's profile Send private message
Moldmaker
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2010
Posts: 120

PostPosted: Fri Jul 31, 2020 4:00 pm    Post subject: Reply with quote

Hu wrote:
If I am right, then you need to reconfigure Qemu to offer a virtual wireless network card to the guest.
Thank you for pointing me the right direction. I had to change the network interface model in libvirt from "e1000" to "virtio". That does the trick. My virtual android tablet then found a wifi access point and is now online.
:)
_________________
Mm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum