Moxa V2406-T-LX [21/81] Attention

Moxa V2422-XPE [21/81] Attention
V2406/2422/2426 Linux User’s Manual Software Configuration
2-14
ATTENTION
Remember to type the command
# sync before you disconnect the USB storage device. If you do not issue the
command, you may lose data.
ATTENTION
Remember to exit the /media/usb0 or /media/usb1 directory when you disconnect the USB storage device. If
you stay in /media/usb0 or /media/usb1, the automatic un-mount process will fail. If that happens, type #
umount /media/usb0 to un-mount the USB device manually.
Inserting a Compact Flash Card
The V2406/2422/2426 computers come with a CompactFlash slot for adding additional storage space.
However, since the computers do not support the plug-and-play function, you must shut down the computers
first before inserting the CF card.
After rebooting, the CF card will automatically mount at /media/cfn (n is the number of partitions). The udev
rule in /etc/udev/rules.d/96-moxa.rules is supported.
# CF automount for v242x
KERNEL==“sd*[1-9]” KERNELS==“1:0:1:0”, RUN+=“/bin/mount /dev/%k /media/cf%n”
ATTENTION
If you do not want to mount the CF card automatically, just comment out the the rule in the file
/etc/udev/rules.d/96-moxa.rules.
Checking the Linux Version
The program uname, which stands for Unix Nameand is part of the Unix operating system, prints the name,
version, and other details about the operating system running on the computer. Use the -a option to generate
a response similar to the one shown below:
MOXA:~# uname -a
Linux Moxa 2.6.30-bpo.2-686 #1 SMP Fri Dec 11 18:12:58 UTC 2009 i686 GNU/Linux
MOXA:~#
APTInstalling and Removing Packages
APT is the Debian tool used to install and remove packages. Before installing a package, you need to configure
the apt source file, /etc/apt/sources.list, which is located in the read-only partition.
1. Mount the root file system with write permission.
MOXA:~# mount -o remount,rw
2. Next, use vi editor to configure /etc/apt/sources.list.
MOXA:~# vi /etc/apt/sources.list
#

Содержание

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

Скачать