Installation manual

Chapter 4 Configuration 17
Cyclades-TS Installation Manual
The fifth file is specific to the Cyclades-TS and a sample file with comments is supplied in the Linux file system. It
is called /etc/portslave/pslave.conf. A listing of the pslave.conf file with all possible parameters, as well as the
files used to create the three applications in this chapter, is provided in Appendix C. There are three basic types
of parameters: conf.* parameters are global or apply to the Ethernet interface; all.* parameters are used to set
default parameters for all ports, and s#.* parameters change the default port parameters for individual ports. An
all.* parameter can be overriden by a s#.* parameter appearing later in the pslave.conf file (or vice-versa). A brief
description of each parameter used for the console server profile is given in Figures 4.6-4.7.
Parameter Description Value for
This Example
conf.eth_ip The IP address of the Ethernet interface. This parameter, along with the
next two, is used by the cy_ras program to OVERWRITE the file
/etc/network/ifcfg_eth0 as soon as the command "signal_ras HUP" is
executed. The file /etc/network/ifcfg_eth0 should not be edited by the user
unless the cy_ras application is not going to be used.
200.200.200.1
conf.eth_mask The mask for the Ethernet network. 255.255.255.0
conf.eth_mtu The Maximum Transmission Unit size, which determines whether or not
packets should be broken up.
1500
conf.nfs_data_
buffering
Remote Network File System where data buffering will be written instead of
the default directory '/var/run'. The directory tree to which the file will be
written must be NFS-mounted. If data buffering is turned on for port 1, for
example, the data will be stored in the file ttyS1.data in the directory and
server indicated by this variable. The remote host must have NFS installed
and the administrator must create, export and allow reading/writing to this
directory. The size of this file is not limited by the value of the parameter
s1.data_buffering, though the value cannot be zero since a zero value turns
off data buffering.
commented
conf.lockdir The lock directory , which is /var/lock for the Cyclades-TS. It should not be
changed unless the user decides to customize the operating system.
/var/lock
FIGURE 4.6 CONSOLE SERVER PSLAVE.CONF GLOBAL PARAMETERS