From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1av9Lt-0001B8-Tr for qemu-devel@nongnu.org; Tue, 26 Apr 2016 16:12:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1av9Lo-0006Dp-R4 for qemu-devel@nongnu.org; Tue, 26 Apr 2016 16:12:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1av9Lo-0006De-Lw for qemu-devel@nongnu.org; Tue, 26 Apr 2016 16:12:52 -0400 References: <3CC6094E-027E-417D-A110-4E60100A9756@gmail.com> <20160426190042.GC25204@work-vm> <9DF8AED7-D573-4CE4-BA8C-897B2A89A183@gmail.com> From: Thomas Huth Message-ID: <571FCBBF.8020405@redhat.com> Date: Tue, 26 Apr 2016 22:12:47 +0200 MIME-Version: 1.0 In-Reply-To: <9DF8AED7-D573-4CE4-BA8C-897B2A89A183@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Is anyone able to load a web page from a guest operating system? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid , "Dr. David Alan Gilbert" Cc: qemu-devel qemu-devel , Samuel Thibault On 26.04.2016 21:25, Programmingkid wrote: >=20 > On Apr 26, 2016, at 3:00 PM, Dr. David Alan Gilbert wrote: >=20 >> * Programmingkid (programmingkidx@gmail.com) wrote: >>> My three guest operating systems can't load a web page. I think this = is a bug with QEMU. Is there anyone who has the latest revision of QEMU t= hat can access the web from a guest? Or are you experiencing the same pro= blem? >> >> Works here. > So you are using a very recent version of QEMU? Maybe something that wa= s pulled in the last day or so? >=20 >> Now - how about some basic debug! >> Does your guest see a network card? > yes >=20 >> Does DNS work? > Doesn't look like it. If I use just an ip address it still doesn't work= . >=20 >> Does ping work? > I can ping the virtual router at 10.0.2.2. Any other ip address fails.=20 That's normal for user-mode / slirp networking. You can't ping external hosts with this mode. >> Does a telnet/ssh from the guest work? > telnet www.google.com 80 failed > Didn't have an address to use ssh on. >=20 >> What's the qemu command line you use? > qemu-system-ppc -hda -hdb -m 512 -boot c -M mac99 -netdev u= ser,id=3Dmynet0 -device usb-net,netdev=3Dmynet0 -cpu 750 -prom-env boot-a= rgs=3D-v -device ich9-usb-uhci1,id=3Dnewusb -device usb-audio,bus=3Dnewus= b.0=20 >=20 > and >=20 > qemu-system-ppc -hda -hdb -m 512 -boot c -M mac99 -netdev u= ser,id=3Dmynet0 -device rtl8139,netdev=3Dmynet0 -cpu 750 -prom-env boot-a= rgs=3D-v -device ich9-usb-uhci1,id=3Dnewusb -device usb-audio,bus=3Dnewus= b.0=20 Ok, that means you're using user-mode / slirp networking. I just tried it with a pseries guest, and it seems to be working fine for me with the current git version of QEMU (f419a626c76bcb266). Now, what kind of host do you use? Mac OS X? Also can you determine a revision when it was still working fine for you? (and then maybe even bisect the problem?) Thomas