Skip to contentSkip to conversation

Windows Update on guest

Qemu-devel William Greenland 4 participants 6 messages Nov 22, 2004 – Nov 23, 2004

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

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

Quoted 16 lines · William Greenland

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
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#2 lore raw

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.

Quoted 19 lines · Hetz Ben Hamo

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

Quoted 9 lines

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.

#3 lore raw

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

Quoted 49 lines · William Greenland

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.

Quoted 19 lines · Hetz Ben Hamo

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

Quoted 9 lines

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
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 1 line
Darryl Dixon <[email protected]>
#5 lore raw
In reply to William Greenland
Quoted 10 lines · William Greenland

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

#4 lore raw
In reply to Darryl Dixon

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...

Quoted 21 lines

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.