This document tries to describe how to run the Windows trumpet winsock over
the dosemu built-in packet driver, and then run all TCP/IP winsock-based
application (netscape, eudora, mirc, free agent .....) in windows environment.
This is a very long step-by-step list of operation, but you can make
little scripts to do all very quickly ;-)
In this example, I use the dosnet based packet driver. It is very powerful
because you can run a "Virtual net" between your dos-windows session and the
linux, and run tcp/application application without a real (hardware) net.
I suppose you know how to run windows in dosemu. You can read the
document if you need more information. Windows is not very stable, but works.
copy the winpkt.com driver and the trumpet winsock driver in some
start the winpkt TSR. (dosemu assign the 0x60 interrupt vector to the
built-in packet driver)
edit the trumpet winsock setup file trumpwsk.ini. Here is an example of
how to setup this file:
(I think you can use less parameters, if you have the time to play with
this file. You can also setup this stuff from the winsock setup dialog-box).
netmask=255.255.255.0 <-- class C netmask.
gateway=220.127.116.11 <-- address in the default gateway.
dns=www.xxx.yyy.zzz <-- You must use right value for the dns.
ip=18.104.22.168 <-- Windows address in the dosnet.
vector=60 <-- packet driver interrupt vector.
slip-enabled=0 <--- disable slip
ppp-enabled=0 <-------- disable ppp
win-posn=42 220 867 686 -1 -1 -4 -4 1
Now you can run windows, startup trumpet winsock and .....
enjoy with your windoze tcp/ip :-)