[ILUG] Mandrake 8.0 (Cooker) CDs

Cormac McClean cmcclean at ait.ie
Wed Mar 7 16:22:12 GMT 2001


> has anyone else found that hostname doesnt set correctly in 7.0 / 7.1 
> either ?? I can't get it to work anyway ...
> 
> typing: "hostname thallophytic" sets it while the machine is running...
> but once i reboot it reverts back to localhost.localdomain
> 
> i manually editted /etc/hostname and /etc/hosts also but got the same 
> result ...

As far as I know, the hostname is stored in
	/etc/sysconfig/network
with a setting such as
	HOSTNAME=thallophytic

Setting it on the command line will only change it for that session
- when it reboots, it will read the hostname from the above
file.

Regards,
Cormac.




More information about the ILUG mailing list