Command line interface, Introduction, Linux commands – Digi CM User Manual

Page 117: Chapter 16 command line interface, Introduction linux commands

Advertising
background image

Command Line Interface

Chapter 15

117

Introduction

The Digi CM runs the embedded Hard Hat Linux operating system. The
command line interface for configuration purposes is accessible only by the
root user. The system administrator has read only privileges from the
command line. By default the root user is connected to the CLI (command line
interface) when accessing the Digi CM through Telnet or SSH. To gain access
to the command prompt, the root user uses the username root and the root
password. The default root password is dbps.

This chapter includes the Linux commands available on the embedded Linux
operating system and the location of files useful to the root user for
administrative purposes.

Note:

The root user should be aware that deleting or corrupting files may prevent the
Digi CM from booting properly. Before editing any files, be sure to back up your
configuration files.

Linux Commands

The purpose of this section is to list the various Linux commands available on
the Digi CM. This is simply a listing of commands and does not detail what the
commands do or give their particular parameters. If you need more
information, see the man pages on a Linux system.

Two commands that are very important for saving and applying changes to the
configuration files are:

saveconf

: The saveconf command saves the configuration files to

flash memory.

applyconf

: The applyconf command immediately applies the

configuration changes.

The configuration files are located in /tmp/cnf directory.

Two system utility menus that are important for accessing and configuring the
Digi CM and the serial ports are the

portaccessmenu

and

configmenu.

portaccessmenu

: This menu allows the user to access the serial

ports on a Digi CM.

configmenu

: This menu enables the system administrator to configure

the Digi CM. It has essentially the same functionality as the web
interface for configuring a unit with the exception of the ability to create
custom menus.

portreset #

: This command allows the user to reset a specific port. It

restarts all processes associated with the port.

Chapter 15

C o m m a n d L i n e I n t e r f a c e

Advertising