On Sunday 29 August 2004 09:23, Harald T ZIPKO wrote: > >> I am still not happy with my mdk-boxes for they sometimes chnange their > >> hostnames provided during install process to something like '172' or > >> similar (=eg that's just the beginning of the internal LAN adresses > >> when the nic gets network information via dhcp). > >> > >> No matter how I change /etc/hosts, the host names _do_ change due to > >> whatever reason - I can't figure this out... > > > > Look in /etc/sysconfig/network-scripts/ifcfg-eth0 (or whatever) > > remove the line > > NEEDHOSTNAME > > There's no entry like this :-(, strange... > > > When you defined the interface there was a check box asking if you > > wanted to get the hostname from the DHCP server. > > I am using _static_ network settings - so the box should not get it's > hostname from a dhcp server? > -- > > (o> Best regards > //\ Harald T ZIPKO
/etc/hosts defines names by which computers in the network may be identified. Putting an entry in /etc/hosts does not set the hostname. What do you have in /etc/sysconfig/network ? That is where the hostname is defined. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________