This is the Windows Net Howto by Frisoni Gloriano
<gfrisoni@hi-net.it>
on 15 may 1997
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
Running Windows
document if you need more information. Windows is not very stable, but works.
start dosemu.
copy the winpkt.com driver and the trumpet winsock driver in some
dos directory.
start the winpkt TSR. (dosemu assign the 0x60 interrupt vector to the
built-in packet driver)
winpkt 0x60
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).
[Trumpet Winsock]
netmask=255.255.255.0 <-- class C netmask.
gateway=144.16.112.1 <-- address in the default gateway.
dns=www.xxx.yyy.zzz <-- You must use right value for the dns.
domain=hi-net.it
ip=144.16.112.10 <-- Windows address in the dosnet.
vector=60 <-- packet driver interrupt vector.
mtu=1500
rwin=4096
mss=1460
rtomax=60
ip-buffers=32
slip-enabled=0 <--- disable slip
slip-port=2
slip-baudrate=57600
slip-handshake=1
slip-compressed=0
dial-option=1
online-check=0
inactivity-timeout=5
slip-timeout=0
slip-redial=0
dial-parity=0
font=Courier,9
registration-name=""
registration-password=""
use-socks=0
socks-host=0.0.0.0
socks-port=1080
socks-id=
socks-local1=0.0.0.0 0.0.0.0
socks-local2=0.0.0.0 0.0.0.0
socks-local3=0.0.0.0 0.0.0.0
socks-local4=0.0.0.0 0.0.0.0
ppp-enabled=0 <-------- disable ppp
ppp-usepap=0
ppp-username=""
ppp-password=""
win-posn=42 220 867 686 -1 -1 -4 -4 1
trace-options=16392
[default vars]
Now you can run windows, startup trumpet winsock and .....
enjoy with your windoze tcp/ip :-)