Command line interface Important file locations
Digi CM User Guide 148
Important file locations
The Digi CM unit has several files that are important for administrative use. Below is a brief listing of
some files that the root user or system administrator might desire to either monitor or edit.
Default script
The default script file is executed whenever the Digi CM unit is booted. The file is /usr2/rc.user and
can be modified with the vi editor. The modified script becomes effective when the system is
rebooted.
Booting sequence
When the Digi CM unit boots, it decompresses the /cnf/cnf.tar.gz file to /tmp/cnf/* and unmounts
the /cnf file. If the configuration files are modified in the /tmp/cnf file and the configuration is saved
to flash (saveconf), the unit mounts the /cnf file and compresses the /tmp/cnf/* to /cnf/cnf.tar.gz.
Config files
All config files are in /tmp/cnf and /tmp/cnf subdirectories. The following table lists the filenames
and a brief description.
vi tail mkdosfs mke2fs e2fsck
fsck mount umount scp
System utilities
date free hostname sleep stty
uname reset insmod rmmod lsmod
modprobe kill killall ps half
shutdown poweroff reboot telnet init
useradd userdel usermod whoami who
id su
Network utilities
ifconfig iptables route telnet ftp
ssh ping
File and disk utilities
File name Description
active_detect Active auto detection of serial devices
chap-secrets Chap authentication information when using “PPPoE”