> Sorry for the delay in responding, but I was
> out of town and limited to a dial-up
> connection, and I wanted to actually try it
> and do some experimenting.

> I have tried it, and, surprise! I
> experienced problems such as you described.

> One bug: In order to configure tun you need
> a utility called tunctl. This comes in a
> package called uml-utilities. So, you need
> to:

> apt-get install uml-utilities

> (Or use Synaptec.)

> Then (as root):

> ~# tunctl -u username -t tun0

> (where "username" is your normal
> non-root login user name.)

> Then, running ifconfig tun0 10.0.0.1 up
> should work.

Yes it works now.

> In addition, somewhere along the line all
> this creates a shell script in /etc called
> qemu-ifup. This script uses sudo to run
> ifconfig. Unfortunately, Mepis Linux doesn't
> provide for the user to use sudo so you will
> need to use visudo to edit /etc/sudoers to
> add your username under root. Hopefully
> you're more comfortable with vi than I am.
> :-)

There's no better editor once you get used to it

> Then qemu should load and boot Windows with
> no error messages.

Excellent! I'll try it later.

> Now the bad news: I did all this and still
> don't have a working network connection with
> Windows. Maybe you will have better luck and
> be able to figure out what I have
> overlooked. When I run ifconfig I see tun0,
> and when I run it with qemu/Windows running,
> I see tun0 and tun1. However, I am still
> unable to ping the host from the guest or
> vice-versa.

You can try something like this:

First, download the bridge-utils and then run the following commands as root:

# ifconfig eth0 down
# brctl addbr br0
# ifconfig eth0 0.0.0.0 promisc up
# ifconfig tun0 0.0.0.0 promisc up
# ifconfig br0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255 up
# brctl stp br0 off
# brctl setfd br0 1
# brctl sethello br0 1
# brctl addif br0 eth0
# brctl addif br0 tun0
# route add default gw 192.168.1.1

Of course, use the appropriated IPs.

> Here is the sort of thing that shows why
> Linux geeks tend to be a little crazy: I had
> been doing all this testing on my
> experimental system, which is running Mepis
> Linux. After getting CV to successfully run,
> I decided to install qemu/W98/CV on my main
> system, which is running SuSE 9.2. This
> distro includes qemu 6.0, a slightly older
> version. I installed it off the SuSE DVD
> w/no problem, and the W98 install also was
> uneventful. When I booted Windows I
> discovered that I have network connectivity
> without having to tweak anything. Go figure.

> BTW, I'm still having speed issues with the
> laptop. I tried installing Windows natively
> on it (instead of simply copying hd.img).
> The install took 2 hours and CV doesn't run
> any faster. I may give Windows 95 a shot. I
> also have discovered that there is a program
> available from the qemu website called qemu
> accelerator that is supposed to speed things
> up. However, it must be compiled from
> source. I don't really like to install apps
> this way because then apt-get/synaptic
> doesn't "know" about them. Still,
> I may give it a shot.

Let me know how much better it is.

Sincerely,
Cac