mrxixar / live-android

Automatically exported from code.google.com/p/live-android
0 stars 0 forks source link

Qemu networking issue in 0.2 liveandroid #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am using Acer laptop Travelmate C200....contains Intel built-in
networking LAN/wifi....I am able to boot the liveandroid fully with command
line qemu option:

qemu -m 256 -cdrom liveandroidv0.2.iso -boot d -kernel-kqemu -net
nic,vlan=0 -net user,vlan=0,hostname=android

There is 15% battery error and webbrowsing doesn't work....Above QEMU
options for the networking work good with other qemu-linux emulations and I
have been using many distros with internet browsing but liveandroid 0.2
doesn't work...I have gone thru the "networking howto" on this website and
confirm that the eth0 is not available from alt-F1 command terminal(No such
device) even after doing mkdir /data/misc/dhcp # dhcpcd eth0...No device...

Kindly help with this issue...how virtualbox is getting thru??? and QEMU
doesn't?

Regards,
Shahbaz

Original issue reported on code.google.com by drshab...@gmail.com on 15 Jul 2009 at 5:45

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello again...Sucesss atlast with 0.2 version.Correct instruction is to add
model=pcnet. So we type at terminal:

qemu -m 256 -cdrom liveandroidv0.2.iso -boot d -net nic,model=pcnet -net
user,vlan=0,hostname=androidx86

and voila we have android and internet full working....Now someone should write 
a
QEMU howto in detail on wiki page...:)

NOTE: 
a) You can use kqemu module to speed up booting and adding option 
"-kernel-kqemu" to
above command for full virtualization at kernel level.By default, QEMU will 
still use
"user mode"kqemu module which we have been loaded with "modprobe kqemu" or 
loaded at
boot with "kqemu" entry in /etc/modules in ubuntu.
b) To check whether Kqemu accelerator is running or not press Ctrl+Alt+2 in the 
Qemu
windows. Then type info kqemu in the command prompt. If it show kqemu is enabled
thats mean your QEMU is running with accelerator. Now press Ctrl+Alt+1 and up 
comes
the android.
c) Use Alt+F1 to go to shell console and Alt+F7 to switch back to gui. 
d) Use Ctrl+Alt to focus out of QEMU windows.
Cheers!

Original comment by drshab...@gmail.com on 25 Jul 2009 at 1:16

GoogleCodeExporter commented 9 years ago
Btw, you can use kvm instead of QEMU to benefit of hardware-accelerated 
virtualization:

kvm -m 512 -cdrom liveandroidv0.2.iso -boot d -net nic,model=pcnet -net 
user,vlan=0,hostname=androidx86

Original comment by yglodt on 31 Oct 2009 at 11:48