User`s manual
UC-8410/8416/8418-LX User’s Manual Managing Embedded Linux
3-12
STEP2: Change mode of fixtime.sh
#chmod 755 fixtime.sh
STEP3: Modify /etc/cron.d/crontab file to run fixtime.sh at 8:00 every day.
Add the following line to the end of crontab:
* 8 * * * root /home/fixtime.sh
STEP4: Enable the cron daemon manually.
#/etc/init.d/cron start
STEP5: Enable cron when the system boots up.
Add the following line in the file /etc/init.d/rc.local
#/etc/init.d/cron start
Connecting Peripherals
USB Mass Storage
The UC-8410/8416/8418 supports PNP (plug-n-play), and hot pluggability for connecting USB
mass storage devices. The UC-8410/8416/8418 has a built-in auto mount utility that eases the
mount procedure. The connected USB mass storage device will be mounted automatically. You
can check the location of the USB disk by mount command. The UC-8410/8416/8418 will be
un-mounted automatically with umount when the device is disconnected.
ATTENTION
Remember to type the
#sync
command before you disconnect the USB mass storage device. If
you don’t issue the command, you may lose some data.
Remember to exit the mount directory when you disconnect the USB mass storage device. If you
stay in mount directory, the auto un-mount process will fail. If that happens, type #umount
mount directory to un-mount the USB device manually. For example, type #umount /mnt/sdc.
The UC-8410/8416/8418 only supports certain types of flash disk USB Mass Storage devices.
Some USB flash disks and hard disks may not be compatible with the UC-8410/8416/8418.
Check compatibility issues before you purchase a USB device to connect to the
UC-8410/8416/8418.
CF Mass Storage
The UC-8410/8416/8418 Embedded Computer does not support CompactFlash hot swap and PnP
(Plug and Play) function. It is necessary to remove power source first before inserting or removing
the CompactFlash card.The UC-8410/8416/8418 CF card doesn’t support PNP. This means that
user need to mount the CF card manually after inserting the CF mass storage.
You can mount the CF card manually with the command below:
Moxa: ~# mkdir /home/sda
Moxa: ~# mount -t ext2 /dev/sda1 /home/sda
You should umount the CF mass storage before you remove the CF card.
Moxa: ~# umount /home/sda