Guest thomascon Posted July 21, 2009 Report Share Posted July 21, 2009 (edited) Is it possible to change the computer name from localhost to something else like "thomascon456" without hosing the working system? And if it is possible what files would need to be edited? I did not see this as an option while installing 2009.1. I tried search but could not find an answer. Thank you, thomascon [moved from Installing Mandriva by spinynorman] Edited July 22, 2009 by thomascon Quote Link to comment Share on other sites More sharing options...
CygnusX1 Posted July 22, 2009 Report Share Posted July 22, 2009 mcc/network and internet/set up a new network interface. it's on the 4th config page. i'm not sure the name of the config file. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted July 22, 2009 Report Share Posted July 22, 2009 If you want to edit the config file, it's /etc/sysconfig/network and in here you should have a HOSTNAME= entry which you can change from localhost to whatever you want. Also, make sure you edit /etc/hosts and put on the 127.0.0.1 line the new hostname, but don't delete localhost or localhost.localdomain as these are required in /etc/hosts. Quote Link to comment Share on other sites More sharing options...
Guest thomascon Posted July 22, 2009 Report Share Posted July 22, 2009 Thank you, that was the info I needed. thomascon If you want to edit the config file, it's /etc/sysconfig/network and in here you should have a HOSTNAME= entry which you can change from localhost to whatever you want. Also, make sure you edit /etc/hosts and put on the 127.0.0.1 line the new hostname, but don't delete localhost or localhost.localdomain as these are required in /etc/hosts. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.