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

relling1 at 2007-7-5 19:38:34 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
Excellent that did the trick. They fixed quite a fewt things and I am glad to see they no longer ignore the nodename file when dhcp is in use.NOw if I can fix some of these remote permission issues.
bogleric at 2007-7-5 19:38:34 > top of Java-index,Solaris Operating System,Solaris 10 Features...