User`s manual
UC-7400-LX Plus User’s Manual Managing Embedded Linux
3-5
Loading Factory Defaults
To load the system’s factory default settings, press the reset-to-default button for at least 5 seconds.
Doing so will destroy all of the files in the /home and /etc directories. While holding the button for
the first 5 seconds, the ready LED will blink once each second. After holding the button
continuously for more than 5 seconds, the ready LED will switch off, indicating that the factory
defaults have been loaded.
Backing Up the User File System
1. Create a backup file. First type the following command to enable the RAM disk:
#upramdisk
Next, use the file system backup utility provided by Moxa:
#backupuf /mnt/ramdisk/usrfs-backup
2. After backing up the file system, use FTP to transfer the file usrfs-backup to your PC.
192.168.3.127 - PuTTY
root@Moxa:~# upramdisk
root@Moxa:~# cd /mnt/ramdisk
root@Moxa:/# df –h
Filesystem Size Used Available Use% Mounted on
/dev/mtdblock2 14.0M 11.2M 2.8M 80% /
/dev/ram15 1.7M 18.0k 1.6M 1% /dev
/dev/ram0 499.0k 34.0k 440.0k 7% /var
/dev/mtdblock3 15.8M 2.6M 13.1M 17% /tmp
/dev/mtdblock3 15.8M 2.6M 13.1M 17% /home
/dev/mtdblock3 15.8M 2.6M 13.1M 17% /etc
/dev/ram1 38.7M 13.0k 36.7M 0% /mnt/ramdisk
root@Moxa:/mnt/ramdisk# backupuf /mnt/ramdisk/usrfs-backup
Sync the file system…
Now backup the user root file system. Please wait. . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Backup user root file system OK.
root@Moxa:/mnt/ramdisk#
Deploying the User File System to Additional UC-7400-LX Plus Units
For some applications, you may need to ghost one UC-7400-LX Plus user file system to other
UC-7400-LX Plus units. Back up the user file system to a PC (refer to the previous subsection,
“Backing Up the User File System,” for instructions), and then type the following commands to
copy the backup to additional UC-7400-LX Plus units.
#upramdisk
#cd /mnt/ramdisk
#upfirm usrfs-backup