-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03-Jul-2002/15:43 -0400, "Chris Harris (CW)" <[EMAIL PROTECTED]> wrote: >Can somebody point in the right direction to configure the hostname for >my laptop workstation installation.
Edit /etc/hosts and assign the real hostname to the real IP address, if you have a fixed IP on the machine. If the IP is dynamic, then put the real hostname on the same line as localhost. # My /etc/hosts file, for dynamic IP 127.0.0.1 localhost.localdomain localhost linuxbox.localdomain linuxbox # My /etc/hosts file, for static IP 127.0.0.1 localhost.localdomain localhost 192.168.0.1 linuxbox.localdomain linuxbox Then run the 'hostname' command to set the hostname and edit /etc/sysconfig/network to set the hostname so that it will be preserved through network restarts. Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D iD8DBQE9I2uWpCpg3WyUI50RAkOoAJoDbX5ilhu4Ni9NaFbKOGBC+QvXSQCeIcfW cMWrIIqs7HNn3zr4YsI8QXQ= =HHCR -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list