<br><br>
<div class="gmail_quote">On Tue, May 22, 2012 at 10:45 AM, Autif Khan <span dir="ltr"><<a href="mailto:autif.mlist@gmail.com" target="_blank">autif.mlist@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="HOEnZb">
<div class="h5">On Tue, May 22, 2012 at 7:43 AM, jfabernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@gmail.com</a>> wrote:<br>> when testing an image using runqemu qemux86, can you get networking to<br>
> work?? mine comes up disabled. I want to test an application that requires<br>> Internet access.<br><br></div></div>Yes, I am able to get networking to work out of the box (bitbake<br>core-image-sato, etc.) Internetworking does not work out of the box.<br>
<br>This is accomplished over tun/tap devices - I do not know much about<br>these virtual networking devices - they have never failed for me :-)<br><br>The IP address of the emulated machine is 192.168.7.2 - The IP address<br>
of host machine is 192.168.7.1<br><br>You can not (out of the box) communicate with machines other than the<br>host machine - so that would included internet etc.<br><br>So, if you have an ssh server or a web-server running on the host<br>
machine - you can ssh to the host machine or browse a webpage using<br>the browser. Alternatively, you can run a proxy server on the build<br>machine and use it to get to the internet.<br><br>You can run ifconfig to see if the network is configured properly on<br>
the emulated machine in the terminal. It should show 192.168.7.2 - if<br>you do not see this - you do not have networking working.<br></blockquote></div>
<div><br>I can see the tap0 interface on my host at 192.168.7.1 by using ifconfig.</div>
<div>I can also see the eth0 on the qemu machine at 192.168.7.2</div>
<div> </div>
<div>However, my host has an ip of 10.0.1.54 with a AP gateway at 10.0.1.1.</div>
<div> </div>
<div>Somehow I need to connect the networks and I'm not sure exactly how to do that so that DNS servers get used and the traffic all flows.</div>
<div> </div>
<div>Jim A</div>
<div> </div>