DHCP Console Name
Previously in Solaris 9 when using DHCP with a MS DHCP server I could modify /etc/init.d/network to make the system show it's hostname instead of unkown. This file is missing with Solaris 10 and my console name is unknown.
The proper system name is registering with the DHCP server and DNS.
How can I fix SOlaris 10 so my console name is not "unknown"?
Thanks,
[393 byte] By [
bogleric] at [2007-11-26 0:42:42]

# 1
argv! One of the irritating things about most default UNIX and
UNIX-like OSes is that they retain the ancient notion that the
nodename is the same as the hostname. As you can see,
this doesn't work well in the world of DHCP.
/etc/nodename contains the default system nodename.
This may or may not have anything to do with any hostname.
A hostname may be assigned by DHCP, or not, depending
on the DHCP server's configuration.
What I do, and what is standard on Macs while optional on
Solaris, is to pick my very own nodename. I also add the
nodename as an alias to the loopback address (127.0.0.1)
in /etc/hosts. I also make sure that the DHCP client flags
are not set to change the nodename based on any
hostname recieved from anywhere. This should be the
default on Solaris, but may not be on various other distros.
Life will be much happier for you.
-- richard