Lior W. <
lwc...@gmail.com> 於 2019年3月26日 週二 上午5:29寫道:
>
> When installed under VirtualBox, Android-x86 acts as if it has constant 3g connection.
> Meanwhile, if you enable Wi-Fi it gets immediately turned off, as documented in
https://android.stackexchange.com/questions/209434/why-cant-wi-fi-be-enabled-in-android-x86-inside-virtuabox
>
> I don't really understand the logic of faking 3g instead of Wi-Fi.
> For all intents and purposes the virtual machine/device can only get Internet connection via either Ethernet or Wi-Fi, as VirtualBox is a computer program, not a mobile app. Only computer hosts are meant to install VirtualBox.
> This means any app you install inside Android-X86 will enjoy Ethernet/Wi-Fi connection. So why forcing the app to think otherwise?
> The repercussion of the 3g approach is a complete inability to run any app that searches for Network devices (for example, Chromecast or iRobot Home) even though those devices are really on those networks.
Interesting you think it's a faking 3G.
We don't implement such a feature. It's Ethernet.
VirtualBox doesn't simulate a Wifi peripheral.
Why do you think you can turn on Wifi in VirtualBox?
The fact is, some (bad?) apps don't like Ethernet.
They only accept 3G or wifi connection.
If we have a fake 3G, there won't be an issue.
I agree it's a good feature if we can
fake 3G or wifi to make these apps happy.
Faking 3G is not that easy. Faking wifi is easier via the new
CONFIG_VIRT_WIFI option introduced in new kernel.
I'll put it to the todo list. But it's not high priority.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org