How to return from Linux shell (Alt + F1) to the Android-x86 OS desktop?

5,063 views
Skip to first unread message

捷超 王

unread,
Dec 15, 2010, 5:30:23 AM12/15/10
to Android-x86
How to return from Linux shell (Alt + F1) to the Android-x86 OS
desktop?

And how to interpret the IP addresses returned by the "netcfg"? The
second line is:

eth0 UP 10.0.2.15 255.255.255.0 0x00001043

What does "UP" and "0x00001043" mean? Is "10.0.2.15" the real ip
address of eth0?
When I type ipconfig in my physical host (XP) I get:

Ethernet adapter VirtualBox Host-Only Network:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : fe80::a00:27ff:fe00:1cbe%8
Default Gateway . . . . . . . . . :

Note that my physical host is behind a NAT and 192.168.56.1 differs
from 10.0.2.15...

I learnt many from the discussions in this group, many thanks!

kwok

unread,
Dec 15, 2010, 6:20:13 AM12/15/10
to Android-x86
Alt + F7 to turn to OS.

I supposed 'UP' means the interface is on.

kwok

unread,
Dec 15, 2010, 6:22:34 AM12/15/10
to Android-x86
I think you should configure the VirtualBox to 'bridge' your local
host network to the virtual machine's ethernet interface.

On Dec 15, 11:30 am, 捷超 王 <ee07b...@gmail.com> wrote:

Suman Saraf

unread,
Dec 15, 2010, 6:22:59 AM12/15/10
to andro...@googlegroups.com
You are running android-x86 in a virtual machine whose network adapter is configured to use NAT. When you do that Virtualbox will assign it an IP in the range 10.0.x.x, so this is normal.

UP means that the link is up and functional. 0x1043 are flags to suggest that the interface is up and running and can support broadcast and multicast. You can type ifconfig eth0 to get a textual version of the flags.


--- On Wed, 15/12/10, 捷超 王 <ee07...@gmail.com> wrote:

> --
> You received this message because you are subscribed to the
> Google Groups "Android-x86" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-x86...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
>
>



捷超 王

unread,
Dec 15, 2010, 10:25:50 AM12/15/10
to Android-x86
Oh, yes, i see. But http://www.android-x86.org/documents/debug-howto
requires me to configure network as host-only device. I don't know why
host-only is required...

捷超 王

unread,
Dec 15, 2010, 10:29:28 AM12/15/10
to Android-x86
And my another question is that how can I turn off the android-x86 OS
inside except from force it to be closed from virtual machine?

On 12月15日, 下午7时22分, Suman Saraf <saraf_su...@yahoo.com> wrote:
> You are running android-x86 in a virtual machine whose network adapter is configured to use NAT. When you do that Virtualbox will assign it an IP in the range 10.0.x.x, so this is normal.
>
> UP means that the link is up and functional. 0x1043 are flags to suggest that the interface is up and running and can support broadcast and multicast. You can type ifconfig eth0 to get a textual version of the flags.
>
> --- On Wed, 15/12/10, 捷超 王 <ee07b...@gmail.com> wrote:

Suman Saraf

unread,
Dec 15, 2010, 9:17:19 PM12/15/10
to andro...@googlegroups.com, Android-x86
It is not mandatory to have a host only device in order to debug.

You can debug with adb in all the 3 modes - NAT, host only and bridged. For NAT you will have to set up port forwarding (vboxmanage modifyvm --natpf1 ...) for one of the host's TCP port to be forwarded to the guest port 5555.

Sent from my iPad

Reply all
Reply to author
Forward
0 new messages