12.5 Using LSMT to
Restore the Domain Definitions
Updating TCP/IP works the same way as the other updates described in this book. You must save your old configuration, install the new files and restore the original configuration.
Most of the TCP/IP configuration files, including the SOCKS configuration, are placed in the ETC directory. The ETC directory is the directory on which the ETC environment variable is pointing. By default, this is the \MPTN\ETC directory on which MPTS has been installed.
To check where the ETC directory on your system resides, issue SET ETC on a command prompt. To save most of the TCP/IP configuration files, make a backup of the ETC directory and all its subdirectories.
The DHCP configuration file does not have a fixed name or location. If your server is a DHCP server, you must find out where the configuration file is located and save it.
Two CMD files have to be saved: SETUP.CMD and TCPSTART.CMD. These are located in the directory \MPTN\BIN\.
Finally there are some TCP/IP-related environment variables defined in the CONFIG.SYS. Depending on the installed features, these are:
If you have installed additional TCP/IP kits such as the PMX server (which is not part of the OS/2 Warp 4 or OS/2 Warp Server), then there might be additional variables set.
If you have backed up the old system with LSMT as described in 12.1 Using LSMT to Save the Domain Definitions, the CONFIG.SYS file is saved. It should be kept for future reference.
For the Installation of TCP/IP, see 7.1 Installing the TCP/IP Base Kit or Appendix B. Another Way to Install TCP/IP.
After installing TCP/IP you can restore your old configuration by copying the saved files to their original locations and editing the CONFIG.SYS. This must be done after the installation of TCP/IP because the installation program overwrites some of the files in the ETC directory.