qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Win98 tun networking - This is what works for me
@ 2004-05-14  1:34 John Murga
  2004-05-14  6:56 ` Hetz Ben Hamo
  2004-05-20 15:18 ` [Qemu-devel] Newbie question Ishwar Rattan
  0 siblings, 2 replies; 3+ messages in thread
From: John Murga @ 2004-05-14  1:34 UTC (permalink / raw)
  To: qemu-devel

Hey

I just set up Win98 under QEmu and haven't had any problems with the 
networking, but as I see some people here seem to be having trouble I 
thought I'd post what worked for me.

First of all I am using Debian and a the latest 0.5.5 QEmu binaries ... 
In addition I have been doing most of this on a laptop that I am often 
connecting to different networks (via DHCP and otherwise), to counter 
this I installed the "dnsmasq" Debian package so that my Host can 
provide my Win98 instance with DNS regardless of what network config I 
am using (as long as the Host works).

I use the script at the end of this mail to set up the network and get 
the Host to route all the requests from the Win98 box to the outside 
world. Just so I could be sure what was happening I configured the Win98 
instance with a fixed IP, Gateway and DNS server as follows :

IP : 192.168.2.2    DNS : 192.168.2.1    Gateway : 192.168.2.1
(Don't forget, DNS is being forwarded by "dnsmasq" on the Host)

I then run QEmu as root with "qemu -hda c.img -m 256 -n net-setup.sh -b c"

I've had no problems running Lotus Notes under a Nortel VPN connecting 
to my work from my Win98SE instance running inside QEmu on my laptop at 
home... The windows "ping" binary seems a bit flaky, but Exodus, putty, 
IE and Explorer (connecting to network drives) work like a dream too, so 
I am pretty impressed :-)

Now I just need a decent video driver for this :-)

Anyway, the contents of the "net-setup.sh" script :

------ CUT HERE ------
#!/bin/bash
/sbin/ifconfig $1 192.168.2.1
/sbin/iptables -D POSTROUTING -t nat -s 192.168.2.0/24 -d ! 
192.168.2.0/24 -j MA
SQUERADE >& /dev/null
/sbin/iptables -t nat -s 192.168.2.0/24 -d ! 192.168.2.0/24 -A 
POSTROUTING -j MA
SQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
------ CUT HERE ------

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

* Re: [Qemu-devel] Win98 tun networking - This is what works for me
  2004-05-14  1:34 [Qemu-devel] Win98 tun networking - This is what works for me John Murga
@ 2004-05-14  6:56 ` Hetz Ben Hamo
  2004-05-20 15:18 ` [Qemu-devel] Newbie question Ishwar Rattan
  1 sibling, 0 replies; 3+ messages in thread
From: Hetz Ben Hamo @ 2004-05-14  6:56 UTC (permalink / raw)
  To: qemu-devel

> Now I just need a decent video driver for this :-)

Here's what David Holm posted, and it seems to work:

These are the steps recommended by Christophe Bothany on the Bochs 
mailinglist
after they added support for truecolor to the VGABIOS:

"- install win95 with the vga driver.
  - download sdd 7 beta from http://www.majorgeeks.com/download382.html
  - download pmhelp.vxd from
      http://unununium.org/viewcvs/snap/redist/release/pmhelp.vxd
  - copy pmhelp.vxd to the win95 system directory
  - install sdd7"

After everything works for you, you can kick out the sdd stuff from the 
startup registry (run: msconfig, click on startup and uncheck the sdd 
stuff. After all, you can't really register the product).

Thanks,
Hetz

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

* [Qemu-devel] Newbie question..
  2004-05-14  1:34 [Qemu-devel] Win98 tun networking - This is what works for me John Murga
  2004-05-14  6:56 ` Hetz Ben Hamo
@ 2004-05-20 15:18 ` Ishwar Rattan
  1 sibling, 0 replies; 3+ messages in thread
From: Ishwar Rattan @ 2004-05-20 15:18 UTC (permalink / raw)
  To: qemu-devel


Just cam to know about qemu. The system is Mandrake-9.1 and found
qemu-0.5.3 rpm for it.

I also downloaded freedos.img.bz2, uncompresses it into c.img. Tried
command
	qemu -hda c.image -boot c

places me in qemu-monitor.

What is correct invocation for running freedos.img?

-ishwar

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

end of thread, other threads:[~2004-05-20 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-14  1:34 [Qemu-devel] Win98 tun networking - This is what works for me John Murga
2004-05-14  6:56 ` Hetz Ben Hamo
2004-05-20 15:18 ` [Qemu-devel] Newbie question Ishwar Rattan

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