hostname

During installation of OS 10 on my Sun Ultra 10, I noticed that I was never prompted to enter in the hostname of the machine, which obviously set hostname to "unknown". I later learned that this is from my selection of using DHCP to obtain and IP address from my ISP for internet access.

From various information on these forums that I've gleaned, I can:

1) create a hostname in the /etc/nodename file

2) edit the /etc/default/dhcpagent file and remove "12" from the PARAM_REQUEST_LIST variable

Is this the prefered method to rename the host after installation, or should I be doing something different?

Thanks.

[652 byte] By [SIGcurious] at [2007-11-26 10:07:57]
# 1
hmm, thats how i do it.this is probably not one of my more helpful posts :) 7/M.
mAbrante at 2007-7-7 1:49:00 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
I am having the same issue. It appears that the hostname is resolving based on those instructions but now sendmail keeps coming up saying "unable to qualify my own domain name". I don't use send mail is there a way to either disable it or stop this error message?Thanks
sjames at 2007-7-7 1:49:01 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
Hello,Under Solaris 10 type following command as root:svcadm disable sendmail <enter>regards
jsuche at 2007-7-7 1:49:01 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...