Renaming HOSTNAME on newly installed Solaris 10

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

[1212 byte] By [JoeRubio] at [2007-11-26 9:34:31]
# 1

I had the exact same problem and was able to fix it by looking at these postings. Check them out and if you have any questions, just let me know and I'll try to answer what I can.

On this link pay special attention to what willybob71 says. His information really helped me out a lot:

http://forum.sun.com/jive/thread.jspa?threadID=68789&tstart=135

Some example files you can take a look at:

http://www.styma.org/SunAtHome/ConnectingToYourHomeNetwork.html

Notes on networking:

http://solaris-x86.org/documents/tutorials/network.mhtml

BTW, I have a router that I'm using so if you don't use one, some of these things may not apply to your situation...anyways, hope these links help.

Good Luck

gordo209 at 2007-7-7 0:23:49 > top of Java-index,General,Network Configurations...
# 2
It is often easier to run sys-unconfig.
swilson at 2007-7-7 0:23:49 > top of Java-index,General,Network Configurations...
# 3
This really help. I got my system working. Thanks a whole bunch.Regards,JoeRubio
JoeRubio at 2007-7-7 0:23:49 > top of Java-index,General,Network Configurations...