User guide

Chapter 2 - Installation, Configuration, Usage
54 BLACK BOX ® Advanced Console Server
Task 3: Modify the System Files
When the BLACK BOX ® Advanced Console Server finishes booting, a prompt will appear (a
flashing underline cursor) in your HyperTerminal window. You will modify the following
Linux files to let the BLACK BOX ® Advanced Console Server know about its local environ-
ment:
/etc/hostname
/etc/hosts
/etc/resolv.conf
/etc/network/st_routes
The Linux files must be modified to identify the BLACK BOX ® Advanced Console Server and
other devices it will be communicating with. The operating system provides the vi editor,
which is described in Appendix A - New User Background Information
for the uninitiated.
The BLACK BOX ® Advanced Console Server runs Linux, a UNIX-like operating system, and
those not familiar with it will want to refer to Appendix A.
Step 1: Type root and press Enter.
Step 2: At the password prompt, type tslinux.
Press Enter.
Step 3: Modify /etc/hostname.
In HyperTerminal, type vi /etc/hostname (without the quotes) and press Enter.
Arrow over the existing text in the file, type r (for replace) and type the first
number of the model of your BLACK BOX ® Advanced Console Server. (Or, you can
replace the default naming convention with anything youd like for your hostname.)
When finished, press the Esc key, (to return to command mode), then type :
(colon), and then wq and press Enter. This will save the file. (The only entry in this
file should be the hostname of the BLACK BOX ® Advanced Console Server.) An
example is shown in the following figure. (The HyperTerminal screen is shown in
this first example for clarity, however, for the other Linux files we will modify, only
the command line text will be shown.)