To those of you interested in using the mTCP DHCP client with WATTCP
applications that don't behave well with DHCP please do the following:
a) Find and download minitrue, the executable is MT.EXE. (maybe it's in
FreeDOS 1.0, who knows).
You can find at: http://www.idiotsdelight.net/minitrue/
b) Create a batch file, I call mine M2WAT.BAT. It looks like this:
@echo off
rem convert MTCP config file to WATTCP format
copy mtcp.cfg wattcp.cfg
rem first comment out every line with a '#'
mt -b- -c -n wattcp.cfg (^) = #
rem now uncomment the ones we want, add equal sign and change if needed
mt -b- -c -n wattcp.cfg #ipaddr = my_ip=
mt -b- -c -n wattcp.cfg #netmask = netmask=
mt -b- -c -n wattcp.cfg #gateway = gateway=
mt -b- -c -n wattcp.cfg #nameserver = nameserver=
mt -b- -c -n wattcp.cfg #hostname = hostname=
--- end of the batch file.
c) Run this perhaps as another batch file:
SET MTCPCFG = MTCP.CFG
DHCP
M2WAT
whatever your wattcp application is, should work fine.
Enjoy.
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user