home *** CD-ROM | disk | FTP | other *** search
- Subject: Customizing Remote Reset
- Date: August 5, 1990
- - - - - - - - - - - - - - - - - - - - - -
-
- PROBLEM: While v2.1 remote reset is far from perfect, and while the
- documentation is totally inadequate, there are workarounds
- that provide the flexibility it appears to be missing at
- first glance.
-
- Here is the story. First of all, an AUTOEXEC.BAT file must
- be placed in sys:login. This is not documented. All
- statements after "NET3" will be executed from the
- AUTOEXEC.BAT file in sys:login instead of from the
- AUTOEXEC.BAT in the remote reset file. Since there can be
- only one AUTOEXEC.BAT file in sys:login, all remote reset
- files will wind up executing the "one and only" AUTOEXEC.BAT.
-
- If the AUTOEXEC.BAT files used to construct the remote reset
- files are of differrent lengths, there will be trouble. If
- you want different remote reset files to execute different
- commands following NET3, you must get clever.
-
- SOLUTION: Here is a useful solution until Novell finds a proper
- solution and implements it in some future version.
-
- 1. Use the DOS "SET" command to implement a switch in the
- AUTOEXEC.BAT file used by "DOSGEN" to construct the remote
- reset file. The switch must be set prior to executing NET3.
-
- 2. Set the switch to different values in the AUTOEXEC.BAT
- files used to generate the required remote reset files, each
- having a different name. The key to this whole thing is that
- the values assigned to the switch variable MUST all be the
- same length for this to work.
-
- 3. Setup BOOTCONF.SYS appropriately for workstations needing
- than the default remote reset file.
-
- 4. Create an AUTOEXEC.BAT file in sys:login that checks the
- value of the switch (using DOS "if" statement) and does one
- thing or another depending on its value.
-
- This technique will allow me to download different types of
- gateway software and print server software (e.g., Brightworks
- PS-Print) to diskless workstations without manual
- intervention.
-
-