Hi,

I was trying to access QEMU machine from other host (the host from where the 
machine is not being run). Below is the output of the command 'runqemu qemuarm 
(Primarily a core-image-minimal-dev image) ".

$ runqemu qemuarm

Continuing with the following parameters:
KERNEL: 
[/home/test/yocto/poky/build/tmp/deploy/images/qemuarm/zImage-qemuarm.bin]
ROOTFS: 
[/home/test/yocto/poky/build/tmp/deploy/images/qemuarm/core-image-minimal-dev-qemuarm-20141124054625.rootfs.ext3]
FSTYPE: [ext3]
Acquiring lockfile for tap0...
Using preconfigured tap device 'tap0'
If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu 
skip tap0.
Running qemu-system-arm...
/home/test/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-arm 
-kernel 
/home/test/yocto/poky/build/tmp/deploy/images/qemuarm/zImage-qemuarm.bin -net 
nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -M versatilepb 
-hda 
/home/test/yocto/poky/build/tmp/deploy/images/qemuarm/core-image-minimal-dev-qemuarm-20141124054625.rootfs.ext3
 -no-reboot -show-cursor -usb -usbdevice wacom-tablet -no-reboot -m 128 
--append "root=/dev/sda rw console=ttyAMA0,115200 console=tty 
ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M highres=off "

Now when I try to ping a host from QEMU host. So for ping 192.168.42.46 I get a 
proper reply and it work fine. But when I try vice versa I get timeout error as 
below
ping 192.168.7.2
PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data.
>From 192.168.7.1 icmp_seq=2 Destination Host Unreachable
>From 192.168.7.1 icmp_seq=3 Destination Host Unreachable
>From 192.168.7.1 icmp_seq=4 Destination Host Unreachable

So any thoughts how to fix this issue as need make my QEMU machine to talk to 
external world.

Thanks,
Abhinav
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to