beautypg.com

4 connecting using ssh – Guralp Systems CMG-DCM build <10,000 User Manual

Page 21

background image

Operator's Guide

If the browser fails to connect, the most likely explanation is that the

machine running the browser does not have working network
communications to and from the CMG-EAM. This can be verified by

“pinging” the IP address of the browser from the command line of the
CMG_CMG-EAM:

eam999 ~ # ping -c3 192.168.0.2

PING 192.168.0.2 (192.168.0.2): 56 data bytes

64 bytes from 192.168.0.2: seq=0 ttl=63 time=2.284 ms

64 bytes from 192.168.0.2: seq=1 ttl=63 time=1.129 ms

64 bytes from 192.168.0.2: seq=2 ttl=63 time=1.944 ms

--- 192.168.42.1 ping statistics ---

3 packets transmitted, 3 packets received, 0% packet loss

round-trip min/avg/max = 1.129/1.785/2.284 ms

eam999 ~ #

To resolve this class of problem, ensure that the cables are functioning

(which can be verified by checking the diagnostic lights on most
switches/hubs) and double-check that the PC and CMG-EAM are on

the same subnet (which means the netmasks must match and the first
sections – as defined by the netmask - of the IP addresses must match).

The website http://en.wikipedia.org/wiki/IP_address has
some useful information for those for whom sub-networking is

unfamiliar.

2.2.4 Connecting using SSH

SSH (secure shell) is the most flexible way to control a CMG-EAM, but
it is less friendly than using the web interface. It is possible to

configure more advanced operations using SSH but the majority of
control and configuration tasks can be achieved most easily through

the web interface.

SSH is shipped as standard with most Linux distributions and is
available for Windows as part of PuTTY, available for free from
http://www.chiark.greenend.org.uk/~sgtatham/putty/

The next section will discuss the use of the ssh command-line utility;

PuTTY-specific details are provided in the section after.

2.2.4.1 SSH connections using the ssh program
To use SSH, you must know or discover the IP address of the unit, as

described in the previous section. Once you have the IP address, issue
the SSH command on the PC you are using:

mypc$ ssh root@192.168.0.1

Replace 192.168.0.1 with the IP address of the CMG-EAM.

November 2010

21

This manual is related to the following products: