Click to See Complete Forum and Search --> : A question about the name of my PC on a network


rendy
11-04-2002, 06:37 PM
Hi,

i would like to know if it's "risky" to change the network name of my PC now that my Linux is already installed :confused:??? Or do you think it's better to "redo" an installation :confused:??
I would like to change from cb.iceland to tux.iceland, what do you think :confused:?? Do you think there might be problems?? What must I do exactly to be sure to not have any problems??
Thanks a lot for your help :D.
Bye, and see you later.

cowanrl
11-04-2002, 07:55 PM
There is no reason to do a re-install just to change your hostname.
There are several ways to change it. Depending on which distro you have, there may be a GUI tool you can use.
With no GUI tool, you may be able to use one of the following:

- the HOSTNAME= line in the /etc/sysconfig/network file
- put the hostname in the /etc/hostname file. All the file contains is just the hostname.

The real key is to be sure your computer can resolve it's hostname to it's IP address. If you have a DNS server on your network, be sure you update it before you restart your Linux machine after you change the hostname.
If you don't have a DNS server, then be sure you have an entry in your /etc/hosts file for your hostname and IP address. Make this change before you reboot after changing the hostname.