Nfs (network file system), Setting up uc-7420/7410 as an nfs server, Nfs (network file system) -14 – Moxa Technologies UC-7420/7410 User Manual
Page 66: Setting up uc-7420/7410 as an nfs server -14
UC-7420/7410 User’s Manual
Managing Communication
4-14
Setting up a Machine for Incoming PPP Connections
This first example applies to using a modem, and requiring authorization with a username and
password.
pppd/dev/ttyM0 115200 crtscts modem 192.168.16.1:192.168.16.2 login auth
You should also add the following line to the file /etc/ppp/pap-secrets:
* * “” *
The first star (*) lets everyone login. The second star (*) lets every host connect. The pair of
double quotation marks (“”) is to use the file /etc/passwd to check the password. The last star (*)
is to let any IP connect.
The following example does not check the username and password:
pppd/dev/ttyM0 115200 crtscts modem 192.168.16.1:192.168.16.2
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 UC-7420/7410, without worrying about the amount of disk space
that will be available. UC-7420/7410 supports NFS protocol for both client and server.
NOTE
Click on the following links for more information about NFS:
Setting up UC-7420/7410 as an NFS Server
By default, UC-7420/7410 enables the service /etc/init.d/nfs-user-server. The service link file
S25nfs-user-server is located in the directory /rc.d/rc2.d-rc5.d.
Edit the NFS server configuration file /etc/exports to set up the remote host (NTF client) list and
access rights for a specific directory. The file formats are shown below:
#vi /etc/exports
File Format:
directory machine1(option11,option12) machine2(option21,option22)
directory
The directory that will be shared with the NFS Client.
machine1 and machine2
Client machines that will have access to the directory. A machine can be listed by its DNS
address or IP address (e.g., machine.company.com or 192.168.0.8).
optionxx
The option list for a machine describes the kind of access the machine will have. Important
options are:
ro
Read only. This is the default.
rw
Readable and Writeable.