Skip to contentSkip to conversation

Win2003 and network - the saga continues

Qemu-devel Hetz Ben Hamo 2 participants 3 messages May 1, 2004

lore
Share & tools
lore
#0 lore raw

Ok,

I created an ISO image with the network driver (the image is attached as gzip
- the funny part is that when it's un-gzipped, it's 320k, gzipped - 5k) and with a simple README file. Fabrice, could you add it to the QEMU web site please? (or to CVS)

I managed to install the driver (of course, win2003 insisted that the IRQ is being taken by "standard PC" but after rebooting it seems ok), and I configured the ne2000 to 192.168.1.13 while my qemu-ifup is:

#!/bin/sh
sudo /sbin/ifconfig $1 192.168.1.12 netmask 255.255.255.0

Problem is, windows 2003 doesn't even want to ping..
The Windows setting is: 192.168.1.3, net mask 255.255.255.0
I tried to add a gateway to 192.168.1.12 (this host machine) but it didn't help..

Suggestions please?
Thanks,
Hetz

#1 lore raw
Quoted 4 lines · Hetz Ben Hamo

I created an ISO image with the network driver (the image is attached as gzip
- the funny part is that when it's un-gzipped, it's 320k, gzipped - 5k) and with a simple README file. Fabrice, could you add it to the QEMU web site please? (or to CVS)

I don't think it is a good idea if Fabrice starts publishing other people's software. I don't know what the licence is but perhaps just a hyper-link would suffice.

Quoted 4 lines

Problem is, windows 2003 doesn't even want to ping..
The Windows setting is: 192.168.1.3, net mask 255.255.255.0
I tried to add a gateway to 192.168.1.12 (this host machine) but it didn't help..

You added the host machine as a gateway within the guest? You also need to tell the host how to respond to the pings with something like:

route add -host <guest IP address> tun0

Personally I use the scripts published to the list earlier to set up NAT and DHCP for the guest machine. The post was by Nathan Hand on Thursday entitled "improved qemu-ifup script".

#2 lore raw

Hi,

Quoted 3 lines

I don't think it is a good idea if Fabrice starts publishing other people's software. I don't know what the licence is but perhaps just a hyper-link would suffice.

There are only 2 files inside this ISO. The README file which I wrote (do I really need to declare GPL license for a README.TXT I wrote? :)

The other file is just an INF file which is a simple text file with a list of vendors and their card names. Nothing secret or proprietary here. Heck, you can erase 98% of it and can still use it. The actual file that INF file installs (ne2000.sys) is actually an internal part of Windows 2000/XP/2003 and it's NOT inside the ISO image I provided.

Quoted 8 lines

You added the host machine as a gateway within the guest? You also need to tell the host how to respond to the pings with something like:

route add -host <guest IP address> tun0

Personally I use the scripts published to the list earlier to set up NAT and DHCP for the guest machine. The post was by Nathan Hand on Thursday entitled "improved qemu-ifup script".

I already have a DHCPD server running at home and it seems that iptables with kernel 2.6 causing some problems (but maybe my machine is wrong configured - this machine is a big mix of Redhat 8 + 9 + Fedora, all in 1 partition, big party ;)

Thanks,
Hetz