The text of a manual · part 20 of 49
Cyclades-TS User Guide: Chapter 3 - Additional Features, pages 187 to 196
Pages 187 to 196 of 454, from Cyclades-TS User Guide
The original document is the PDF (4.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Cyclades TS2000 and Avocent TS2000
Page 187
Chapter 3 - Additional Features NTP The ntpclient is a Network Time Protocol (RFC-1305) client for UNIX- and Linux-based computers. In order for the Cyclades-TS to work as a NTP client, the IP address of the NTP server must be set in the file /etc/ntpclient.conf. The script shell /bin/daemon.sh reads the configuration file (/etc/ntpclient.conf) and build the line command to call /bin/ntpclient program.
Parameters Involved and Passed Values The file /etc/ntpclient.conf has the value of two parameters: ENABLE
This parameter enables the NTP client. It defaults to NO, to enable it choose “YES”.
NTPSERVER
The IP address of the NTP server.
NTPINTERVAL
Check time every interval seconds (default 300).
The data and time will be updated from the NTP server according to the parameter options. The ntpclient program has this syntax: ntpclient [options] Options: -c count -d
Stop after count time measurements (default 0 means go forever). Print diagnostics.
-h hostname
NTP server host (mandatory).
-i interval
Check time every interval seconds.
-l -p port
User Guide
Attempt to lock local clock to server using adjtimex(2). Local NTP client UDP port.
187
Page 188
NTP -r
Replay analysis code based on stdin.
-s
Clock set (if count is not defined this sets count to 1).
Configuration for CAS, TS, and Dial-in Access vi Method Files to be changed: /etc/ntpclient.conf
Browser Method To configure NTP with your browser: Step 1: Point your browser to the Console Server. In the address or location field of your browser type the Console Access Server’s IP address. For example: http://10.0.0.0 Step 2: Log in as root and type the Web root password configured by the Web server. This will take you to the Configuration and Administration page. Step 3: Click on the Edit Text File link. Click on this link on the Link Panel or on the Configuration section of the Configuration and Administration page. (See Figure 17: Configuration and Administration page..) You can then pull up the appropriate file and edit it.
188
Cyclades-TS
Page 189
Chapter 3 - Additional Features Ports Configured as Terminal Servers
Important! TS110/100 owners: please skip to the special section on the TS110/100 later in the installation chapter called Configuring the CycladesTS110/100 for the first time, then perform “Task 5: Activate the changes” on page 69 through listed in Chapter 2 - Installation and Configuration to finish the configuration. Make into links. There are TS-specific parameters that are required to be configured when using the serial ports with the TS profile. The configuration of these TS-specific parameters are described in this section. Additional configuration for TS is described in Access Method and Serial Settings in Chapter 3, and in Appendix C – The pslave Configuration File.
TS Setup Wizard The Wizard can be used to configure TS-specific parameters. (TSO stands for “TS Other”-other parameters specific to the TS profile): Step 1: At the command line interface type the following: wiz --tso Screen 1: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** INSTRUCTIONS for using the Wizard: You can: 1) Enter the appropriate information for your system and press ENTER. Enter '#' if you want to deactivate that parameter or 2) Press ENTER if you are satisfied with the value within the brackets [ ] and want to go on to the User Guide
189
Page 190
Ports Configured as Terminal Servers next parameter or 3) Press ESC if you want to exit. NOTE: For some parameters, if there is nothing within the brackets, it will continue to ask for a value. In that case, you must enter a valid value or # if you do not wish to configure the value. Press ENTER to continue... Screen 2: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Current configuration: (The ones with the '#' means it's not activated.) all.host : 192.168.160.8 all.term : vt100 conf.locallogins : 0
Set to defaults? (y/n) [n] : Screen 3: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.HOST - The IP address of the host to which the terminals will connect. all.host[192.168.160.8] : ALL.TERM - This parameter defines the terminal type assumed when performing rlogin or telnet to other hosts. all.term[vt100] :
190
Cyclades-TS
Page 191
Chapter 3 - Additional Features Screen 4: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** CONF.LOCALLOGINS - This parameter is only necessary when authentication is being performed for a port. When set to 1, it is possible to log into the system directly by placing a '!' before users' login name, then using their normal password. This is useful if the Radius authentication server is down. conf.locallogins[0] :
Screen 5: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Current configuration: (The ones with the '#' means it's not activated.) all.host : 192.168.160.8 all.term : vt100 conf.locallogins : 0 Are these configuration(s) all correct? (y/n) [n] : If you type 'n' Type 'c' to go back and CORRECT these parameters or 'q' to QUIT : Typing 'c' repeats the application, typing 'q' exits the entire wiz application If you type 'y' Discard previous port-specific parameters? (y/n) [n] :
User Guide
191
Page 192
Ports Configured as Terminal Servers
Note: Answering yes to this question will discard only the parameter(s) which you are currently configuring if they were configured for a specific port in a previous session. For instance, if you are currently configuring parameter, all.x, and there was a specific port, s2.x, configured; then, answering yes to this question will discard s2.x. Type 'c' to CONTINUE to set these parameters for specific ports or 'q' to QUIT : Typing 'c' leads to Screen 6, typing 'q' leads to Screen 7. Screen 6: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** You have 8 available ports on this system. Type 'q' to quit, a valid port number[1-8], or anything else to refresh :
Tip. The number of available ports depends on the system you are on. Typing in a valid port number repeats this program except this time it's configuring for the port number you have chosen. Typing 'q' leads to Screen 7.
192
Cyclades-TS
Page 193
Chapter 3 - Additional Features Screen 7: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** (Note: If you are NOT connected to this unit through a console, and you have just reconfigured the IP of this unit, activating the new configurations may cause you to lose connection. In that case, please reconnect to the unit by the new IP address, and manually issue a saveconf to save your configurations to flash.) Do you want to activate your configurations now? (y/n) [n]:
Screen 8: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Flash refers to a type of memory that can be erased and reprogrammed in units of memory known as blocks rather than one byte at a time; thus, making updating to memory easier. If you choose to save to flash, your configurations thus far will still be in the memory of the system even after you reboot it. If you don't save to flash and if you were to reboot the system, all your new configurations will be lost and you will have to reconfigure the system. Do you want to save your configurations to flash? (y/n) [n] :
User Guide
193
Page 194
Ports Configured as Terminal Servers CLI Method To configure certain parameters for a specific serial port: Step 1: At the command prompt, type in the appropriate command to configure desired parameters. To activate the serial port. <string> should be ttyS<serial port number> : config configure line <serial port number> tty <string> To configure host: config configure line <serial port number> host <string> To configure term: config configure line <serial port number> term <string> To configure conf.locallogins: config configure conf locallogins <number>
Tip. You can configure all the parameters for a serial port in one line. config configure line <serial port number> tty <string> host <string> term <string>locallogins <number>
Step 2: Activate and Save. To activate your new configurations and save them to flash, type: config write (This is essentially typing signal_ras hup and saveconf from the normal terminal prompt.)
194
Cyclades-TS
Page 195
Chapter 3 - Additional Features Serial Settings This feature controls the speed, data size, parity, and stop bits of all ports. It also sets the flow control to hardware, software, or none; the DCD signal; and tty settings after a socket connection to that serial port is established.
Parameters Involved and Passed Values Terminal Settings involve the following parameters (the first four are physical parameters): all.speed
The speed for all ports. Default value: 9600.
all.datasize
The data size for all ports. Default value: 8.
all.stopbits
The number of stop bits for all ports. Default value: 1.
all.parity
The parity for all ports. Default value: none.
all.flow
This sets the flow control to hardware, software, or none. Default value: none.
all.dcd
DCD signal (sets the tty parameter CLOCAL). Valid values are 0 or 1. If all.dcd=0, a connection request will be accepted regardless of the DCD signal and the connection will not be closed if the DCD signal is set to DOWN. If all.dcd=1 a connection request will be accepted only if the DCD signal is UP and the connection will be closed if the DCD signal is set to DOWN. Default value: 0.
User Guide
195
Page 196
Serial Settings all.sttyCmd (for CAS only)
The TTY is programmed to work as configured and this userspecific configuration is applied over that serial port. Parameters must be separated by a space. The following example sets : -igncr This tells the terminal not to ignore the carriage-return on input, -onlcr Do not map newline character to a carriage return or newline character sequence on output, opost Post-process output, -icrnl Do not map carriage-return to a newline character on input. all.sttyCmd -igncr -onlcr opost -icrnl
DTR_reset (for CAS only)
This parameter specifies the behavior of the DTR signal in the serial port configured with buffering or sniff session. If set to zero the DTR signal will be ON if there is a connection to the serial port, otherwise OFF. If set from 1 to 99 the DTR signal will be always ON. A value greater or equal 100 specifies for how long (in milliseconds) the DTR signal will be turned off before it is turned back on again when a connection to the serial port is closed. Example value: 3.
Configuration for CAS Browser Method Step 1: Point your browser to the Console Server. In the address or location field of your browser type the Console Access Server’s IP address. For example: http://10.0.0.0 Step 2: Log in as root and type the Web root password configured by the Web server. This will take you to the Configuration and Administration page.
196
Cyclades-TS