Moxa KM-2430-T [39/52] Nfs network file system client

Moxa KM-2430-T [39/52] Nfs network file system client
ioPAC RTU Software RTU Communications
4-14
NFS (Network File System) Client
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 ioPAC RTU controllers, without worrying about the amount of disk space that will be available. The ioPAC
RTU controller supports NFS protocol for clients.
NOTE
M
ore information about NFS is available at:
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 ioPAC RTU Controller 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 -o nolock 192.168.13.1:/home/public /home/nfs/public
Sending Mail
msmtp 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
M
ore information about smtpclient is available at:
https://wiki.archlinux.org/index.php/Msmtp
To send an email message, use the ‘smtpclient’ utility, which uses SMTP protocol. Type msmtp --help to see
the help message.
Example:
msmtp --host=hostname --read-envelope-from address_receiver@moxa.com
OpenVPN
OpenVPN provides two types of tunnels for users to implement VPNS: Routed IP Tunnels and Bridged
Ethernet Tunnels. To begin with, check to make sure that the system has a virtual device named
/dev/net/tun. If not, issue the following command:
# mknod /dev/net/tun c 10 200
An Ethernet bridge is used to connect different Ethernet networks together. The Ethernets are bundled into one
bigger, “logical” Ethernet. Each Ethernet corresponds to one physical interface (or port) that is connected to the
bridge.
On each OpenVPN machine, you should generate a working directory, such as /etc/openvpn, where script
files and key files reside. Once established, all operations will be performed in that directory.

Содержание

Скачать