From: Ulrich Hansen <my.gr...@mailbox.org>
> Am 27.08.2016 um 02:35 schrieb Louis Santillan <lpsan...@gmail.com>: > > My intention was to > simply map what is obvious. If someone has additional config, I'd > suggest doing something like > > dhcp > m2wat > type %WATTCP.CFG%\WATPERM.CFG>>%WATTCP.CFG%\WATTCP.CFG That wouldnrCOt work. For instance for Arachne the WATTCP.CFG could look like this: my_ip = 0.0.0.0 netmask = 255.255.255.0 gateway = 0.0.0.0 # sockdelay=40 hostname=arachne mss=512 and the nameservers would be configured in ARACHNE.CFG. Your workaround would configure nameservers in WATTCP.CFG too. But this could mess things up. It shouldnrCOt configure a nameserver if there is none configured in WATTCP.CFG. Unfortunately M2WAT.COM by cordata also does not get this right. David Dunfields DHCP program from http://classiccmp.org/dunfield/dos/index.htm does it correctly. There is even an option /F where you can choose to "fill-in config items not supplied in original filerCL. The program is a bit hard to figure out, because the description in DCHP.TXT is not correct. Instead of DHCP P=60 /W='C:\FDOS\WATTCP.CFG' /M='C:\FDOS\MTCP.CFGrCy you would need to write: DHCP P=60 /W C:\FDOS\WATTCP.CFG DHCP P=60 /M C:\FDOS\MTCP.CFG (You can not write the /M option and the /W option in the same line.) It does get the environment variable MTCPCFG from AUTOEXEC.BAT, but it doesnrCOt get the environment variable WATTCPCFG. So DHCP /M would work, while DHCP /W wouldnrCOt. But anyway you can work around this and the program works fine. Unfortunately there is no source file on the website and no license, so it couldnrCOt be bundled with FreeDOS. cheers Ulrich ------------------------------------------------------------------------------ _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user --- Internet Rex 2.29 * Origin: capcity2.synchro.net - 502/875-8938 (1:2320/105.99) --- * BgNet 1.0b12 = CCO * KY/US * 502/875-8938 * capcity2.synchro.net --- Synchronet 3.15a-Linux ListGate 1.3 * Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user