A simialr question Host name on terminal changes when I connect internet : why? But since it was not resolved in my case so I am putting it here and asking in a different way.
The answer given here by chaos did not help me as I could not find the file mentioned in RHEL 6.0 64 bit
The content of the file:
DEVICE="eth0" HWADDR=70:54:D2:22:FA:A6 NM_CONTROLLED="yes" ONBOOT="no"
. I can see there is no
DHCP_HOSTNAME. But Still I am seeing a strange issue here. And the issue is that when I am not connected to internet:
But when I connect to internet:
Why it is happening?