Re: How to make hostname survive boot

John Rye <[email protected]> Sun, 18 Apr 2010 03:15:03 +1200
Newsgroups gmane.linux.mandrake.newbie
Message-ID <[email protected]>
On Sat, 17 Apr 2010 14:55:33 +0100
Len Lawrence wrote:

> The brain is beginning to congeal.  My Dell XPS 710 has just given up 
> the host so over to the laptop.  In the past I have successfully changed 
> the hostname such that it survived a reboot.  Cannot remember the 
> prescription.  Ran "hostname canopus" as root and aliased localhost to 
> canopus in the /etc/hosts file.
> 

edit /etc/sysconfig/network to include the full hostname

it should look something like this:

[lists@amd64: sysconfig]$ cat network
NETWORKING=yes
HOSTNAME=amd64.localhost.localdomain
[lists@amd64: sysconfig]$


John NZ
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________