Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 40 of 49

Cyclades-TS User Guide: Appendix C - The pslave Configuration File, pages 379 to 386

Pages 379 to 386 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 379

Appendix C - The pslave Configuration File Table 37: Mostly CAS-specific Parameters Parameter

Description

Value for this Example all.syslog_ buffering

When non zero, the contents of the data buffer are sent to the syslogng every time a quantity of data equal to this parameter is collected. The syslog level for data buffering is hard coded to level 5 (notice) and facility local[0+conf.DB_facility]. The file /etc/syslog-ng/syslog-ng.conf should be set accordingly for the syslog-ng to take some action. (See Syslog-ng Configuration to use with Syslog Buffering Feature.)

0 all.syslog_sess

Syslog_buffering must be activated for the following to work. When 0, syslog messages are always generated whether or not there is a session to the port sending data to the unit. When 1, syslog messages are NOT generated when there IS a session to the port sending data to the unit, but resumes generation of syslog messages when there ISN'T a session to the port.

0 all.dont_show_ DBmenu

When zero, a menu with data buffering options is shown when a nonempty data buffering file is found. When 1, the data buffering menu is not shown. When 2, the data buffering menu is not shown but the data buffering file is shown if not empty. When 3, the data buffering menu is shown, but without the erase and show and erase options.

1

User Guide

379

Page 380

Appendix C - The pslave Configuration File Table 37: Mostly CAS-specific Parameters Parameter

Description

Value for this Example all.alarm

When non zero, all data received from the port are captured and sent to syslog-ng with level INFO and local[0+conf.DB_facility]facility. The syslogng.conf file should be set accordingly, for the syslog-ng to take some action (please see Generating Alarms in Chapter 3 Additional Features for the syslog-ng configuration file).

0 all.billing_ records

Billing file size configuration. A non-zero value defines the maximum number of billing records within a billing file. Zero stops billing recording. The billing files are located at /var/ run/DB and are named cycXXXXXYYMMDD.hhmmss.txt (e.g., cycTS100030122.153611.txt.

50 all.billing_ timeout

Billing timeout configuration. A non-zero value defines how long (minutes) a billing file should be waiting for records before close. After a file is closed, this file is available for transfer and a new one is opened. Zero means “no timeout” and so the file is only closed after “billing_records” are received.

60 all.billing_eor

Defines the character sequence that terminates each billing record. Any character sequence is valid, including '\r' or '^M' (carriage return), '\n' or '^J' (new line), etc..."

Default value: "\n"

380

Cyclades-TS

Page 381

Appendix C - The pslave Configuration File Table 37: Mostly CAS-specific Parameters Parameter

Description

Value for this Example all.sniff_mode

This parameter determines what other users connected to the very same port (see parameter admin_users below) can see of the session of the first connected user (main session): in shows data written to the port, out shows data received from the port, and i/o shows both streams, whereas no means sniffing is not permitted. The second and later sessions are called sniff sessions and this feature is activated whenever the protocol parameter is set to socket_ssh or socket_server.

out all.admin_users

This parameter determines which users can receive the sniff session menu. Then they have options to open a sniff session or cancel a previous session. When users want access per port to be controlled by administrators, this parameter is obligatory and authtype must not be none. User groups (defined with the parameter conf.group) can be used in combination with user names in the parameter list.

peter, john, user_group all.multiple_ sessions

Allows users to open more than one common and sniff session on the same port. The options are “yes,” “no,” “RW_session,” or “sniff_session.” Default is set to “no.” no all.escape_char

This parameter determines which character must be typed to make the session enter “menu mode”. The possible values are <CTRLa> to <CTRL-z>. Represent the CTRL with '^'. This parameter is only valid when the port protocol is socket_server or socket_ssh. Default value is '^z'.

^z

User Guide

381

Page 382

Appendix C - The pslave Configuration File Table 37: Mostly CAS-specific Parameters Parameter

Description

Value for this Example all.tx_interval

Valid for protocols socket_server and raw_data. Defines the delay (in milliseconds) before transmission to the Ethernet of data received through a serial port. If not configured, 100ms is assumed. If set to zero or a value above 1000, no buffering will take place.

100 all.idletimeout

Specifies how long (in minutes) a connection can remain inactive before it is cut off. If it set to zero, the connection will not time out.

0 s1.serverfarm

Alias name given to the server connected to the serial port. Server_connected.

serial1 s2.tty

It defines the physical device name associated to the serial port (without the /dev/).

ttyS2 s8.tty

It defines the physical device name associated to the serial port (without the /dev/).

ttyS8

382

Cyclades-TS

Page 383

Appendix C - The pslave Configuration File TS Parameters The following parameters are unique to a TS setup except where indicated. Table 38: TS Parameters Parameter

Description

Value for this Example conf.telnet

Location of the telnet utility

/usr/bin/telnet conf.ssh

Location of the ssh utility.

/bin/ssh conf.locallogins

This parameter is only necessary when authentication is being performed for a port. When set to one, it is possible to log in to the Cyclades-TS directly by placing a “!” before your login name, then using your normal password. This is useful if the Radius authentication server is down.

0 all.host

The IP address of the host to which the terminals will connect.

200.200.200.3 all.term

This parameter defines the terminal type assumed when performing rlogin or telnet to other hosts.

vt100 all.userauto

Username used when connected to a UNIX server from the user’s serial terminal.

all.protocol (for TS)

For the terminal server configuration, the possible protocols are login (which requests username and password), rlogin (receives username from the TS and requests a password), telnet, ssh, ssh2, or socket_client. See all.socket_port definition if all.protocol is configured as socket_client.

all.socket_port

The socket_port is the TCP port number of the application that will accept connection requested by this serial port. That application usually is telnet (23).

User Guide rlogin

383

Page 384

Appendix C - The pslave Configuration File Table 38: TS Parameters Value for this Example

Parameter

Description all.telnet_client_ mode

When the protocol is TELNET, this parameter configured as BINARY (1) causes an attempt to negotiate the TELNET BINARY option on both input and output with the Telnet server. So it puts the telnet client in binary mode. The acceptable values are "0" or "1", where "0" is text mode (default) and "1" is a binary mode.

s16.tty (TS)

It defines the physical device name associated to the serial port (without the /dev/).

ttyS16

Dial-in Access Parameters The following parameters are unique to a Dial-in setup except where indicated. Table 39: Dial-in configuration Parameters Parameter

Description

Value for this Example conf.pppd

Location of the ppp daemon with Radius.

/usr/local/sbin/ pppd all.netmask

It defines the network mask for the serial port.

255.255.255.255 all.ipno (CAS and Dial-in)

See description in CAS section.

384

Cyclades-TS

Page 385

Appendix C - The pslave Configuration File Table 39: Dial-in configuration Parameters Parameter

Description

Value for this Example all.initchat

Modem initialization string.

TIMEOUT 10 "" \d\l\dATZ \ OK\r\n-ATZ-OK\r\n “” \ “” ATMO OK\R\N “” \ TIMEOUT 3600 RING “” \ STATUS Incoming %p:I.HANDSHAKE “” ATA\ TIMEOUT 60 CONNECT@ “” \ STATUS Connected %p:I.HANDSHAKE all.autoppp all.autoppp PPP options to auto-detect a ppp session. The cb-script parameter defines the file used for callback and enables negotiation with the callback server. Callback is available in combination with Radius Server authentication. When a registered user calls the TS, it will disconnect the user, then call the user back. The following three parameters must be configured in the Radius Server: attribute Service_type(6): Callback Framed; attribute Framed_Protocol(7): PPP; attribute Callback_Number(19): the dial number (example: 50903300).

%i:%j novj \ proxyarp modem asyncmap 000A0000 \ noipx noccp login auth require-pap refuse-chap\ mtu %t mru %t \ cb-script /etc/portslave/cb_script \ plugin /usr/lib/libpsr.so

User Guide

385

Page 386

Appendix C - The pslave Configuration File Table 39: Dial-in configuration Parameters Parameter

Description

Value for this Example all.pppopt all.pppopt PPP options when user has already been authenticated.

%i:%j novj \ proxyarp modem asyncmap 000A0000 \ noipx noccp mtu %t mru %t netmask%m \ idle %I maxconnect %T \ plugin /usr/lib/libpsr.so all.protocol

For the Dial-in configuration, the available protocols are ppp, ppp_only, slip, and cslip.

ppp s32.tty

See the s1.tty entry in the CAS section.

ttyS32

User Guide

386