Rename HOSTNAME after initial Install

Hello All,

I come from a linux environment and want to learn Solaris. So far the knowledge that I know from linux is not working for renaming the hostname of my newly installed Solaris system. I'm read (and reread) the Systems Administration Advanced doc from Sun and followed everything there was about renaming the hostname.

The problem is that, even though I've followed these instructions to the letter, the name keeps comming up as 'unknown' at the login screen (and at boot-up).

Question:

Is there a way to change the hostname so that it appears correctly at the login screen (and boot-up)? If so, how is this done manually and/or throught the GUI.

NOTE: My system is configured to be a DHCP client and to use DNS.

What I've done so far:

* I've checked the /etc/nodename, but I don't have one. (I didn't create one either)

* Added hostname to:

* /etc/hostname.bge0 (*.bge0 is name of my interface)

* /etc/inet/hosts

* /etc/inet/ipnodes

* Also checked /etc/hosts (same as /etc/inet/hosts)

* Rename /var/crash/unkown to /var/crash/[new-host-name]

Any insight will be appreciated.

Thanks,

JoeRubio

[1211 byte] By [JoeRubio] at [2007-11-26 9:34:41]
# 1
What OS are you using?During installation, the hostname should be placed in /etc/nodename. Go ahead and populate that file now. That should be the only thing required for Solaris 10. Previous versions may requires some other bits.-- Darren
Darren_Dunham at 2007-7-7 0:24:15 > top of Java-index,General,Installation...
# 2
I got my system working. thanks for the input.
JoeRubio at 2007-7-7 0:24:15 > top of Java-index,General,Installation...
# 3

Of course, the Canonical method is to run sys-unconfig to remove your networking and hostame issue, then restart. On boot, sysidtool will run, and it will re-ask the system configuration questions you answered at install, then configure your system appropriately.

man sysidtool will show you all the files reworked by this command.

Message was edited by:

jrocchi

jrocchi at 2007-7-7 0:24:15 > top of Java-index,General,Installation...