Managing Communication |
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
* * “” *
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
NOTE Click on the following links for more information about NFS:
Setting up UC-7420/7410 as an NFS Server
By default,
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.