Axel AX4000 User's Manual User Manual

Page 77

Advertising
background image

Appendix


AXEL Office Server

71

-f: configuration file (default: /etc/axfile).
-l: log file (default: /tmp/axttylog).
-n: TCP port (default: 2048) for connections using the tty client service.
-b: using a buffer for the data reception.

The AXEL tty server can be started either from the UNIX command line or from
the AXEL boot.

Note: if the server is started from the command line, take care to add the '&'
character at the end of line, so the command will be run in the background and
the UNIX prompt will return.

All authorised associations, connections and disconnections will be recorded in
the specified log file.

A.3.4 -The axttyd Mechanism

The axttyd daemon performs the following tasks:

- association file checking (errors are recorded in the log file),
- associated ptty opening (masters and slaves),
- for each tty server association, a child process is created. Each child

process listens on the corresponding ptty. As soon as data is received, a
socket is opened on the Office Server serial port and bi-directional
communication is enabled. If no data is sent or received during any one-
minute interval, the connection is closed. It will be re-opened, and then
data is received from the ptty.

- Once tty server child processes have been created, the axttyd daemon

listens on the TCP/IP socket (generally 2048). For each connection
request (from an Office Server tty client service), a child process is
created. This child process controls communication between the ptty and
the Office Server serial port.

A.3.5 - Uninstalling

Remove the AXEL files and kill the AXEL tty server process (signal TERM):

# kill -TERM pid<CR>

where pid is the process ID of the AXEL tty server.

Advertising