Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Host Name 1

Status
Not open for further replies.

E3p0

Technical User
May 31, 2001
65
US
What are the steps involved in changing the host name on a Sun solairs 8 system? Also is there a way to find out the processor speed and bios version without rebooting?
 
Hi,
If u just want to change it temporarily then type the command:
hostname <newname>
However if u want to change it permanently then replace old hostname with new one in /etc/hosts,etc/hostname.<interface>,/etc/nodename files.
After that reboot the system.
To see processor info type the command:
/usr/sbin/psrinfo -v
and to see bios version type the command:
/usr/platform/`uname -i`/sbin/prtdiag -v

I hope this helps......
 
One is giving me problems. I am not sure what is asked for where substitutions are needed. I was able to see my processor speed, and bios type. OK I wanted to change the host name perm. It is currently DDM so I would type: /etc/hosts,etc/hostname.hme0,/etc/DDM ? I am missing something on this one.
 
The files NavinB mentioned &quot;/etc/hosts&quot; &quot;/etc/hostname&quot; need to modified using an editor.
 
Hi,
Use the vi editor in all of the above said files and change the old names by new one.
eg
vi /etc/hosts
w.x.y.z newname loghost
similarly in /etc/hostname.hme0 and /etc/nodename.....
 
Thanks all! I hope to be as good as you all some day!
Thanks again. I had it changed in hosts, and hostname but not nodename.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top