Results 1 to 2 of 2
Hi,
I am using FC7. When i restart my machine's network connection, it is showing hostname different than as mentioned in /etc/sysconfig/network and /etc/hosts. What could be possible problem. For ...
- 01-21-2009 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 2
hostname displaying different than in /etc/sysconfig/network
Hi,
I am using FC7. When i restart my machine's network connection, it is showing hostname different than as mentioned in /etc/sysconfig/network and /etc/hosts. What could be possible problem. For temporary i am running `hostname <real hostname>`, after restarting the network. But what can i do to fix it permanently. Here is some file contents related to hostname:
cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain
cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
I tried to find out from where the different hostname is coming from, but did get any success.
Regards,
Shambhu.
- 01-21-2009 #2
What is in the contents of /etc/hostname?


Reply With Quote