ADC Release 3.1 User Manual

Page 78

Advertising
background image

1152700

Issue 1

February 2001

Section 2 Operations and Maintenance

Page 2-58
© 2000, ADC Telecommunications, Inc.

DLP-702

Page 3 of 5

7. The last two text lines must be removed from the /etc/hosts file. This step has already been

performed before NMIC shipment. If this is the first time the IP address is being changed,
skip this entire step and proceed to step 8. If the IP address has been changed previously,
continue with the following steps.

a. On the NMIC, type “cd /etc” to go to the etc directory.

b. Make a copy of the hosts file for backup by typing “cp hosts hosts.backup”.

c. Type in “export TERM=vt100”.

d. Using the vi editor on the NMIC edit the hosts file. To activate the vi editor

with this file type “vi hosts”.

e. In the editor, go to the bottom of the file by holding down the shift key and

typing g (shift+g).

f. The last two text lines of this file must be deleted. The keyword to look for is

“EactiveNMIC” in the last line. The two lines will look similar to the
following:

155.226.39.28 WS03928

155.226.39.27 EactiveNmic

g. To delete these last two lines, and type “2dd”.

h. Save the file by typing “:x” in the editor followed by an enter.

8. Type “cd /sbin” to go to the sbin directory.

Note: : The user should make a backup of the /etc/hosts if not already done.

9. Type “./cw_netcfg” to execute the cw_netcfg script. This script will prompt the user to

enter various IP addresses and IP masks to be changed as defined in Table 702-3.

Note: DO NOT USE THE BACKSPACE KEY TO EDIT ON THE COMMAND LINE
WHEN ENTERING INFORMATION. Doing so may insert non-printable characters in
the IP addresses being entered resulting in a bad configuration. Use the Ctrl+C exit out
and restart to correct mistakes.

Advertising