Qemu not working with Windows 95 or 98SE
Hello all,
after some rather frustrating hours of installing Windows, changing the configuration, rebooting, changing, rebooting, re-installing, rebooting... I'm giving it up. But maybe someone on the list can give me some helpful advice or at least confirm that I've tried it correctly.
My system is "Debian GNU/Linux unstable" on a 1GHz G4 PowerPC. I've mainly been using the Debian package of quemu, which currently is version 0.6.0.dfsg.1-1
Interestingly enough, I was able to install i386 Linux inside of qemu (which took terribly long) and could surf the web using the lynx browser.
I used the setup described by John Murga in his eMail[1], a tun/tab networking script and the following guest configuration:
IP : 192.168.2.2 DNS : 192.168.2.1 Gateway : 192.168.2.1
Though the network is working, I can ping 192.168.2.1 from both sides, I can not ssh from one Linux to the other:
"ssh_exchange_identification: Connection closed by remote host"
But my main interest was having the possibility of using windows programs like the infamous Internet Explorer from time to time. The setup described above worked neither with Win95 nor with 98se, neither with the pci ne2000, nor with the isa version (which I tried because Leigh Dyer wrote "Win98 seems to trip up in PCI mode").
The -user-net switch did not help either. Using this switch I did set windows to "obtain IP address automatically" (DHCP) and use no gateway, as described somewhere on this list. I also tried to open IP addresses rather than domain names in Internet Explorer to exclude problems with the DNS or with a "flaky windows ping binary" (John Murga).
Other observations: in Windows the "ping 192.168.2.1" does not work, the system shut down works "sometimes", just like on a real machine. ;-)
Regards,
Vlado
[1] http://lists.gnu.org/archive/html/qemu-devel/2004-05/msg00270.html
[2] http://lists.gnu.org/archive/html/qemu-devel/2004-06/msg00170.html
Hi Vlado,
Quoted 4 lines · Vlado Plaga
after some rather frustrating hours of installing Windows, changing the configuration, rebooting, changing, rebooting, re-installing, rebooting... I'm giving it up. But maybe someone on the list can give me some helpful advice or at least confirm that I've tried it correctly.
A better place to ask this question is
http://www.dad-answers.com/qemu-forum/index.php
Nevertheless, here a quick answer:
Win98 works quite fine here. I installed it from scratch. I used user net all the time. The network is 10.0.2.x, not 192.168.0.x. Also note that ping is not a reliable method to test the networking in QEmu. If you still have problems, I will gladly help you on the forum!
Hth,
Dscho
Quoted 8 lines · Johannes Schindelin
Quoted 4 lines · Vlado Plaga
after some rather frustrating hours of installing Windows, changing the configuration, rebooting, changing, rebooting, re-installing, rebooting... I'm giving it up. But maybe someone on the list can give me some helpful advice or at least confirm that I've tried it correctly.
Quoted 5 lines
Win98 works quite fine here. I installed it from scratch. I used user net all the time. The network is 10.0.2.x, not 192.168.0.x. Also note that ping is not a reliable method to test the networking in QEmu. If you still have problems, I will gladly help you on the forum!
In addition to this, there was a patch a month ago on the list patching slirp.c to use SMB in user mode. Also, do not forget to create your LMHOSTS file or you will not be able to connect if you don't have a DNS handy.
Lga.