On 4/8/2012 10:00 PM, cordat...@aol.com wrote:
FreeDOS User ...

If WATTCP is working correctly you don't need the other lines in your config file beyond "my_ip=dhcp" as they are filled in if DHCP works. As has been discussed here before some versions of WATTCP support DHCP and some don't. My guess is that yours does support DHCP since if you didn't have an IP you could not get to the roadrunner search.

You mention MTCP.CFG -this is the config file for MTCP, not WATTCP. The two packages are very similar but they have different configuration files. WATTCP and MTCP differ in that WATTCP will provide DHCP services within each application (like Arachne) while MTCP has a stand-alone DHCP program which then updates a config file and all other MTCP apps (like Ping or FTP) assume that the IP is static. One way to remove some uncertainty from your WATTCP configuration is to adopt the MTCP DHCP method.

In order to do this you would have a very basic MTCP config file (I think the minimum is the interrupt vector - would be nice if this were not needed :-) and then run the MTCP DHCP program. Everything from your DHCP server (ie your router) will get dumped into the MTCP config file as well as show on your screen. You can then update your WATTCP config file to match. This can be automated in one of a couple of ways I can share with you if you are interested.


Correct - each WATTCP based application gets a DHCP address each time it starts. This approach handles short leases better, but it leads to bigger executables. mTCP basically cheats and keeps the executables smaller by making DHCP a separate step in a separate program.

Cordata - you could give him the utility you wrote that parses the mTCP config file and fixes up the WATTCP file. (I'd like to see that bundled with mTCP one day.)

Another option is a utility by Dave Dunfield at http://www.dunfield.com/doswid/index.htm called DHCP. It is a DHCP client that can configure both mTCP and WATTCP, and it is smaller than my own DHCP client for mTCP.


Mike
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to