Set hostname.

Edward L. Barnes ebarnes at enigma2.cjb.net
Thu Aug 29 15:50:59 EDT 2002


Hi there, you could do something like echo your_hostname > 
/proc/sys/kernel/hostname and you should also add the name to 
/etc/sysconfig/network with HOSTNAME="yourhostname" and btw the quotes 
and case for the word hostname at the beginning I believe do matter. Hth 
and good luck.
On Thu, 29 Aug 2002, Mark Rew wrote:

> List,
> 
> Does anyone know how I can set the host name of a machine after RedHat 7.3
> linux has been installed?  The wrong host name was entered during the
> installation and I need to reset it to the FQDN, Fully Qualified Domain Name.
> I tried using:
> hostname host.domain.subnet.network
> 
> But, the next time I rebooted the machine the value I entered was lost.  The
> name is in the /etc/hosts file correctly.  But, the system is not finding the
> correct host name during boot up.
> 
> thanks
> Mark Rew
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 





More information about the Speakup mailing list