[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Windows Update on guest

From: Darryl Dixon
Subject: Re: [Qemu-devel] Windows Update on guest
Date: Tue, 23 Nov 2004 00:05:26 +1300

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:

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


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.


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
Darryl Dixon <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]