User`s manual

Table Of Contents
W406-LX User’s Manual Managing Communications
4-18
NFS (Network File System)
The Network File System (NFS) is used to mount a disk partition on a remote machine, as if it
were on a local hard drive, allowing fast, seamless sharing of files across a network. NFS allows
users to develop applications for the W406-LX, without worrying about the amount of disk space
that will be available. The W406-LX supports NFS protocol for client.
NOTE Click on the following links for more information about NFS:
http://www.tldp.org/HOWTO/NFS-HOWTO/in
de
x.html
Setting up the W406-LX 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
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 –help
to see the help message.
Example:
smtpclient –s test –H Moxa –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-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.