Minicom Advanced Systems CMG-DCM manual Serial port services, Network services

Page 8

CMG-DCM

The two main areas which need to be configured determine the different services which the DCM provides from its serial and network ports.

Serial port services

You can use either the DCM's console or its Web configuration interface to configure the serial data ports. The serial.x.service configuration option determines which service each port provides.

The simplest service is getty. This creates a console port, which you can use to log in to the Linux operating system of the DCM directly.

The mgetty-rservice is similar, but is more suited for serial links including modems, in which the link is not always active. This is the default option.

Any of the serial ports on the DCM can be directed to transmit GCF (Gü ralp Compressed Format) data by setting the serial.x.service option for that port to gcf_out. You can then run Scream! or other software on your computer to receive the data. You will not be able to access the Web configuration interface using this service, although you may be able to configure attached digitizers from Scream!.

Likewise, any serial port can be set to listen for incoming data (e.g. from a connected digitizer or another DCM) by setting the serial.x.service option to gcf_in. The DCM will automatically combine this data with any other streams it is receiving, and send it on using all gcf_out ports and any other transmission methods which have been configured.

You can log in to the Linux operating system over a modem link by setting the serial.x.service option to mgetty. mgetty listens for incoming

calls from your computer and sets up a login session for you. You may need to configure minicom or hypertrm to communicate with your own modem before you can do this.

Both mgetty and mgetty-rcan recognize incoming PPP connections and will automatically run a PPP daemon if you attempt to connect to the DCM in this way.

Network services

Because the DCM is a fully-fledged Linux machine, you will need to set up networking before you can use it. Advanced networking is beyond the scope of this manual. For a basic setup, you will need to perform the following actions:

1.Assign the DCM an IP address. By default, the DCM will try and use DHCP (Dynamic Host Configuration Protocol) to find its own IP address. However, this requires a DHCP server on your network. If you

8

Issue A

Image 8
Contents CMG-DCM Table of Contents December Inside the DCM Introduction CMG-DCM Inside the DCM Serial port services Network servicesSee .4, Connecting to a local network for full details Overview Installing the CMG-DCMPower supply Connecting to a single computer Connecting over a serial linkConnecting over Ethernet 192.168.0.xUsing an internal modem Connecting over USBConnecting to a local network Gcfgdbset option-namenew-value Wi-Fi Connecting to the InternetConnecting digitizers and external hardware Setting up the CMG-DCMWeb setup Setting up digitizers Using Scream DCM as a data store UsageGeneral notes Gnblocks port-number Page CMG-DCM DCM as a GCF data source Accessing the DCM command line through gcfout Sensor arrays DCM as a network data hub Communicating with digitizers Configuring digitizers Data storage and retrieval Using miniSEED format Real-time data transmission CD1.0 and CD1.1 Troubleshooting DCM installations Cannot Gcfping the DCMs Scream! server Cannot see the DCMs Web site over Http or HttpsCannot connect to the DCMs Scream! server Can Gcfping the DCMs Scream! server, but no data appears DCM is not receiving any data streamsUse the Serial port configuration → port name Web page, or DCM is receiving streams, but they do not contain any data143032 up 34 min, load average 1.24, 1.32 Configuration options GeneralDisk CMG-DCM Serial port configuration CMG-DCM Page Network configuration Ethernet portStatic routes DNS setup Incoming mail setup Outgoing mail setup Remote access Administrators PPP Mgetty Data transfer ScreamScream! Client AutoDRMCD1.0 Http serverHttp client CD1.1 CD1.1 subframe configuration DSS Server configuration Seed Page CMG-DCM Actions Data ViewerIcon bar Stream listDigitizer Setup General digitizer settings Digitizer output control CMG-DCM Trigger criteria CMG-DCM Tap # Rate Bandwidth Samples/s Auxiliary Mux channels Sensor mass control Disk tools Partition, and format diskCheck disk filesystem Flush flashRecent Log Entries Disk filesCamera Network configuration SummaryDNS configuration Data Out Port, Serial Port A, Serial Port BDisk Status Flash StatusTamper lines Software Versions Inside the DCM File systems CMG-DCM Command line tools Configuration Digitizer console access Monitoring Data flowDigitizer status Tamper lines Updating the DCM Over the InternetFrom the hard disk Removing support packagesFirmware Libgconfigdb Appendix a Connector pinouts Appendix A.1 Modular DCM unitsPort a and B Data OUT portUSB connector Network connectorAppendix A.2 Integrated DCM units DM/AM module outputAppendix B Sensor and digitizer types Appendix B.1 Sensor response codesAppendix B.2 Digitizer type codes Digitizer