> 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 wouldn’t 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 shouldn’t 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 file“. 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.CFG‘ 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 doesn’t get the environment variable WATTCPCFG. So DHCP /M would work, while DHCP /W wouldn’t. 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 couldn’t be bundled with FreeDOS. cheers Ulrich ------------------------------------------------------------------------------ _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user