User Manual

Getting Started Configuration Files
2-15
The configuration file must not contain any initialization commands (such as Initialize Server).
Because the file is read when the SCS boots, a “reboot” command in the file would cause the SCS to
boot perpetually. You would then have to flush the NVR to correct the error.
2 Test the configuration file. To test the file, use the Source command, discussed on page 12-133.
An example of a configuration file is displayed below.
Figure 2-29: Configuration File
2.5.2 Using a Configuration File
A configuration file can be downloaded from a TCP/IP host (via TFTP). Ensure that TFTP downloading is
enabled on your host and place the configuration file in a download directory.
To download a configuration file to the SCS using TFTP, use the Source command.
Figure 2-30: Downloading From a TFTP Host
If the configuration file must be downloaded each time the SCS boots, specify the filename using the Set/
Define Server Startupfile command. A TCP/IP filename must be specified in host:filename format, where
host is an IP address.
Note: If lower-case or non-alphabetical characters are used, the filename must be
enclosed in quotes.
For example, to download the file config.sys from TCP/IP host 192.0.1.110, use the following command:
Figure 2-31: Downloading From a TCP/IP Host
Note: The SCS is not usable during download attempts.
If the SCS has a nameserver defined, a text name may be specified as a TCP/IP host name. The SCS will
attempt to resolve the name at boot time; if it cannot resolve the name, the download will fail. To designate
a nameserver, see Set/Define IP Nameserver on page 12-36.
During its boot sequence, the SCS will load its operational code first, then attempt to download the
configuration file. If the attempt to download the configuration file is unsuccessful, the SCS may re-attempt
the download. By default, the SCS will make a total of six attempts to download the file (one initial attempt
and five re-attempts). To change this setting, use the Set/Define Server Startupfile Retry command.
Figure 2-32: Setting Number of Download Attempts
DEFINE PORT 2 SPEED 9600
DEFINE PORT 2 PARITY NONE
# The following commands set up the ports:
DEFINE PORT 2 ACCESS DYNAMIC
Local>> SOURCE “labsun:start.com”
Local>> DEFINE SERVER STARTUP "192.0.1.110:config.sys"
Local>> DEFINE SERVER STARTUPFILE "TROUT\SYS:\LOGIN\config.sys" RETRY 10