- Data Communications Operator's guide Ethernet CMG-DCM
Operator's guide
6.5 Updating the DCM
Over the Internet
The easiest way to ensure that your DCM has all the latest software packages is
to update it over the Internet.
The DCM is provided with a simple command-line script, upgrade, which
checks for new versions of all packages in the distribution on the Güralp
Systems Web site and installs them as necessary. It also rebuilds the
configuration database to work with the new packages, resets it, and reboots the
machine.
Running upgrade will restore the DCM to its factory settings, so make
sure you will still be able to communicate with it before you issue the
command, either
• over a serial link to the DATA OUT port (115200 baud, 8 data bits, no
parity bit, 1 stop bit, no flow control), or
• over a DHCP-enabled network (using an IP address provided by the
DHCP server.)
From the hard disk
If your DCM does not have access to the Internet, you can update its software
from a connected USB disk. You will need to make a copy of all the files in the
directory http://www.guralp.net/cmgdcm/feeds, including all subdirectories, in a
directory called /cmgdcm/feeds on the hard disk. On Linux, you can do this
with the command
wget -np -nH -m http://www.guralp.net/cmgdcm/feeds
Once the files are on the hard disk, you can install it in a DCM and transfer the
packages with the command
upgrade gfat32
This facility is available with versions 2.10 and greater of the upgrade
package.
Removing support packages
The DCM as shipped includes a package gsl-backdoor which enables
Güralp Systems to respond to support issues by remote administration (e.g.
installing updated firmware or packages.) If you prefer not to allow Güralp
Systems access to the DCM you should use the command
December 2005 91