We are running SunOS 5.4 (without NIS(+)) on a SparcStation and I want to
change the hostname and IP address. I have the following /etc/hosts file
#
# Internet host table
#
127.0.0.1 localhost
137.224.129.3 vespers loghost # The current name
137.224.129.5 noon # The new name
When I change the content of /etc/hostname.le0 and /etc/nodename to
reflect the new name and reboot, the system comes up as 'noon'. A grep
shows that the files /etc/net/../hosts still contain the old name. Do
these files need to be updated? Are there any more arrangements to be
made in order to make the name transition complete? (note that we don't
run NIS or NIS+)
Thanks in advance,
Peter
Wageningen Agricultural University Fax: (-)(31)8370-83777
Dpt. of Physical and Colloid Chemistry Voice: (-)(31)8370-84962
Dreijenplein 6 Zip code: 6703 HB
Wageningen, The Netherlands