Axel AX4000 User's Manual User Manual

Page 76

Advertising
background image

Appendix


70

AXEL Office Server

A.3.3 - Using an AXEL tty server

a – Overview

The AXEL tty server uses a configuration file, which lists all authorised
associations between Office Server ports and UNIX pttys.

Each entry in this file contains four parameters:

- Office Server hostname (see /etc/hosts)
- Office Server resource depends on the used tty service

- tty client: a keyword (lowercase characters): ch1, ch2, ch3, ch4

(and ch5, ch6, ch7, ch8 with the AX4020).

- tty server: a TCP Port (number)

- the master file of the ptty
- the slave file of the ptty

For example:

# AXEL association file
# Device Resource Master Slave
axel1 ch1 /dev/ptyp12 /dev/ttyp12
axel1 ch2 /dev/ptmx /dev/pts/13
axel2 2050 /dev/ptyp0 /dev/ttyp0
axel2 ch4 /dev/ptyp1 /dev/ttyp1

Notes:

- Lines beginning with '#' are ignored.
- Association lines 1, 2, 4 and 5 use the tty service, and association line 3

uses rtty service.

This configuration file is read when the AXEL tty server is launched.

Errors (syntax error, unknown Office Server hostname, ptty not available, etc.)
are recorded in a log file.

b - running Axel tty server

The command to start the AXEL tty server is:

/etc/axttyd [-f file] [-l log] [-n port] &

Advertising