Minicom Advanced Systems CMG-DCM manual Configuration

Page 86

CMG-DCM

The following sections describe how to operate a DCM from the Linux command line, including descriptions of all commands unique to the DCM. Any of these commands can be included in your own shell script files, which can be run as services on the DCM or remotely using a ssh connection as required. If you need to compile your own C or FORTRAN programs to be run on the DCM, please contact Gü ralp Systems for assistance.

6.3 Configuration

Configuring the DCM is automated by a suite of command line tools. These maintain a configuration database and check that all the relevant Linux files are kept up to date. If you alter the standard Linux configuration files, you should bear in mind that these tools will overwrite them without checking that they match the information in the database. Because of this you should use the tools wherever possible rather than editing the files directly. The DCM's Web-based configuration system is just a front-end to these tools.

gcfgdbls prefix : Enter this command to find out which configuration options begin with the prefix prefix (case sensitive—all the configuration options are in lower case). The options are listed in alphabetical order. For example:

~# gcfgdbls serial.0 serial.0.baudrate serial.0.handshaking serial.0.ppp serial.0.service

gcfgdbset option-namenew-value : Enter this command to set the value of the named option to new-value. The database will perform a simple type check on your value (for example, to check that certain options are numbers), but will not otherwise make sure that your change makes sense.

gcfgdbget option-name-or-prefix : Enter this command to find the current value of the named option. Instead of a single option name, you can also use a prefix (as described above) to find out the values of a range of options. The remaining tools also allow you to use prefixes in place of full option names.

Each option in the database can be marked either as “clean” or as “dirty”. This

flag tells the DCM whether the database is currently in sync with the state of the device. Whenever you alter the value of an option using the gcfgdbset tool, or using the Web interface, the option is marked as “dirty”; the DCM then alters

its configuration, and marks the option as “clean” again, to signify that the change completed successfully. Three more commands are provided to allow you to access this flag:

gcfgdbmark clean option-name-or-prefix : Enter this command to mark the named configuration option as “clean” in the database.

86

Issue A

Image 86
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 Check disk filesystem Disk toolsPartition, and format disk 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 From the hard disk Updating the DCMOver the Internet Removing support packagesFirmware Libgconfigdb Port a and B Appendix a Connector pinoutsAppendix A.1 Modular DCM units 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