Moxa EM-1240-T-LX [40/57] How to mount a remote nfs server

Moxa EM-1240-T-LX [40/57] How to mount a remote nfs server
EM-1240-LX User’s Manual Configuring the EM-1240-LX
<ETHERNET_INTERFACE>: Ethernet card connected to ADSL modem, for example, eth0
<USER_NAME>: User account, for example, moxa@adsl.net
<USER_PASSWORD>: Password for user account
To check if PPPOE is successfully connected, use the command:
y
/>ifconfig ppp0
How to Mount a Remote NFS Server
Currently, the EM-1240-LX only supports NFS (Network File System) clients. Users can open
NFS service on a Linux PC to enable the EM-1240-LX to push data to it. The EM-1240-LX can
use NFS to mount a remote disk as a local disk for data or log purposes.
1. First, the NFS server must open an export directory and allow access to the IP address. Edit
the file “/etc/exports” on your Linux PC, and then run the NFS daemon. The following
example gives one possibility (refer to the NFS-HOWTO document at
http://nfs.sourceforge.net/nfs-howto/server.html
):
/home/usr 192.168.3.1 (rw,no_root_squash,no_all_squash)
2.
The EM-1240-LX must run the “portmap” utility. This program is enabled by default in the
“/etc/rc” file. Use the following command to mount the remote NFS server:
/>mount –t nfs <remote-ip>:<remote-export-directory> <local-directory>
Dynamic Driver Module Load/Unload
Besides supporting traditional static drivers, the EM-1240-LX also supports the dynamic driver
module load / unload mechanism. It allows users to load a special driver into the kernel to enable
hardware features for specific applications. To load / unload a dynamic driver module, use the
following commands.
Load module:
/>insmod <module-directory>/<module file name>
For example, to load the UART driver, type the following command:
/>insmod /lib/modules/2.6.9-MoXaRt/kernel/drivers/char/mxser.ko
Show module list:
/>lsmod
Unload module:
/>rmmod <module-name listed by lsmod command>
For example, to unload the UART driver, type the following command:
/>rmmod mxser
For the EM-1240-LX, the factory default is to load the UART driver mxser.ko. An additional
driver module for controlling the SD/MMC memory card is loaded for the EM-1240-LX. The
location and file name for these driver modules is given below.
UART:
/lib/modules/2.6.9-MoXaRt/kernel/drivers/char/mxser.ko
SD/MMC:
/lib/modules/2.6.9-MoXaRt/kernel/drivers/mmc/mmc_core.ko
/lib/modules/2.6.9-MoXaRt/kernel/drivers/mmc/mmc_block.ko
/lib/modules/2.6.9-MoXaRt/kernel/drivers/mmc/moxasd.ko
4-9

Содержание

Похожие устройства

Скачать