qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Windows Update on guest
@ 2004-11-22 10:05 William Greenland
  2004-11-22 10:14 ` Hetz Ben Hamo
  2004-11-22 14:21 ` Joshua Root
  0 siblings, 2 replies; 7+ messages in thread
From: William Greenland @ 2004-11-22 10:05 UTC (permalink / raw)
  To: qemu-devel

Has anyone had any success running "Windows Update" via IE on (any)
MS guest?  I'm using a (Gentoo) Linux host, and I've tried all the
networking configurations I can think of.

Is this even the kind of thing that *should* be working at the moment?

If anyone has this working with a similar setup, I'd be VERY glad to
hear details of how they set up networking.

Will.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Windows Update on guest
  2004-11-22 10:05 William Greenland
@ 2004-11-22 10:14 ` Hetz Ben Hamo
  2004-11-22 10:43   ` William Greenland
  2004-11-22 14:21 ` Joshua Root
  1 sibling, 1 reply; 7+ messages in thread
From: Hetz Ben Hamo @ 2004-11-22 10:14 UTC (permalink / raw)
  To: qemu-devel

Hi William,

Which version of QEMU have you tried? I would suggest to try the
latest CVS or a snapshot from my web site since there was a networking
bug which Fabrice fixed yesterday, and that should let you use the
windows update.

Thanks,
Hetz

On Mon, 22 Nov 2004 10:05:23 +0000, William Greenland
<william.greenland@comlab.ox.ac.uk> wrote:
> Has anyone had any success running "Windows Update" via IE on (any)
> MS guest?  I'm using a (Gentoo) Linux host, and I've tried all the
> networking configurations I can think of.
> 
> Is this even the kind of thing that *should* be working at the moment?
> 
> If anyone has this working with a similar setup, I'd be VERY glad to
> hear details of how they set up networking.
> 
> Will.
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Windows Update on guest
  2004-11-22 10:14 ` Hetz Ben Hamo
@ 2004-11-22 10:43   ` William Greenland
  2004-11-22 11:05     ` Darryl Dixon
  0 siblings, 1 reply; 7+ messages in thread
From: William Greenland @ 2004-11-22 10:43 UTC (permalink / raw)
  To: Hetz Ben Hamo, qemu-devel

Well, I've tried various versions, including the 0.6.0 and 0.6.1
snapshots, and the CVS over the last couple of months.  Admittedly, I
haven't tried the very recent slirp patch you refer to, but then the
problem remains the same with tun/tap networking.

Anyway, I'm doubtful that this is just an "off by one" downloading
error, particularly since I have no problems downloading files.

I think that this issue is a more general networking one.  Do QEMU
processes appear on the network "exactly like machines"?  If so, it
could well be that the problem is not with QEMU, but with the host
providing the network connection.

I will try the slirp patch and see if it helps.  But still, if anyone
HAS got Windows Update to work, I'd be interested to hear about it.

I'd really like to have a detailed account of a working Linux host /
MS guest setup, with complete details (for example) of what networking
options are enabled in the host kernel, etc.

Thanks,
Will.

Hetz Ben Hamo writes:
 > Hi William,
 > 
 > Which version of QEMU have you tried? I would suggest to try the
 > latest CVS or a snapshot from my web site since there was a networking
 > bug which Fabrice fixed yesterday, and that should let you use the
 > windows update.
 > 
 > Thanks,
 > Hetz
 > 
 > > Has anyone had any success running "Windows Update" via IE on (any)
 > > MS guest?  I'm using a (Gentoo) Linux host, and I've tried all the
 > > networking configurations I can think of.
 > > 
 > > Is this even the kind of thing that *should* be working at the moment?
 > > 
 > > If anyone has this working with a similar setup, I'd be VERY glad to
 > > hear details of how they set up networking.
 > > 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Windows Update on guest
  2004-11-22 10:43   ` William Greenland
@ 2004-11-22 11:05     ` Darryl Dixon
  2004-11-23  9:26       ` William Greenland
  0 siblings, 1 reply; 7+ messages in thread
From: Darryl Dixon @ 2004-11-22 11:05 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 2972 bytes --]

Hi William,

    I have successfully used Windows Update for both a Windows 98 guest
and Windows 2003 guest (Linux host).  I have posted to this list
previously the setup that I use, but briefly:
tun/tap enabled in host kernel (most distros this is a default)
run qemu with -n qemu-ifup
contents of qemu-ifup:
#!/bin/bash

/sbin/iptables --flush      #Clear out all old rules.  You will want to
customise this step.

echo 1 >/proc/sys/net/ipv4/ip_forward       #Enable IP Forwarding for
the host OS

/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE   #Enable
MASQUERADEing on the real eth0 NIC

/sbin/ifconfig $1 192.168.0.254         #Bring up tun0 - guest OS NIC
should be on the same subnet with
                                        #a different address; tun0
should be its gateway.


After that just manually configure your guest to use a static IP address
and some external DNS servers and you're away.

Cheers,
D

On Mon, 2004-11-22 at 10:43 +0000, William Greenland wrote:

> Well, I've tried various versions, including the 0.6.0 and 0.6.1
> snapshots, and the CVS over the last couple of months.  Admittedly, I
> haven't tried the very recent slirp patch you refer to, but then the
> problem remains the same with tun/tap networking.
> 
> Anyway, I'm doubtful that this is just an "off by one" downloading
> error, particularly since I have no problems downloading files.
> 
> I think that this issue is a more general networking one.  Do QEMU
> processes appear on the network "exactly like machines"?  If so, it
> could well be that the problem is not with QEMU, but with the host
> providing the network connection.
> 
> I will try the slirp patch and see if it helps.  But still, if anyone
> HAS got Windows Update to work, I'd be interested to hear about it.
> 
> I'd really like to have a detailed account of a working Linux host /
> MS guest setup, with complete details (for example) of what networking
> options are enabled in the host kernel, etc.
> 
> Thanks,
> Will.
> 
> Hetz Ben Hamo writes:
>  > Hi William,
>  > 
>  > Which version of QEMU have you tried? I would suggest to try the
>  > latest CVS or a snapshot from my web site since there was a networking
>  > bug which Fabrice fixed yesterday, and that should let you use the
>  > windows update.
>  > 
>  > Thanks,
>  > Hetz
>  > 
>  > > Has anyone had any success running "Windows Update" via IE on (any)
>  > > MS guest?  I'm using a (Gentoo) Linux host, and I've tried all the
>  > > networking configurations I can think of.
>  > > 
>  > > Is this even the kind of thing that *should* be working at the moment?
>  > > 
>  > > If anyone has this working with a similar setup, I'd be VERY glad to
>  > > hear details of how they set up networking.
>  > > 
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

-- 
Darryl Dixon <esrever_otua@pythonhacker.is-a-geek.net>

[-- Attachment #2: Type: text/html, Size: 5218 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Windows Update on guest
  2004-11-22 10:05 William Greenland
  2004-11-22 10:14 ` Hetz Ben Hamo
@ 2004-11-22 14:21 ` Joshua Root
  1 sibling, 0 replies; 7+ messages in thread
From: Joshua Root @ 2004-11-22 14:21 UTC (permalink / raw)
  To: qemu-devel

William Greenland <William.Greenland@comlab.ox.ac.uk> wrote:

>Has anyone had any success running "Windows Update" via IE on (any)
>MS guest?  I'm using a (Gentoo) Linux host, and I've tried all the
>networking configurations I can think of.
>
>Is this even the kind of thing that *should* be working at the moment?
>
>If anyone has this working with a similar setup, I'd be VERY glad to
>hear details of how they set up networking.
>
>Will.

I have run Windows Update on a 98 SE guest. It Just Worked(tm) with 
user-net; the guest OS was configured to use DHCP. Mac OS X host.

Cheers,
Josh

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Windows Update on guest
       [not found] <41A21B63.2070104@acwsinc.net>
@ 2004-11-22 19:20 ` Darryl Dixon
  0 siblings, 0 replies; 7+ messages in thread
From: Darryl Dixon @ 2004-11-22 19:20 UTC (permalink / raw)
  To: Barry Michels; +Cc: qemu-devel


[-- Attachment #1.1: Type: text/plain, Size: 418 bytes --]

Hi Barry,

    I installed the Windows *2000* drivers for a RealTek RTL8029.  I
have attached them here for your convenience (encrypted with zip -e to
bypass your mail filters ;) - use password 'qemu' to unpack)

Cheers,
D

On Mon, 2004-11-22 at 12:01 -0500, Barry Michels wrote:

> How did you get Windows 2003 to recognize the NE2000 virtual network card?

-- 
Darryl Dixon <esrever_otua@pythonhacker.is-a-geek.net>

[-- Attachment #1.2: Type: text/html, Size: 924 bytes --]

[-- Attachment #2: qemu-rtl8029_driver.zip --]
[-- Type: application/zip, Size: 11945 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Windows Update on guest
  2004-11-22 11:05     ` Darryl Dixon
@ 2004-11-23  9:26       ` William Greenland
  0 siblings, 0 replies; 7+ messages in thread
From: William Greenland @ 2004-11-23  9:26 UTC (permalink / raw)
  To: esrever_otua, qemu-devel

Thanks for the responses.  The network connection is "working", but
sadly there is still some subtle brokenness.  I'm beginning to wonder,
though, whether this is Windows being broken rather than QEMU...

I looked at Darryl's earlier post, and used that configuration,
i.e. putting the tun0 interface and guest NIC on a different subnet,
because putting it on the same subnet (192.168.0.xxx) didn't work for
me.

Maybe it's time to give XP a whirl, see if that works any better...

 > contents of qemu-ifup:
 > #!/bin/bash
 > 
 > /sbin/iptables --flush      #Clear out all old rules.  You will want to
 > customise this step.
 > 
 > echo 1 >/proc/sys/net/ipv4/ip_forward       #Enable IP Forwarding for
 > the host OS
 > 
 > /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE   #Enable
 > MASQUERADEing on the real eth0 NIC
 > 
 > /sbin/ifconfig $1 192.168.0.254         #Bring up tun0 - guest OS NIC
 > should be on the same subnet with
 >                                         #a different address; tun0
 > should be its gateway.
 > 
 > 
 > After that just manually configure your guest to use a static IP address
 > and some external DNS servers and you're away.
 > 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-11-23  9:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <41A21B63.2070104@acwsinc.net>
2004-11-22 19:20 ` [Qemu-devel] Windows Update on guest Darryl Dixon
2004-11-22 10:05 William Greenland
2004-11-22 10:14 ` Hetz Ben Hamo
2004-11-22 10:43   ` William Greenland
2004-11-22 11:05     ` Darryl Dixon
2004-11-23  9:26       ` William Greenland
2004-11-22 14:21 ` Joshua Root

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).