On Thu, 2003-02-27 at 19:04, David McGlone wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thursday 27 February 2003 01:08 pm, Jim C wrote: > > 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". > > Here's mine: > [EMAIL PROTECTED] dmcglone]$ cat /etc/sysconfig/network > HOSTNAME=Buddy > NETWORKING=yes > FORWARD_IPV4=false > > Also see: > [EMAIL PROTECTED] dmcglone]$ cat /etc/hosts > 127.0.0.1 localhost eweb.central > > I never had a problem setting my hostname with Red Hat, but since I switched > to Mandrake, some things are just so different. > > With Red Hat, the hostname was set in /etc/hostname > > on mandrake as I've learned is in /etc/sysconfig/network. > > Thats why I had to ask. : - )
Actually it is in /etc/hostname.... /etc/sysconfig/network holds it over a reboot. RH has this also... but it may not utilize it the same way. James
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com