Changing Host name help please

Erich Carlson computerperceptions at coxinet.net
Thu Aug 10 02:13:57 UTC 2006


> > 
> Part of the problem is that there are 2 different ways to look up
> machine names. The machine has its DNS name (hostname). This is tied
> to an IP address. The /etc/hosts file on Linux and the
> \WINDOWS\system32\drivers\hosts file under Windows let you set up
> static hostname/IP mapping. This is the name used by things like web
> browsers. It is also used if you use UNIX print services under
> Windows. You would put the hostname you want to use for your Linux
> box in the hosts file on the Windows machine, along with its IP
> address. (This requires that your Linux machine have a fixed IP
> address.) You would normally use the same hostname as you have set
> on the Linux machine... For example, if your Linux machine is called
> server.localnet, and has an IP address of 192.168.1.5, you would
> have an entry like this:

the winxp hosts file is in c:\windows\system32\drivers\etc\

the following entries should be put at the end of the file

127.0.0.1	localhost
192.168.1.5	server

the 192.168.1.5 is i assume the local ip address of your linux box

erich
	





More information about the fedora-list mailing list