Moxa Technologies UC-7420/7410 user manual Mail, Steps 2

Models: UC-7420/7410

1 106
Download 106 pages 2.64 Kb
Page 68
Image 68

UC-7420/7410 User’s ManualManaging Communication

Steps 2 & 3:

#mkdir –p /home/nfs/public

#mount –t nfs NFS_Server(IP):/directory /mount/point

Example

: #mount –t nfs 192.168.3.100/home/public /home/nfs/public

Mail

smtpclient is a minimal SMTP client that takes an email message body and passes it on to an SMTP server. It is suitable for applications that use email to send alert messages or important logs to a specific user.

NOTE Click on the following link for more information about smtpclient:

http://www.engelschall.com/sw/smtpclient/

To send an email message, use the ‘smtpclient’ utility, which uses SMTP protocol. Type #smtpclient –helpto see the help message.

Example:

smtpclient –s test –f sender@company.com –S IP_address receiver@company.com

<mail-body-message

-s:The mail subject.

-f:Sender’s mail address

-S:SMTP server IP address

The last mail address receiver@company.com is the receiver’s e-mail address. mail-body-messageis the mail content. The last line of the body of the message should contain ONLY the period ‘.’ character.

You will need to add your hostname to the file /etc/hosts.

SNMP

UC-7420/7410 has built-in SNMP V1 (Simple Network Management Protocol) agent software. It supports RFC1317 RS-232 like group and RFC 1213 MIB-II.

The following simple example allows you to use an SNMP browser on the host site to query the UC-7420/7410, which is the SNMP agent. UC-7420/7410 will respond.

***** SNMP QUERY STARTED *****

1:sysDescr.0 (octet string) Linux Moxa 2.4.18_mvl30-ixdp425 #1049 Tue Oct 26 09:34:15 CST 2004 armv5teb

2:sysObjectID.0 (object identifier) enterprises.2021.250.10

3:sysUpTime.0 (timeticks) 0 days 00h:41m:54s.47th (251447)

4:sysContact.0 (octet string) Root <root@localhost> (configure /etc/snmp/snmp.local.conf)

5:sysName.0 (octet string) Moxa

6:sysLocation.0 (octet string) Unknown (configure /etc/snmp/snmp.local.conf)

7:system.8.0 (timeticks) 0 days 00h:00m:00s.22th (22)

8:system.9.1.2.1 (object identifier) mib-2.31

9:system.9.1.2.2 (object identifier) internet.6.3.1

10:system.9.1.2.3 (object identifier) mib-2.49

11:system.9.1.2.4 (object identifier) ip

12:system.9.1.2.5 (object identifier) mib-2.50

13:system.9.1.2.6 (object identifier) internet.6.3.16.2.2.1

14:system.9.1.2.7 (object identifier) internet.6.3.10.3.1.1

15:system.9.1.2.8 (object identifier) internet.6.3.11.3.1.1

16:system.9.1.2.9 (object identifier) internet.6.3.15.2.1.1

17:system.9.1.3.1 (octet string) The MIB module to describe generic objects for network interface sub-layers

18:system.9.1.3.2 (octet string) The MIB module for SNMPv2 entities

19:system.9.1.3.3 (octet string) The MIB module for managing TCP implementations

4-16

Page 68
Image 68
Moxa Technologies UC-7420/7410 user manual Mail, Steps 2