The UNKNOWN hostname problem...
807557Feb 8 2005 — edited Mar 25 2006I have just installed Solaris 10 today, and no matter what I do, I can't get the hostname to be anything other than UNKNOWN.
Here's a little about the setup (in the hope that it will help isolate the problem):
When installed, DHCP was chosen. I use a SmoothWall firewall which is also my DHCP server. No DNS/NIS etc was specified. The machine (an Ultra30) connects to SmoothWall via a Netgear switch. At present there are no other devices on the network and I am getting the IP 192.168.0.197. Everything works OK, but I need to set a hostname.
I have set the following values in these files:
/etc/hostname.hme0:
inet system3cs
/etc/hosts:
192.168.0.197 system3cs #Manually Configured Address
/etc/default/dhcpagent:
inet system3cs
also tried both {
REQUEST_HOSTNAME=yes
} and {
REQUEST_HOSTNAME=no
}
as well as putting a # in front of it
Any further ideas guys? I'm seeing a lot of simillar fixes for Solaris 8 & 9 but I gather they don't work?