ThinkCore W311/321/341 Linux User’s Manual
Managing Communications
4-18
NOTE
Click on the following links for more information about NFS:
http://www.tldp.org/HOWTO/NFS-HOWTO/index.html
http://nfs.sourceforge.net/nfs-howto/client.html
http://nfs.sourceforge.net/nfs-howto/server.html
Setting up the W311/321/341 as an NFS Client
The following procedure is used to mount a remote NFS Server.
1.
To know the NFS Server’s shared directory.
2.
Establish a mount point on the NFS Client site.
3.
Mount the remote directory to a local directory.
#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
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 –help
to see the help message.
Example:
smtpclient –s test –f [email protected] –S IP_address [email protected]
< mail-body-message
-s:
The mail subject.
-f:
Sender’s mail address
-S:
SMTP server IP address
The last mail address
is the receiver’s e-mail address.
mail-body-message
is 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
The W311/321/341 have 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
W311/321/341, which is the SNMP agent. The W311/321/341 will respond.
***** SNMP QUERY STARTED *****
1: sysDescr.0
(octet string)
Version 1.0
2: sysObjectID.0
(object identifier)
enterprises.8691.12.240