Cisco Headend System Release 2.7
Add an EAS Variable to the .profile File
4019303 Rev C
37
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 grep -i LOCAL_EAS_IP /export/home/dncs/.profile and then press Enter.
1 If necessary, open an xterm window on the DNCS.
2 Type grep -i LOCAL_EAS_IP /export/home/dncs/.profile and then press Enter.
The system searches for LOCAL_EAS_IP in the /export/home/dncs/.profile
file.
Note: Be sure to type a space between grep –i LOCAL_EAS_IP and
/export/home/dncs/.profile.
file.
Note: Be sure to type a space between grep –i LOCAL_EAS_IP and
/export/home/dncs/.profile.
3 Do the results from step 2 reveal that there is already an entry for
LOCAL_EAS_IP in the /export/home/dncs/.profile?
If yes, go to Enable Optional and Licensed Features (on page 39).
If no, go to step 4.
4 Type cat /etc/hosts | grep dncseth and then press Enter. The system displays
the value of the dncseth variable in the /etc/hosts file.
5 Type cat /etc/hosts | grep eac and then press Enter. The system displays the
value of the eac variable in the /etc/hosts file.
6 Evaluate the results from steps 4 and 5 to determine whether the eac is on the
same network as the DNCS or if it is on a different network. Refer to the
following example for guidance in making this determination:
Same Network
following example for guidance in making this determination:
Same Network
Different Network
dncseth=192.168.2.1
dncseth=192.168.2.1
eac=192.168.1.5
eac=192.168.4.5
Note: When the DNCS and the eac are on the same network, the first three octets
of the IP address are identical. They are on different networks when the first
three octets of the IP address are different.
of the IP address are identical. They are on different networks when the first
three octets of the IP address are different.
7 Are the DNCS and the eac on the same network?
If yes, go to step 8.
If no (they are on different networks), go to step 10.