Re: How to make hostname survive boot
Len Lawrence <lcl-s9phx+4gxdMG2Il/[email protected]> Sat, 17 Apr 2010 23:19:49 +0100
| Newsgroups | gmane.linux.mandrake.newbie |
|---|---|
| Message-ID | <[email protected]> |
John Rye wrote: > 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 > Should have been "given up the ghost". Yep, that did the trick. Thanks John. ____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________