1. The minimal (mandatory) setting for /etc/hosts is:
127.0.0.1 localhost.localdomain localhost
More can be added but it must at least be as above because this is one way that your computer finds other computers. This setting enables the system to find itself. Thus, if you change or delete it, you got trouble.


2.
[EMAIL PROTECTED] root]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=dude.mcgnarly.net
DOMAINNAME=dude.mcgnarly.net
GATEWAYDEV=eth0
FORWARD_IPV4=true

Change the 'HOSTNAME=' value to "buddy".

3. At this point you can either restart or as root you can use the hostname command as below:

hostname buddy

4. Note that sometimes logging onto an Interent Service Provider can cause your hostname to change regardless depending on how they have things set up.


David McGlone wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How do I change my hostname from localhost.localdomain to Buddy?

I changed /etc/hosts, and hostmdkgiorig, and it was still localhost.localdomain

Thanks
- -- David M.
Edification Web Solutions
http://www.edificationweb.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)


iD8DBQE+XZdUAulWMV3BRjARAuegAKCKPos7fhrvcPoDaywyiJ4sUQ/vHwCgj6M4
NXDGjZ2j7uKwU/NyUoeeOME=
=vXQE
-----END PGP SIGNATURE-----




------------------------------------------------------------------------


Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to