Guralp Systems CMG-DCM build <10,000 User Manual
Page 99

Acquisition Modules and Platinum Firmware
Networking Configuration
anything you choose, although we recommend that you use the names
tcpserial, tcpserial1, tcpserial2 and so on through to tcpserial15,
which are pre-defined to correspond to port numbers 10002, 10003, through
to 10017.
The mapping from port names to port numbers is configured by the
conventional Linux file /etc/services which can be edited from the
command line if required.
If desired, you can configure a list of addresses from which to accept
connections. If no addresses are configured, then all incoming addresses will
be accepted. Otherwise, connections will only be accepted if they match an
entry in the table with its Reject box unticked. Entries are matched in order;
as soon as a match is made, the connection is accepted or rejected, and no
further processing is done.
The “IP addresses” fields can each specify a host name, an IP address or an IP
address range (given in CIDR format). For example, to accept connections
from LAN addresses, you can add the addresses:
•
10.0.0.0/8
(anything from 10.0.0.0 to 10.255.255.255);
•
172.16.0.0/12
(anything from 172.16.0.0 to 172.31.255.255);
•
192.168.0.0/16
(anything from 192.168.0.0 to 192.168.255.255); and
•
127.0.0.1
(loopback address).
7.8.2 Simple client mode
This mode of operation is similar to simple server, except that the acquisition
module establishes an outgoing TCP client connection rather than listening
on a socket. It writes raw data from the serial port to the remote server, and
writes raw data from the remote server to the serial port. It does not support
the querying or setting of the serial port hardware control lines.
In this mode, only a single option needs to be provided: the contact details for
the remote server (IP address and port). The format of this option is
“host,service”. The host may be a hostname or an IP address. The service
may be a TCP port number or a service name from /etc/services.
99
Issue E - February 2014