Advanced Card Systems Limited EH880 Benutzerhandbuch

Seite von 20
Document Title Here 
Document Title Here 
 
Document Title Here
 
eH880 and ACR880 SDE Setup Manual 
Version 1.4  
 
Page 18 of 20
info@acs.com.hk
www.acs.com.hk
Appendix A.1.3. Setting up Dynamic IP Address 
If it is necessary to setup the dynamic IP address for eH880 unit, input the following command to get 
the IP address from DHCP server: 
 
# udhcpc –b –i eth0 
 
Appendix A.2.  Setting up Network File System (NFS) Server 
Appendix A.2.1 PC Side 
The exported directories of NFS server are controlled by “/etc/exports” configuration file. To share 
the directory of Linux Server with eH880 unit, you need to edit the file. 
 
Sample contents of “/etc/exports” configuration file: 
/share1 192.168.1.0/24(ro) 
/share2 192.168.1.100(rw) 
 
For example, directory “/share1” can be shared by all devices with IP address starting with 
“192.168.1.xxx”. Note that “192.168.1.0” is network address and “24” is the short form of 
“255.255.255.0” subnet mask. “ro” is used to share directory for read-only while “rw” is used to 
share directory for read/write. Directory “/share2” is only shared to the device that has an IP address 
equal to “192.168.1.100” for read/write. 
 
After editing the configuration file, restart NFS server for the changes to take effect. Input the following 
command to restart NFS server: 
 
# /etc/rc.d/init.d/nfs restart 
Appendix A.2.2 eH880 side 
In the eH880 unit, you can input the following command to use remote directory that is shared by NFS 
server. Assume that the IP address of Linux server is “192.168.1.10”
 
# mount –o nolock,rsize=1024,wsize=1024 192.168.1.10:/share1 /mnt/ext1 
 
You can change to directory “/mnt/ext1” by inputing “cd /mnt/ext1” command. 
 
Appendix A.2.3 NFS (Network File System) 
After logging in the device (telnet), user can mount a directory structure in his PC Linux to a directory 
in the device and then use "cp" command to copy files to another directory in the device. To mount a 
directory on the command prompt: 
 
"mount -o nolock,rsize=1024,wsize=1024 xxx.xxx.xxx.xxx:/home/user /mnt/ext1
 
"cp /mnt/ext1 /usr/local/rw