Jump to content

hostname prob


T1TAN
 Share

Recommended Posts

Guest Mandrake_Mouse

What are you doing to change the hostname? If you're using the "hostname <newname>" command, this will only change the hostname temporarily. You need to edit the /etc/sysconfig/network file, put the new name in the "HOSTNAME" field, and reboot. This should make the change stick for you. Remember that lots of services and such in Linux use the hostname to resolve dependencies, so some apps (in my case Gnome apps) may take a while to start the first time you use them after changing the hostname.

Link to comment
Share on other sites

There are (usually) two networks ip's on any machine - your main network one and 127.0.0.1 - which is usually mapped to localhost

 

So if I say:

 

ping localhost

or

 ping myHostname

 

The I am actually pinging the same machine - make sure that the hostname is not set, as it may be set to what you want and be localhost

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...