Cisco Headend System Release 2.7 Installation Guide
Chapter 3 System Release 4.0 SP2 Installation Procedures
52
4013154 Rev C
Add an EAS Variable to the .profile File
Introduction
In order to make the EAS work properly, you need to add the LOCAL_EAS_IP
variable to the .profile file. This procedure describes how to add the LOCAL_EAS_IP
variable.
variable to the .profile file. This procedure describes how to add the LOCAL_EAS_IP
variable.
Adding an EAS Variable to the .profile File
Complete the following steps to add the LOCAL_EAS_IP variable to the .profile file.
1 If necessary, open an xterm window on the DNCS.
2 Type cat /etc/hosts | grep dncseth and then press Enter. The system displays
1 If necessary, open an xterm window on the DNCS.
2 Type cat /etc/hosts | grep dncseth and then press Enter. The system displays
the value of the dncseth variable in the /etc/hosts file.
3 In the space provided, record the IP address associated with dncseth.
______________
Note: This IP address represents the Ethernet address of the DNCS, which you
will need in step 8.
Note: This IP address represents the Ethernet address of the DNCS, which you
will need in step 8.
4 Type grep -i LOCAL_EAS_IP /export/home/dncs/.profile and then press Enter
and you will search the /export/home/dncs/.profile file.
Note: Type a space between grep -i LOCAL_EAS_IP
and/export/home/dncs/.profile.
Note: Type a space between grep -i LOCAL_EAS_IP
and/export/home/dncs/.profile.
5 Verify if the entry LOCAL_EAS_IP is in the file and go to step 6.
6 Does the entry contain the IP address of the dncseth entry in the /etc/hosts file?
6 Does the entry contain the IP address of the dncseth entry in the /etc/hosts file?
If yes, go to Enable Optional and Licensed Features (on page 53).
If no, go to step 7.
7 Type vi .profile and then press Enter. The .profile file opens for editing using
the Unix vi text editor.
8 Append the following line to the .profile file:
export LOCAL_EAS_IP=[Ethernet address of the DNCS]
Note: Substitute the Ethernet address of the DNCS for [Ethernet address of the
DNCS] that you recorded in step 3.
Note: Substitute the Ethernet address of the DNCS for [Ethernet address of the
DNCS] that you recorded in step 3.
9 Save the file and close the vi text editor.
Note: Your changes to the .profile will take effect when you restart the system
components in the next procedure.
components in the next procedure.
10 Go to Enable Optional and Licensed Features (on page 53).